Archive for March, 2008

Ubuntu Gutsy and VMware performance

Wednesday, March 19th, 2008

I’m a big fan of VMware, or virtualization you might say. I’m using a lot of VMware at the moment but had some bad performance when running Gutsy as a host. Everything works pretty ok but there has been a little too much IO-wait, my MySQL has been responding a little to slow when not being queried for a while and so on. I googled around a lot and found some tweaks, I really don’t know what they acutally do but the make a big difference. In /etc/vmware/config I have added:

prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"

And on my hosts I have added in the .vmx-file

sched.mem.pshare.enable = "FALSE"
mainMem.useNamedFile = "FALSE"
MemTrimRate = "0"
MemAllowAutoScaleDown = "FALSE"

After doing this my vmware guest if responsive and works like a charm! Soon I will make an effort to find out what it does. :-)

Logging in thru SSH takes forever..

Wednesday, March 12th, 2008

I’m using Kubuntu on my workstation and using a lot of CentOS / RHEL5 at work. When using SSH to log on this boxes everything went very, very VERY slow. The reason for this is GSSAPI. I have to very nice fixes, on server side and one on client side.

In both cases it’s GSSAPIAuthentication which causes all of our troubles. Either change this to no in /etc/ssh/sshd_config at your server or on your client (/etc/ssh/ssh_config or in your ~/.ssh/config). I always to the same from now. Don’t even know what it is but damn it did bother me until I fixed it. :-)