Extensive use of HDD after VmWare Player virtual machine is closed

5

Each time I close virtual machine in VmWare Player I see extensive use of HDD in my system. Basically, whole system becomes unresponsive for about 5-7 minutes.

Host system is Windows 7 Utimate x64 SP1 with 6 GB of memory, i3-M350 processor. Virtual machine is Windows XP SP3 x86 (2GB of memory allocated for VM).

What can be the cause and what can I do to solve the issue?

UPDATE: I am not shutting down the VM, I just close Player window and VM saves it's state. System becomes unresponsive right after VM have saved it state (as indicated by Player) and Player itself have closed.

UPDATE 2: As M'vy suggested I used Resource Monitor to find out that it's the System process who is responsible for disk I/O. This process saves VM memory file with about 500 Kb/s speed.

I'm still amused why host OS becomes unresponsive. After all, I can watch video (about 2500 Kb/s read speed) or copy files with comparable speed and do not see any problems.

Bobrovsky

Posted 2011-03-13T15:32:55.950

Reputation: 367

Are you shutting down, or you are saving the machine state as well? – M'vy – 2011-03-13T15:45:19.450

@M'vy I'm saving the machine state as well. Please read update to the question. – Bobrovsky – 2011-03-13T15:58:16.150

I have a similar problem with a i3 2100 + 8 GB Ram Windows computer using WMWare Player runing OSX Lion with 2Gb RAM. My system does not hangs, but gets very slow for about 7-10 minutes after sleeping the VMWare Machine. The performance application shows the VMWare image written to the disk by the System process. Yes, this is too slow compared with other disk operations.... – Alex Angelico – 2012-09-07T15:31:18.110

Answers

1

Not a real answer, but rather a way to diagnose this: Windows 7 has a good monitoring GUI . To open it:

Start Task Manager > Performance > Resource Monitor

The disk I/O tab should give you a hint if it's still the VMware Player that is using disk access, and on which file.

I bet that the 2GB of memory that has to be saved will take a while to write to disk, but I'm still surprised about the freezing effect.

M'vy

Posted 2011-03-13T15:32:55.950

Reputation: 3 540

3

If the virtual machine state is saved (virtual machine suspended instead of fully shutting it down), the contents of it's memory are persisted on disk. This tends to be rather IO heavy and take some minutes (unless you have an SSD or fast RAID).

jkj

Posted 2011-03-13T15:32:55.950

Reputation: 512

0

There is a setting in the config.ini file for VMWare player or workstation that might solve your problem.

Add the following line:

 mainMem.useNamedFile = “false”

to either of the following depending on which version of VMware you are using:

C:\ProgramData\VMware\VMware Workstation\config.ini
C:\ProgramData\VMware\VMware Player\config.ini

JosephK

Posted 2011-03-13T15:32:55.950

Reputation: 11

its found a lot this solution in the web, its works – Enrique San Martín – 2017-11-15T14:43:11.957

I think the setting will cause the opposite of what OP actually wants. Upon each VM suspending, VMWare backs VMs memory into a file in VM folder. With useNamedFile set to true the file is already there. With useNamedFile set to false the file may be in some other place, like Windows swap, or /tmp. In this case there might be huge amount of disk I/O needed to place the file back. Setting this to false is usually recommended to speed up VM when it's running, in cost of slower suspending. – Alex Che – 2018-04-20T18:00:36.783

3What does it do? – Anders – 2012-07-25T01:56:29.087