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

Re: Where do you put your swap partition?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/22/08 19:08, David Brodbeck wrote:
> 
> On Jan 21, 2008, at 5:45 PM, Ron Johnson wrote:
>> The old "you need 2x RAM for swap" rule is hard to forget.
> 
> I never really understood the rationale for that rule.  It seems like a
> system with more RAM would need less swap, not more.  In particular, it
> always seemed to me like it'd be a bit silly to use 8 gigs of disk for
> swap on a system with 4 gigs of RAM.  Can someone explain the reasons
> for the 2x rule?  Is there a performance boost?

This was a kernel virtual memory design issue that went away (I
think) with v2.6.

And back then, the only systems with 4GB RAM were "big" systems that
had the resources to allocate 8GB of disk space as swap.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"I'm not a vegetarian because I love animals, I'm a vegetarian
because I hate vegetables!"
unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHlra7S9HxQb37XmcRAn2kAJwOtBEIKaOGhjVDSJWNJvFk0DHWHQCgyqrt
pSCOdKnutlwp+nLs6F6PDu4=
=l6Sk
-----END PGP SIGNATURE-----


Reply to: