christophe barbé on Thu, 3 Jan 2002 02:30:14 +0100 |
Under Linux it depends on your kernel. With the first 2.4 kernels (the ones with the Rik van Riel's VM) it was REQUIRED to have swap >= 2 x RAM. This was due because the memory swapped out was never removed from the swap before the end of the associated process. The situation changed when Linus dropped the Rik's VM in favor of the Andrea's one. So if you have an early (IIRC < 2.4.14) 2.4 kernel, if you can't upgrade (recomended) then use at least 2 x RAM (Otherwise it's worse than no swap at all). Otherwise if your system is never out of RAM, you can perhaps use no swap. With or Without swap, the Out Of Memory (OOM) situation is ever a possible bad situation. My personnal advice, stick to 2xRAM and let VM designers use it. Christophe On Wed, Jan 02, 2002 at 04:43:16PM -0500, Bob Razler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello: > > What is the consensus on the size of the swap partition? RAM? > 2xRAM? > > I have 256 Megs of RAM. > > Bob > > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> > > iQA/AwUBPDN+82wjiy2yaukAEQIzGwCg9IU2Dhv9Nca3PUwbS8Fs29HWPI8An2SE > EIpjwQ5srSxzDWc1M5g8PMUP > =3J9a > -----END PGP SIGNATURE----- > > ______________________________________________________________________ > Philadelphia Linux Users Group - http://www.phillylinux.org > Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce > General Discussion - http://lists.phillylinux.org/mail/listinfo/plug > -- Christophe Barbé <christophe.barbe@ufies.org> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E Attachment:
pgpoMwYQg9FdC.pgp
|
|