[ILUG] Ram swap
Conor Wynne
mariconor at gmail.com
Tue Aug 5 17:15:47 IST 2008
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/
>
More information about the ILUG
mailing list