On Fri, Aug 29, 2008 at 06:52:03AM +0200, Dexter Filmore wrote:

This has increased my resume time by about 10-fold with a 2GB VM.

Interesting - where do I find said script? In the system, in VMware, in the VM..?

It's inside the VM.  The exact location will probably depend on the
distribution running in the VM.  For the gentoo open-vm-tools
installation, it's in "/etc/vmware-tools/suspend-vm-default".  I put
the
   sync
   echo 3 > /proc/sys/vm/drop_caches
   exit 0

before all of the silly networking stuff that I didn't want, and then
just put an 'exit 0' in the resume-vm-default.

If I suspend the VM and then resume it a long time later, it does
still take a while to load, for some reason it isn't getting very good
bandwidth out of the disk.  I haven't tried it with setting openVM to
give preference to disk I/O over local OS performance, though, which
might help.

David


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to