Walt Mankowski on 19 Dec 2007 18:02:22 -0800


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

Re: [PLUG] Pros and cons of swap in a partition vs. in a file in the file system


On Thu, Dec 20, 2007 at 01:20:28AM +0000, Stephen Gran wrote:
> The hit at this point is (almost) a pointer dereference per abstraction
> layer, so very minimal.  That being said, Walt's point about scattering
> of a file over the disk vs. ordered layout for a partition is accurate -
> you can't do all that much to optimize scattered data.

And Matthew's point is also accurate -- once you start swapping,
things are generally so much slower than normal that you're not likely
to notice much difference between swap files and swap partitions.

Walt

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug