Saturday, September 11, 2010

Fedora 13 and VMWare Worksation

Is anyone else have severe performance problems with VMWare Workstation on Fedora 13?

I frequently run Windows Visa 32bit inside a virtual machine. Any disk I/O inside the VM seems to hang both the VM and Fedora completely, often for several minutes. It's incredibly annoying.

The worse case is when Symantic antivirus does it's twice daily virus scan for about 10 to 15 mins. The whole system is basically unusable for the entire time.

The virtual disk is on an XFS filesystem but ext3 seems just as bad, if not worse.

All my usual vmx hacks don't seem to help at all.

--
Update: Seems somewhat better with the following hacks:

1. Appended "nohz=off" to the kernel arguments in /boot/grub/grub.conf.
2. Added (or checked present) the following options in the VM's .vmx file:

MemAllowAutoScaleDown = "FALSE"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
MemTrimRate = "0"
prefvmx.minVmMemPct = "100"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"

3. Changed the host OS filesystem (XFS) mount options as follows:
UUID=677somebollocks6676767 /home xfs noatime,nodiratime,logbufs=8,logbsize=256k,nobarrier,defaults 1 2


Disk I/O is still dog slow, but doesn't seem to be hanging both the guest and host OS quite so badly now.

0 comments: