the answer is to "Monitor it"
On my system with 2GB -- a desktop with xen vm's. I have 350MB swap. And
guess what, its is never used.
paging = shitty perf. Avoid at all costs.
In the lab I have a server for xen images, fairly loaded as it servies out
various services.
Tons of swap defined (6GB) and 16GB physically installed, but since I have
yet to max out the physical ram... no swapping.
Now if you have a server with critical apps, and the system needs to page
more ram than there is swap space == kernel panic.
But in reality you will only touch a few MB's of swap is a properly setup
environment.
On Tue, Aug 5, 2008 at 4:50 PM, Frank Peelo <f26p at eircom.net> wrote:
> Michael Watterson wrote:
>>>p.slabiak at linux-services.org wrote:
>>>> Hi all,
>>>>>> in the former linux versions (kernel 2.4.x) the relationship beetwen ram
>>> and swap was 1:2. Is it the same with kernel 2.6.x ?
>>>>>> ...
>> Going less than 1:1 (or even 1:0) on most OS, that have LOTS of RAM ought
>> to be possible, but for Mortals with LOTS* of RAM the limit is 1:1 unless
>> you really really understand what you are doing.
>>>> Is that an upper or a lower limit? i.e. is 1:1 the minimum amount of RAM or
> the minimum amount of swap?
>> Frank
>>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!