James Gray wrote:

On Wed, 4 Feb 2004 12:10 am, [EMAIL PROTECTED] wrote:


can I leave the swapper 'asis' at 512MB ?


swap is used when program memory exceeds the physical memory. It them
moves some out to disk, this may never happen in your new setup.


Ken,

so I can ignore RH docs that tell me ' swap part should be equal to twice
RAM', good.



Good grief! I remember that rule of thumb back in the RedHat 4.2 days when 16Mb RAM was somewhere between "normal" and "a lot"! :) In today's world, it's simply a waste of hard-drive space. I've got a 512Mb workstation (this machine) and 128Mb swap, swap usage is rarely over 20Mb. System has been up for 11 days now, RAM is 316Mb free and swap is 0Mb used; even with KDE 3.1.4 running on a dual-head set-up! (Heheh - try THAT with XP Sir Bill!!)


Even more so - I've been advised that a larger swap partition also takes more resources just to
manage it, hence maybe even degrading system performance (less RAM for other stuff, more
time looking up free pages).


You can look at it in another perspective - by the time you start using so much of your swap
space, your system would be crawling so much that you'd better increase your RAM anyway.


In any case - I'd say a 512Mb swap partition should be by far more than enough, ever. If you
are still worried about actually needing so much swap one day you can always create a swap
file and use it for a particular task.


"At least the size of the RAM" used to be the rule with BSD 4.2 and family, when a RAM page
wouldn't have been counted if it didn't have a page in the swap space assigned to back it up,
today the swap is an extension of the RAM, not a shadow of it.


Cheers,

--Amos

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to