Q about swap size

JB jurek.bajor at gmail.com
Sun Jul 11 19:29:34 UTC 2010


JB <jurek.bajor <at> gmail.com> writes:

> ...
> top - 10:43:15 up 2 days, 6 min,  5 users,  load average: 8.62, 6.84, 6.26
> Tasks: 244 total,   7 running, 237 sleeping,   0 stopped,   0 zombie
> Cpu(s): 60.7%us, 23.5%sy,  9.2%ni,  0.0%id,  0.0%wa,  5.4%hi,  1.3%si,  0.0%st
> Mem:    509800k total,   502624k used,     7176k free,    16280k buffers
> Swap:  1048568k total,   317372k used,   731196k free,   101944k cached
> 
> 
> This indicates only about 30% of my 1GB swap is being used. Would increasing
that to 2GB have any affect on the load average performance?--Doc Savage 
Fairview Heights, IL
> 
Hi,
Please disregard my previous message - it has some typos (high temps here :) ).

Would you please take a look at 'top' output (Ctl-M - sorted by memory use)
and share with us the system lines plus following 10 lines. Note that 
the display may fluctuate, so wait for a while to understand what is really 
happening and then capture the output for us.

As a general rule, your min swap size should be:
RAM size plus 20%
This is due to "save to swap" requirement for hibernation.
JB







More information about the users mailing list