Why CPU has been at 25%?

Discussions related to using VirtualBox on Windows hosts.
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Why CPU has been at 25%?

Post by chinacjt »

after I Install 4.3.10 ,the host CPU has been at 25% . Whether I enabled SSE4.1? Version does not have this problem before eg:4.3.8
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: Why CPU has been at 25%?

Post by frank »

Do I understand you correct that your VM starts normal but while your VM is running and the guest is idle, you see a significant host CPU load? Which guest and which host is that?
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

hosts:windows 8.1
guest:windows server 2003 R2
CPU:E8335
memory:DDR2 800
MB:P45
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Frank Mehnert wrote:Do I understand you correct that your VM starts normal but while your VM is running and the guest is idle, you see a significant host CPU load? Which guest and which host is that?
hosts:windows 8.1
guest:windows server 2003 R2

logs:
Attachments
U872-2014-03-27-22-17-39.log
(97.2 KiB) Downloaded 13 times
Last edited by chinacjt on 28. Mar 2014, 06:31, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Why CPU has been at 25%?

Post by Perryg »

We don't like to follow off site links.
Post the log file here as an attachment. We only need one and you can compress it if it is too big to post direct.
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Perryg wrote:We don't like to follow off site links.
Post the log file here as an attachment. We only need one and you can compress it if it is too big to post direct.
OK,I upload logs
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Why CPU has been at 25%?

Post by Perryg »

Code: Select all

00:00:01.173081 Guest OS type: 'Windows2003'
00:00:01.175152 fHMForced=true - SMP
00:00:01.175162 fHMForced=true - 64-bit guest
First thing I would do is change the version of the guest to 64 bit. With the newer releases the version has to match the install. Windows2003_64.
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Perryg wrote:

Code: Select all

00:00:01.173081 Guest OS type: 'Windows2003'
00:00:01.175152 fHMForced=true - SMP
00:00:01.175162 fHMForced=true - 64-bit guest
First thing I would do is change the version of the guest to 64 bit. With the newer releases the version has to match the install. Windows2003_64.

but the os of guest is 32bit ,why I must change the os type?

when i change the os type to 64bit , the CPU rate also is 25% up.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Why CPU has been at 25%?

Post by Perryg »

but the os of guest is 32bit ,why I must change the os type?
You didn't say it was 32-bit and all indications in the log were 64-bit. That being said if you are going to run a 32-mode guest with SMP you need to be sure that longmode is enabled in the guest. You can see this by running VBoxManage showvminfo <name|uuid>

Other than that you need to see what is actually using the processor on the host when the guest is idle. Is it the guest or the VBoxSVC? Also remember that a Windows guest may seem to be in idle but actually could be indexing or other things while the guest is idle.
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Perryg wrote:

Code: Select all

00:00:01.173081 Guest OS type: 'Windows2003'
00:00:01.175152 fHMForced=true - SMP
00:00:01.175162 fHMForced=true - 64-bit guest
First thing I would do is change the version of the guest to 64 bit. With the newer releases the version has to match the install. Windows2003_64.

when I start guest of 64bit ,the CPU Rate is nomal.
guest of 32bit isnot nomal?
Attachments
U872-2014-03-28-23-49-22.log
(66.55 KiB) Downloaded 8 times
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Perryg wrote:
but the os of guest is 32bit ,why I must change the os type?
You didn't say it was 32-bit and all indications in the log were 64-bit. That being said if you are going to run a 32-mode guest with SMP you need to be sure that longmode is enabled in the guest. You can see this by running VBoxManage showvminfo <name|uuid>

Other than that you need to see what is actually using the processor on the host when the guest is idle. Is it the guest or the VBoxSVC? Also remember that a Windows guest may seem to be in idle but actually could be indexing or other things while the guest is idle.

E:\Program Files\Oracle\VirtualBox>VBoxManage showvminfo U872
Name: U872
Groups: /
Guest OS: Windows 2003 (32 bit)
UUID: 169f5471-b1c0-481d-b0c4-bde26b382987
Config file: F:\vm\U872\U872.vbox
Snapshot folder: F:\vm\U872\Snapshots
Log folder: F:\vm\U872\Logs
Hardware UUID: 169f5471-b1c0-481d-b0c4-bde26b382987
Memory size: 1492MB
Page Fusion: off
VRAM size: 128MB
CPU exec cap: 100%
HPET: off
Chipset: ich9
Firmware: BIOS
Number of CPUs: 2
PAE: on
Long Mode: off
Synthetic CPU: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): HardDisk
vt-x:on
Attachments
1.png
1.png (72.27 KiB) Viewed 2338 times
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

when I reinstall 4.3.8 ,the problem disappears
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Why CPU has been at 25%?

Post by Perryg »

You need to post a ticket at bugtracker since this is a regression.
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Perryg wrote:You need to post a ticket at bugtracker since this is a regression.
the logs(4.3.8) are upload now,please check it .thks

the logs(4.3.10) has been uploaded above.
Attachments
U872-2014-03-31-08-36-03.log
(65.85 KiB) Downloaded 9 times
chinacjt
Posts: 16
Joined: 22. Aug 2012, 07:38

Re: Why CPU has been at 25%?

Post by chinacjt »

Someone can solve it?
Post Reply