How does VB choose performance/efficient cores

This is for discussing general topics about how to use VirtualBox.
Post Reply
reader
Posts: 5
Joined: 2. Jun 2020, 00:11

How does VB choose performance/efficient cores

Post by reader »

The next gen Intel CPU will have performance cores and efficient cores. When create VM with 4 core/thread, how does the VB choose among performance and efficient cores? Will it be fixed at VM creation, or can it dynamically switch between the two types of cores?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: How does VB choose performance/efficient cores

Post by scottgus1 »

I personally have never heard of this. If the "next-gen" means these devices are not out yet, it could be the devs haven't had a chance to test. We'll have to wait until this concept becomes mainstream to see how the devs will set Virtualbox to handle it.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: How does VB choose performance/efficient cores

Post by fth0 »

scottgus1 wrote:I personally have never heard of this.
You can read about the basics in Intel's Alder Lake Combines 'Performance' and 'Efficiency' CPU Cores on One Chip.
reader wrote:When create VM with 4 core/thread, how does the VB choose among performance and efficient cores? Will it be fixed at VM creation, or can it dynamically switch between the two types of cores?
To give you an example from today, VirtualBox creates 42-ish threads for a VM with 2 vCPUs, and lets the host OS decide on which physical CPU cores/threads to run them. As far as I understand the known details of the Intel Thread Director (Intel Architecture Day 2021: Alder Lake, Golden Cove, and Gracemont Detailed), the physical CPU and the host OS will decide the core/thread selection themselves.
chrisradh
Posts: 1
Joined: 28. Sep 2022, 22:29

Re: How does VB choose performance/efficient cores

Post by chrisradh »

Does anyone have a new perspective on this, now that 12700 has been out for a while and 12900 is coming out? Trying to decide on intel or AMD for a box that will mostly be for VMs and sometimes gaming. The E cores run slower than the P cores, wondering what the overall impact is on VMs with VBox. Will I see much difference between AMD (12 cores)/24 threads vs Intel (8P+8E cores)/24 threads when running several VMs at once (database server, web server, etc)?
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: How does VB choose performance/efficient cores

Post by BillG »

fth0 wrote: To give you an example from today, VirtualBox creates 42-ish threads for a VM with 2 vCPUs, and lets the host OS decide on which physical CPU cores/threads to run them. As far as I understand the known details of the Intel Thread Director (Intel Architecture Day 2021: Alder Lake, Golden Cove, and Gracemont Detailed), the physical CPU and the host OS will decide the core/thread selection themselves.
I can't see that changing. I would not expect VirtualBox (or any other app) to get involved at that level. CPU queues and priority scheduling are pretty low-level OS stuff.
Bill
Post Reply