ID #1078

Time required to resume and suspend a VM

Time required to resume and suspend a VM

Test machine:
a Dualboot Dell Intel Quad Core i5 with 8 Gb RAM
running 2003 and Windows 7

  Host OS
Windows
2003
Host OS
Windows
2003
Host OS
Windows
7
Host OS
Windows
7
config.ini options used
WS 6.5.4
VM with
512 Mb RAM
WS 6.5.4
VM with 
4096 Mb RAM
WS 7
VM with
512 Mb RAM
WS 7
VM with 
4096 Mb RAM

mainMem.partialLazySave = "false"                   
mainMem.partialLazyRestore = "false"                
mainmem.useNamedFile = "false"
26 sec
21 sec
21 sec
22 sec
21 sec
126 sec
132 sec
71 sec
122 sec
132 sec
12 sec
11 sec
13 sec
11 sec
13 sec
48 sec
51 sec
53 sec
51 sec
52 sec

mainMem.partialLazySave = "false"                   
mainMem.partialLazyRestore = "false"                
mainmem.useNamedFile = "true"
12 sec
12 sec
12 sec
12 sec
11 sec
19 sec
11 sec
12 sec
12 sec
11 sec
11 sec
13 sec
11 sec
12 sec
12 sec
52 sec
53 sec
52 sec
53 sec
52 sec

mainMem.partialLazySave = "true"                   
mainMem.partialLazyRestore = "true"                
mainmem.useNamedFile = "false"
21 sec
22 sec
22 sec
21 sec
21 sec
128 sec
136 sec
142 sec
136 sec
138 sec
11 sec
12 sec
12 sec
11 sec
11 sec
52 sec
52 sec
52 sec
55 sec
52 sec

mainMem.partialLazySave = "true"                   
mainMem.partialLazyRestore = "true"                
mainmem.useNamedFile = "true"
12 sec
12 sec
12 sec
12 sec
12 sec
18 sec
13 sec
13 sec
13 sec
13 sec
12 sec
12 sec
11 sec
11 sec
12 sec
54 sec
53 sec
51 sec
53 sec
53 sec

Test : a simple VM booted into a Backtrack 2 LiveCD using an iso-file.
The VM was using a simple Linux-console pinging google so that it was easy to check for activity.
Then the VM was suspended.
A batchfile was used to change the config.ini and get the start-time of 2 vmrun.exe commands.

echo %time% >> report.txt
vmrun.exe start backtrack.vmx
sleep 4 (seconds)
vmrun.exe suspend backtrack.vmx
echo %time% >> report.txt

This way I got the time needed to start and suspend a VM from the report-text file.

Summary:

if suspend time and start time is important DO NOT TWEAK the config.ini
and use the default instead

mainmem.useNamedFile = "true"


if suspend time and start time of large VMs is important use Workstation 6.5.4


attached files: testspeed.txt

Tags: config.ini, resume, suspend, vmx

Related entries:

You can comment this FAQ