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

Re: more RAM, swap?



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

On Friday 20 September 2002 15:22, Daniel Lönn wrote:
> It is a de facto -standard to have the double swap as you
> have ram. 

However that rule is really outdated. It was introduced when the old Unix 
versions kept a full image of their RAM layout on disc. With those Unix 
version, your available virtual memory was exactly the size of your swap. 
Linux (and most other UNIX versions today) uses a different approach: It 
keeps as much in memory as prossible, and only puts as many pages in the swap 
file/partition as necessary. So for Linux, your available virtual memory is 
RAM + swap - some overhead (a few kBytes only, IIRC a single page of the 
MMU).

Regards,

Sven Müller
- - IT - Network&Infrastructure -

- -- 
* Heinrich Berndes Haushaltstechnik GmbH & Co KG
* Wiebelsheidestrasse 55, 59757 Arnsberg, Germany
* Phone: +49 2932 475-282 / FAX: -325
* http://www.berndes.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9izhess2fOBI6SZ0RAkfmAKCLtgBgNOakm2a/7AaTZk0TB445GgCfUozP
fMA67q4nUzCZtcWv3uqNv0c=
=lhWN
-----END PGP SIGNATURE-----



Reply to: