VirtualBox

Ticket #4968 (closed defect: wontfix)

Opened 5 years ago

Last modified 3 years ago

VM doesn't detect CPU with multicores

Reported by: Andry81 Owned by:
Priority: major Component: VMM
Version: VirtualBox 3.0.6 Keywords: multicore AMD
Cc: Guest type: Windows
Host type: other

Description

I have AMD Phenom X4 955 processor with 4 cores. In v3.0.4 i created several VMs (WinXP 32/64 bit, Ubuntu) with 2 core per each VM. In v3.0.6 system warns me in VM Options->System->CPU, that i set more CPUs than i really have, so overall system run could be with reduced performance and realy this is it. When i tryes to run someone of VM, i get slow down performance (for example, Win XP boot screen draws more slowly than ever before).

Attachments

cpuinfo.txt Download (2.8 KB) - added by avs 5 years ago.
VBox.log Download (39.0 KB) - added by avs 5 years ago.
VBox.log

Change History

comment:1 Changed 5 years ago by Andry81

Windows XP x64 SP2

comment:2 Changed 5 years ago by avs

I have a similar issue with Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz

I'm getting the following message: "On the System page, for performance reasons, the number of virtual CPUs attached to the virtual machine may not be more than twice the number of physical CPUs on the host (0). Please reduce the number of virtual CPUs.", and I cannot change any setting through VirtualBox GUI.

VirtualBox is run inside of an OpenVZ container, but "cat /proc/cpuinfo" gives the same output on the hardware node and on the openvz container (please see attached file)

Changed 5 years ago by avs

comment:3 Changed 5 years ago by frank

Please attach a VBox.log file.

Changed 5 years ago by avs

VBox.log

comment:4 follow-up: ↓ 5 Changed 5 years ago by frank

avs, I assume the problem arises because you are using the OpenVZ kernel. Please try to use another host kernel (better the Standard Debian kernel) and see if that makes a difference.

comment:5 in reply to: ↑ 4 Changed 5 years ago by avs

Replying to frank:

avs, I assume the problem arises because you are using the OpenVZ kernel. Please try to use another host kernel (better the Standard Debian kernel) and see if that makes a difference.

Frank, unfortunately I cannot do this on that machine atm (only in 2 weeks), but I wonder why /proc/cpuinfo reports 4 cores and vbox reports 0. Do these two use different ways to obtain info about CPU?

Meanwhile, is there another way (without kernel switching) I can help you to figure out what is wrong?

comment:6 Changed 5 years ago by frank

Yes, VBox does not use /proc/cpuinfo but internal kernel functions.

comment:7 follow-up: ↓ 8 Changed 4 years ago by Technologov

avs: Do you have personal Linux workstation where you can switch kernels between standard and OpenVZ ?

-Technologov

comment:8 in reply to: ↑ 7 Changed 4 years ago by avs

Replying to Technologov:

avs: Do you have personal Linux workstation where you can switch kernels between standard and OpenVZ ?

no, nor I had an ability to change the kernel on the server yet. We currently use VBoxManage as a workaround to change settings.

comment:9 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use