View Single Post

   
  #6 (permalink)  
Old 02-19-2008, 11:29 AM
Petri Kaukasoina
 
Posts: n/a
Default Re: slackware-current not using swap?

Floyd L. Davidson <floyd@barrow.com> wrote:
>Incidentally, I've just upgraded two machines from 2.6.0 to
>2.6.6, and the first of them has been up for a day and a half
>now, and has yet to use 1 byte of swap. Mighty suspicious...
>
>If, by tomorrow, nothing gets paged out just because it was
>sleeping too long I'll probably back off to 2.6.5 to see if that
>changes.


If you want your system swap more, try
echo 100 > /proc/sys/vm/swappiness

The value can be between 0 and 100, the default is 60.
Reply With Quote