Re: [vbox-dev] high cpu usage after hibernate mode

2009-01-23 Thread Sander van Leeuwen
Try again with 2.1.2. Since 2.1.0 we handle power events to pause 
running VMs.


Huihong Luo wrote:
Somtimes, I noted that vbox uses rather high cpu (50%) on windows 
host. The steps:
 
run vbox with an XP vm, check host cpu use, which is very low (5%), 
then hibernate the windows host. After Windows resumes from hibernate 
mode, the host cpu use is now much higher, about 50%.
 
Interestingly, the guest cpu is still very low (<5%).
 
This indicates that the vboxdrv.sys does not handle power well? Is 
there any IRP_MJ_POWER handler?
 
Thanks,
 
Huihong
 
 
 
 




___
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
  



--
Kind regards / Mit freundlichen Gruessen / Met vriendelijke groet

--

Sun Microsystems GmbHSander van Leeuwen
Werkstrasse 24   Senior Staff Engineer, VirtualBox
71384 Weinstadt, Germany mailto:sander.vanleeu...@sun.com



Sitz der Gesellschaft: Sun Microsystems GmbH,
Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder,
Wolfgang Engels, Dr. Roland Boehmer
Vorsitzender des Aufsichtsrates: Martin Haering


___
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev


Re: [vbox-dev] high cpu usage after hibernate mode

2009-01-23 Thread ColdShine
2009/1/23 Huihong Luo :
> Somtimes, I noted that vbox uses rather high cpu (50%) on windows host. The
> steps:
>
> run vbox with an XP vm, check host cpu use, which is very low (5%), then
> hibernate the windows host. After Windows resumes from hibernate mode, the
> host cpu use is now much higher, about 50%.
>
> Interestingly, the guest cpu is still very low (<5%).

I've been having this issue since VirtualBox 1.6.2 (IIRC... it's the
first version I've ever used), Windows XP host and guest.

In my case, as probably happens for Huihong Luo, the processor is a
dual-core, so occupancy being 50% actually means a single core is 100%
taken by VB. In my case too, the guest still reports 99% idle, as it
does before hybernation, except before hybernation the guest really
only takes about 3% on average, while as I said it does take 100% of a
single core afterwards.

The only way to bring the guest actual occupancy back down is to power
the virtual machine off (any manner).

I still didn't test the XP guest with any VirtualBox 2.x.y version,
though. I will soon.

CS

___
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev


[vbox-dev] high cpu usage after hibernate mode

2009-01-22 Thread Huihong Luo
Somtimes, I noted that vbox uses rather high cpu (50%) on windows host. The 
steps:
 
run vbox with an XP vm, check host cpu use, which is very low (5%), then 
hibernate the windows host. After Windows resumes from hibernate mode, the host 
cpu use is now much higher, about 50%.
 
Interestingly, the guest cpu is still very low (<5%).
 
This indicates that the vboxdrv.sys does not handle power well? Is there any 
IRP_MJ_POWER handler?
 
Thanks,
 
Huihong
 
 
 
 ___
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev