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.

Wednesday, March 14, 2007

Thin client with xrdmcp

Ran across this interesting option for thin client. XRDMCP I need to investigate further, but it looks like you can login directly to an xsession from a remote machines login promt by setting the session to xrdmcp. That would be cool for my family. Mike Smith is going to try it out. If it works for him I may try it my self. This link is a little dated but has some good info. http://www.linuxjunkies.org/html/XDMCP-HOWTO.html