From: Jeremy Fitzhardinge Subject: Re: Xen spinlock questions Date: Fri, 15 Aug 2008 10:12:39 -0700 Message-ID: <48A5B907.9090404@goop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > On 15/8/08 13:15, "Jan Beulich" wrote: > > >> I can't really explain the results of testing with this version of the patch: >> While the number of false wakeups got further reduced by somewhat >> less than 20%, both time spent in the kernel and total execution time >> went up (8% and 4% respectively) compared to my original (and from >> all I can tell worse) version of the patch. Nothing else changed as far as >> I'm aware. >> > > That is certainly odd. Presumably consistent across a few runs? I can't > imagine where extra time would be being spent though... > 2 locked instructions in vcpu_unblock() when using polling? Doesn't seem like 8%-worth of time though. J