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-devel

RE: [Xen-devel] Ticket spinlocks and MP guests

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Espen Skoglund" <espen.skoglund@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Ticket spinlocks and MP guests
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Fri, 15 Feb 2008 16:27:33 +0800
Delivery-date: Fri, 15 Feb 2008 00:32:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3DAFC5A.13FC7%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <D470B4E54465E3469E2ABBC5AFAC390F024D8F71@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C3DAFC5A.13FC7%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchvHZx52xVv2tsQEdyZRwAWy6hiGQAUAqPwAA+TMGsAAAamMA==
Thread-topic: [Xen-devel] Ticket spinlocks and MP guests
>From: Keir Fraser
>Sent: 2008年2月15日 16:23
>
>On 15/2/08 01:03, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>>> I suppose it depends whether there are any hot spinlocks in
>>> the kernel these
>>> days. I know things have improved a lot in recent years with
>>> things like
>>> RCU. Most spinlock regions are now pretty short.
>>> 
>> 
>> The side effect is to enlarge average critical section length, if
>> most spinlock regions are pretty short.
>
>Side effect of ticket-based locks, or pv'ed sleeping locks?
>
> -- Keir
>

Side effect about pv'ed sleeping locks, since originally maybe
dozens of cycles are used to spin lock while pv'ed locks force
hypercall to Xen and may even require owner with another 
unlock hypercall to notify back? 

Thanks,
Kevin

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