PDA

View Full Version : [Solved] how much swapping before you should add ram?


phospher
September 10th, 2009, 20:49
i've questioned this for some time... how much swapping is acceptable before you should add more ram? i currently have a FreeBSD 7.2 machine with 256mb of ram and swapinfo is showing 20%. are there any thumb rules that you use as to when more ram is needed?

thanks gents.

graudeejs
September 11th, 2009, 06:20
add ram, when you think that swapping is bottleneck (when you swap too much)

Alt
September 11th, 2009, 06:23
When you look `top` - if you see "20K in", "10K out" or something constantly.. I think no matter how much pages swapped out - its important how intensively swap is used.

DutchDaemon
September 11th, 2009, 17:27
That's right. Swapping in itself is not bad (dropping idle process memory in swap saves RAM), constant active swapping is bad.

phospher
September 11th, 2009, 18:31
that helps. thanks guys.