xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: multi-core VMM
@ 2013-01-10 13:00 ZHANG Zhi
  2013-01-10 15:24 ` G.R.
  0 siblings, 1 reply; 12+ messages in thread
From: ZHANG Zhi @ 2013-01-10 13:00 UTC (permalink / raw)
  To: G.R.; +Cc: xen-devel@lists.xen.org

	Yeah, I think you're right.
	Maybe it also depends on the virtualization techniques. If it's hardware assisted virtualization, guest OS may detect the HT info, because it can also scan the BIOS memory, right? 


re: Re: [Xen-devel] multi-core VMM

Well, I can't agree.
HW provide features and SW use it. Otherwise, HW feature is just a vain.

PS: please keep the list CCed so that people are aware of the discussion. Probably they have something to share on this topic.

On Wed, Jan 9, 2013 at 1:37 PM, ZHANG Zhi <zhizhang@smu.edu.sg> wrote:
> I think it's the hardware's business, namely the Intel or AMD, not the hyperviosr's business. Xen does not have to consider such an issue.
>
> Re:
> 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
>
> On Wed, Dec 19, 2012 at 2:20 PM, ZHANG Zhi <zhizhang@smu.edu.sg> wrote:
>> 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
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>>

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <373C28B006B97A4BA77CD51D8F89698356C51CE3@exchpd01>]
* multi-core VMM
@ 2012-12-19  6:20 ZHANG Zhi
  2012-12-20  9:08 ` G.R.
  0 siblings, 1 reply; 12+ messages in thread
From: ZHANG Zhi @ 2012-12-19  6:20 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]

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!


[-- Attachment #1.2: Type: text/html, Size: 2816 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-01-11 14:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 13:00 multi-core VMM ZHANG Zhi
2013-01-10 15:24 ` G.R.
2013-01-10 15:30   ` G.R.
2013-01-11 13:08     ` Stefano Stabellini
2013-01-11 14:01       ` Dario Faggioli
2013-01-10 16:14   ` François-Frédéric Ozog
2013-01-10 16:44     ` G.R.
2013-01-11 11:24       ` Dario Faggioli
2013-01-11 11:30   ` Dario Faggioli
     [not found] <373C28B006B97A4BA77CD51D8F89698356C51CE3@exchpd01>
2013-01-09  9:04 ` G.R.
  -- strict thread matches above, loose matches on Subject: below --
2012-12-19  6:20 ZHANG Zhi
2012-12-20  9:08 ` G.R.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).