VirtualBox

Opened 10 months ago

#21787 new defect

Multiple virtual CPUs: False information about performance degradation.

Reported by: Butcher Owned by:
Component: other Version: VirtualBox-7.0.10
Keywords: CPU Cc:
Guest type: all Host type: all

Description

If in the virtual machine settings on the System: Processor page configure the number of virtual processors available to the guest equal to the number of logical host processors, then an error notification appears:

Invalid settings detected

System: Processor page:

More virtual CPUs are assigned to the virtual machine than the number of physical CPUs on the host system (2). This is likely to degrade the performance of your virtual machine. Please consider reducing the number of virtual CPUs.

But it's rubbish. If the host has 2 cores and 4 logical processors, then if we configure 2 processors for the guest, in the guest we can see 100% processor load, and at the same time in the host the real processor will only be half loaded, and even less. If we configure 4 processors for the guest, then performance will not decrease, on the contrary, it will be almost 2 times higher!

There must be a warning the other way around:

If you have assigned fewer processors to a guest than the host has logical processors, then the performance of your virtual machine will be lower than it could be. But at the same time, if the guest has a large load on the processor, then there will be a decrease in host performance.

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use