Assigning Physical Processors to VM's
Posted: 27. May 2011, 10:33
Hi,
I'm wondering how VirtualBox maps the physical processor cores on the host machine to the virtual processor cores assigned to the guest OS, and if there is any way to _force_ a mapping between the two?
For example, I have a six core machine running a single VM with a single virtual CPU assigned to it. Does this mean VirtualBox has taken one of my physical cores, say CORE-0, and assigned it to that VM (i.e. The VM process' affinity is set to CORE-0 only, and can't use any others)? If this is the case, is there any way of identifying which CPU has been assigned, or even force it to use one in particular? I've tried playing around with the processor affinity setting (in Windows) for the VirtualBox process itself, and it seems to have some effect, but am wondering if there is a better way of solving the problem?
Cheers
I'm wondering how VirtualBox maps the physical processor cores on the host machine to the virtual processor cores assigned to the guest OS, and if there is any way to _force_ a mapping between the two?
For example, I have a six core machine running a single VM with a single virtual CPU assigned to it. Does this mean VirtualBox has taken one of my physical cores, say CORE-0, and assigned it to that VM (i.e. The VM process' affinity is set to CORE-0 only, and can't use any others)? If this is the case, is there any way of identifying which CPU has been assigned, or even force it to use one in particular? I've tried playing around with the processor affinity setting (in Windows) for the VirtualBox process itself, and it seems to have some effect, but am wondering if there is a better way of solving the problem?
Cheers