WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.

To: "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Wed, 31 May 2006 21:02:45 +0800
Delivery-date: Wed, 31 May 2006 06:04:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaEsL4fj6nYmgUDSziUaYcq4feU5wAAOusQ
Thread-topic: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.
>From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>Sent: 2006年5月31日 20:54
>To: Xu, Anthony; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.
>
>Le Mercredi 31 Mai 2006 14:25, Xu, Anthony a écrit :
>> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>>
>> >Sent: 2006年5月31日 20:19
>> >To: Xu, Anthony; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>> >Subject: Re: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.
>> >
>> >Le Mercredi 31 Mai 2006 14:04, Xu, Anthony a écrit :
>> >> From: Tristan Gingold
>> >>
>> >> >Sent: 2006年5月31日 20:04
>> >> >To: Xu, Anthony; xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>> >> >Subject: Re: [Xen-ia64-devel][PATCH] Enable SMP on VTI domain.
>> >> >
>> >> >Le Mercredi 31 Mai 2006 13:43, Xu, Anthony a écrit :
>> >> >> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>> >> >
>> >> >[...]
>> >> >
>> >> >> >> Another concern is,
>> >> >> >> If SMP guest is running on a UP platform, vcpus may have same
>> >> >> >> vcpuid.
>> >> >> >
>> >> >> >Why ?  IMHO this can never happen.
>> >> >>
>> >> >> There are 4 LP on my box, if I want to boot a domU with 6 vcpus,
>> >> >> Can this domU boot?
>> >> >
>> >> >[ I have never tried, but here is my understanding:]
>> >> >Sure.  You can create more vcpus than existing cpus.  Of course, you
>> >> > can't run 6 vcpus simultaneously on 4 cpus!
>> >>
>> >> If the lid of vcpus is extracted from machine lid, there are at least
>> >> two vcpus whose lids are same, which may make guest OS confused.
>> >
>> >lid are paravirtualized except for dom0 (currently, this has to be
>> > revisited).
>> >
>> >I think there is a misunderstanding somewhere, because some questions
>> > sound too strange.
>> >
>> >My (small) comment was simple:
>> >On Xen/VTI, GFW set lid and Xen has to build a map from lid to vcpuid.
>> >I just think it should be simpler to modify GFW so that lid = vcpuid.
>>
>> That is exactly what I implemented.
>I may have mis-read the patches you have recently posted but on the current
>changeset lid_to_vcpu is O(n).  Why isn't it O(1) ?
Sorry, don’t catch you.
In lid register, id is from 24 to 31, eid is from 16 to 23.
So lid = vcpuid << 24

>
>Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel