Swapping

Hello!

Why does my SuSE GNU/Linux machine swap?
I have a Gig of ram, currently 14MBs of free RAM, 724MB - buffers and caches...
That is 685MB of cached RAM, then kernel really should'nt have to swap, It should release cached memory in my thinkin...

It has only swaped 3MB's but still, performace bottleneck.

Regards David

cat /proc/sys/vm/swappiness

What value does it print? If it's extremely high it could swap out unused pages even when there's no need to conserve RAM.

on linux the kernel tries to move seldom used mem to swap. this can be controlled by
'swappiness'
see:

It prints out 60.
I dont have any references if thats high or not :slight_smile:

Regards. /Donnie