We lower the default for the parm vm.swappiness
The default is 60 and we mostly set this to 5 now.
To see where it's set now;
cat /proc/sys/vm/swappiness
Change it;
echo 5 > /proc/sys/vm/swappiness
Update the /etc/sysctl.conf file to keep where you want it ... 20, 5, or even 0
...
Hope this is some help...
Paul
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Dave
Czajkowski
Sent: Thursday, June 02, 2011 8:43 AM
To: [email protected]
Subject: SwapCache
Is there a way to disable or limit the amount of SwapCache? I understand
it's function, but the double allocation of these pages is causing my low
memory alerts to trip.
I can remove the swap copy with a swapoff/swapon. Is there a more elegant
way to remove?
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/