multi-core VMM
Hi, list,
A VMM provides a VMCS for each VM. How does the VMM assign system resources for each VM? For example, in a multi-core environment, how can I enable the VMM to run, say, on a two-core intel's processor while I am able to force a VM to execute only on a specific core upon initializing the Guest OS ? that is to say, how I can assure the VM to believe that there is only one physical core running on this machine? What should I do? Is it possible to assign a core when VMM starts a new VM after the VMM is booted ?
Thanks a lot!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
I think that's possible, you can check the cpupool related command in the xl manpage.
But I have a similar question -- In CPU like i7, 8 logical cores are not fully equivalent.
They are hyper-threading over CMP. The two HT cores from a single physical core are contending
for pipeline resource. In linux kernel, there is specific scheduler optimization for this case.
My question is that how XEN hypervisor handle this? Will such HT info be available to the VM?
I guess there may be some different depend on whether you bind VCPU to host core or not.
Also, is there any different for dom0 && domU in this aspect?
Thanks,
Timothy
Quoted 22 lines · ZHANG Zhi
Hi, list,
A VMM provides a VMCS for each VM. How does the VMM assign system resources for each VM? For example, in a multi-core environment, how can I enable the VMM to run, say, on a two-core intel’s processor while I am able to force a VM to execute only on a specific core upon initializing the Guest OS ? that is to say, how I can assure the VM to believe that there is only one physical core running on this machine?
What should I do? Is it possible to assign a core when VMM starts a new VM after the VMM is booted ?
Thanks a lot!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel