[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where do you put your swap partition?



On 2008-01-23T15:17:29-0500, Mike Kuhar wrote:
> Most things stated in this chain are true.  But a couple notes.  First, a
> swap partition is not the same as a normal partition, i.e. ext2 or ext2.
> That is, in Window's speak, it's not formatted.  Process chunks that are
> swapped in and out of swap does not go through the filesystem manager.  The
> kernel directly manages that space.  It treats that disk space as a raw
> disk.  Much faster than going through the read/writes to a normal file.  You
> can create a swap file, but that's much slower than swap space, because it
> has to go through the file system.

These two threads do not suggest there is any significant performance 
difference between swap file and swap partitions:
http://lkml.org/lkml/2005/6/28/427
http://groups.google.com/group/cwelug/browse_thread/thread/c7d44b3d414f7da2


/Allan

Attachment: signature.asc
Description: Digital signature


Reply to: