Saturday, March 17, 2007

Making linux not swap unless it needs to with vm.swappiness

I found this great Great article that has a thing that has really helped with my linux 2.6 performance when I get lots of stuff loaded on machines with plenty of memory. Linux will start swapping way before it needs to and they when you switch to an app you have not used for a while it will take forever. So, if you adjust your swappiness, with vm.swappiness=30 in your /etc/sysctl.conf file it will be a lot better.

This also helped me identify that the problem I am having with my abit bp6 motherboard locking up on linux. It appears to be a problem with the hp66 controller. When I changed the swappines to 30 it stayed up for like 2 weeks.

0 Comments:

Post a Comment

<< Home