[Leaplist] "SWAP" --- " RHEL Logical Volume Management System"
Mark W. Alexander
slash at dotnetslash.net
Sat May 10 19:39:11 EDT 2008
On Fri, May 09, 2008 at 05:39:07PM -0400, John Simpson wrote:
[snip]
> for that matter, you can even create a file and use that as swap
> space, although it's not as fast as devoting a partition to it.
I'm pleased to report that with the 2.6 kernel that is no longer the case
(http://lkml.org/lkml/2005/6/29/11). Swap partitions and files have the same
reliability and performance _unless_ the swapfile is badly fragmented. We've
had great success adding swapfiles to systems that have grown memory tight in
thier old age. It beats the crap out of taking an outage to re-partition.
OTOH, I just repartitioned my laptop to extend the swap partition because I
added memory and could no longer hibernate because swap was to small to hold it
all. At today's drive prices and power costs, it's worth having a large enough
swap partition for anything that can hibernate and wake faster than it can
boot.
mwa
--
Mark W. Alexander
slash at dotnetslash.net
The contents of this message authored by Mark W. Alexander are released under
the Creative Commons Attribution-NonCommercial license. Copyright of quoted
materials, if any, are retained by the original author(s).
http://creativecommons.org/licenses/by-nc/2.0/
More information about the Leaplist
mailing list