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: [PATCH] allow vcpu to move between pcpus (was Re:[Xen-ia64-devel]cre

To: "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>, "Tristan Gingold" <Tristan.Gingold@xxxxxxxx>
Subject: RE: [PATCH] allow vcpu to move between pcpus (was Re:[Xen-ia64-devel]credit sched on ia64)
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 4 Jul 2006 10:21:28 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Jul 2006 19:21:54 -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: AcaeWF5+wD+sBuUwQliC1QGLmn6h3AAtXfagAACfWTA=
Thread-topic: [PATCH] allow vcpu to move between pcpus (was Re:[Xen-ia64-devel]credit sched on ia64)
Oops, seems that flush is inevitable as your example for percpu area...

Thanks,
Kevin

>From: Tian, Kevin
>Sent: 2006年7月4日 10:13
>
>>From: Isaku Yamahata
>>Sent: 2006年7月3日 12:22
>>
>>Maybe a consideration on VHPT per pcpu is needed.
>>- allocation of region id per domain.
>>  Should rid region be allocated per vcpu?
>
>If guest allocates RID globally like Linux, per vcpu rid region is difficult
>to work. If the higher 6 bit is used as vcpu_id instead of domain_id,
>the number of allowed domains reduce. If you use more highest bits,
>the minimal 18bits can't be satisfied and then you need non-linear
>mapping between mrid->vrid. Also the purge like Anthony mentioned
>will be a big issue.
>
>>
>>- other?
>
>Just found a bad performance effect under some condition. For
>example, say one domain with 2 vcpus both running on same LP (no
>other domains). You can easily find that vhpt/tlb flush is issued at each
>context switch between these 2 vcpus even without migration.
>      Last_vcpu_id     current vcpu id       result
>           Invalid            0               N/A
>              0              1               whole tlb/vhpt flush
>              1              0               whole tlb/vhpt flush
>              ...
>
>Thanks,
>Kevin
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [PATCH] allow vcpu to move between pcpus (was Re:[Xen-ia64-devel]credit sched on ia64), Tian, Kevin <=