[svlug] recommended percentage swap on 400G drive

Daniel Gimpelevich daniel at gimpelevich.san-francisco.ca.us
Wed Jan 2 08:06:05 PST 2008


On Wed, 02 Jan 2008 02:47:42 -0800, Rick Moen wrote:

> Quoting Don Marti (dmarti at zgp.org):
> 
>> FHS doesn't seem to list a recommended location for
>> swap files.  Somewhere in /var?
> 
> I think you could make a plausible argument for /var/lib/misc or
> /var/run .  (The latter is mostly PID files, but the description of
> "system information data describing the system since it was booted" that
> "must be cleared (removed or truncated as appropriate) at the beginning
> of the boot process" matches what swapfiles are.)

On OS X:
:r!ls -lh /var/vm

total 4.0G
drwx--x--x 12 root wheel  408 Oct 24 14:47 app_profile
-rw------T  1 root wheel  64M Oct 24 14:47 swapfile0
-rw------T  1 root wheel  64M Oct 24 14:55 swapfile1
-rw------T  1 root wheel 128M Oct 24 14:59 swapfile2
-rw------T  1 root wheel 256M Oct 24 15:00 swapfile3
-rw------T  1 root wheel 512M Oct 24 22:49 swapfile4
-rw------T  1 root wheel 1.0G Nov 16 15:20 swapfile5
-rw------T  1 root wheel 1.0G Dec 21 17:33 swapfile6
-rw------T  1 root wheel 1.0G Jan  1 19:36 swapfile7






More information about the svlug mailing list