From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [Xen-devel] [PATCH 00/10] [PATCH RFC V2] Paravirtualized ticketlocks Date: Thu, 06 Oct 2011 11:09:20 -0700 Message-ID: <4E8DEED0.1020909@goop.org> References: <201109282008.17722.stephan.diestelhorst@amd.com> <2707952.s3VYcmPHUN@chlor> <4E8DE7F1.3050108@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , "H. Peter Anvin" , Jan Beulich , Jeremy Fitzhardinge , Ingo Molnar , Andi Kleen , Peter Zijlstra , Nick Piggin , the arch/x86 maintainers , "xen-devel@lists.xensource.com" , Avi Kivity , Marcelo Tosatti , KVM , Linux Kernel Mailing List , Konrad Rzeszutek Wilk To: Stephan Diestelhorst Return-path: In-Reply-To: <4E8DE7F1.3050108@goop.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 10/06/2011 10:40 AM, Jeremy Fitzhardinge wrote: > However, it looks like locked xadd is also has better performance: on > my Sandybridge laptop (2 cores, 4 threads), the add+mfence is 20% slower > than locked xadd, so that pretty much settles it unless you think > there'd be a dramatic difference on an AMD system. Konrad measures add+mfence is about 65% slower on AMD Phenom as well. J