VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 17 Replies Last post: Nov 20, 2008 5:52 PM by mileserickson  

Pausing the VM... posted: Jul 8, 2007 7:09 AM

Click to view iandol's profile Novice 14 posts since
Jul 8, 2007
Hi, in Parallels one can pause the VM. This is useful as it reduces the CPU use down to ~1-2% (of one processor). On a laptop this conserves valuable battery life, allowing one to work for the maximum amount of time by curbing VM CPU use when not necessary. Is there a way to pause the VM in Fusion, and if not is this planned for a future release?

Re: Pausing the VM...

1. Jul 8, 2007 7:35 AM in response to: iandol
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
Is there a way to pause the VM in Fusion?

Yes, you can use the Pause button (left side of the toolbar) or the menu item Virtual Machine > Suspend Guest

Re: Pausing the VM...

2. Jul 8, 2007 8:33 AM in response to: etung
Click to view simplicity's profile Novice 32 posts since
Jun 23, 2007
Hello etung,

Pause and suspend are not the same thing, at least not on parallels. Pause on parallels simply halts the guest while keeping all the ram in memory. It is very quick. Suspend actually writes the memory out to the file system and is much slower.

Why would you want to use pause over suspend? Well I used to use it when Vista was chewing away my CPU for no apparent reason. I would pause it, continue what I was doing in OSX and go back to it when I was ready... I don't know if that is a valid use case, maybe others could give a better reason.

Take care,

Re: Pausing the VM...

3. Jul 8, 2007 8:45 AM in response to: simplicity
Click to view Pat Lee's profile Master 1,192 posts since
Jan 3, 2007
Assuming you have no crummy, lousy software that spins for no apparent reason when installed on PC, I can leave my VMs running in the background and they only take 4-6% CPU idle. I have down this with Vista Ultimate in a Boot Camp partition, XP in a Boot Camp partition, or XP running out of virtual disk. It is very low impact when idle.

Pat

Re: Pausing the VM...

6. Jul 8, 2007 12:21 PM in response to: Pat Lee
Click to view rhind's profile Enthusiast 109 posts since
Jun 17, 2007
Hi Pat, I also see 4-6% idle time for my XP SP2 VM both in single window and unity mode.

But if I have Visual Studio 2005 open, then idle usage in unity goes up to 10-15%, but only in unity mode. In single window mode with Visual Studio 2005 open, idle usage stays at 4-6%. Is this something that could be looked at for an optimistation in a future release?

(Not all apps cause this, as explorer windows don't put the idle usage up at all when in unity mode).

Cheers

Russell

Re: Pausing the VM...

8. Jul 8, 2007 12:36 PM in response to: etung
Click to view pfoxhoven's profile Novice 24 posts since
Jul 8, 2007
Suspend Guest is greyed out for me in any mode -- Do I have to do something to enable it?

Re: Pausing the VM...

9. Jul 8, 2007 1:37 PM in response to: pfoxhoven
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
Suspend Guest is greyed out for me in any mode

If you're using a Boot Camp virtual machine, this is expected and intentional. If you were to boot Windows natively while the guest was suspended (or snapshotted), this could cause corruption.

Do I have to do something to enable it?

For a Boot Camp virtual machine, you can enable suspend by editing the vmx file, but because of the implications of doing so I leave the exact steps as an exercise to the reader.

Re: Pausing the VM...

11. Jul 8, 2007 4:36 PM in response to: iandol
Click to view etung's profile Guru 11,086 posts since
Oct 15, 2006
If you're using a Boot Camp virtual machine, this is
expected and intentional. If you were to boot Windows
natively while the guest was suspended (or
snapshotted), this could cause corruption.

Is this the only problem with suspending a bootcamp
VM? I was worried about enabling suspend, but I never
boot natively anymore so the chances are
non-existant.


As far as I know this is the only issue.

By the way etung, thank you for your help - this
forum is *so* different to Parallels one!!! ;-)

No problem, glad to help :)

Re: Pausing the VM...

12. Jul 8, 2007 4:40 PM in response to: iandol
Click to view Pat Lee's profile Master 1,192 posts since
Jan 3, 2007
If you're using a Boot Camp virtual machine, this
is
expected and intentional. If you were to boot
Windows
natively while the guest was suspended (or
snapshotted), this could cause corruption.

Is this the only problem with suspending a bootcamp
VM? I was worried about enabling suspend, but I never
boot natively anymore so the chances are
non-existant.


So, I currently use Windows Hibernate function in a Boot Camp VM when I want it and it has worked great for me without having to enable Suspend/Resume.

NOTE: You will still have the same issue if you reboot the VM into native Boot Camp mode with out of date hardware/memory to cause data loss if you hibernate. You can only hibernate if you plan on staying in the VM. If you want to go to Boot Camp, resume the hibernated VM and then shut it down.

Pat

Re: Pausing the VM...

13. Jul 8, 2007 6:10 PM in response to: etung
Click to view pfoxhoven's profile Novice 24 posts since
Jul 8, 2007
Thanks etung!

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities