From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waiman Long Subject: Re: [PATCH v9 00/19] qspinlock: a 4-byte queue spinlock with PV support Date: Wed, 07 May 2014 11:00:10 -0400 Message-ID: <536A4A7A.3050001@hp.com> References: <1397747051-15401-1-git-send-email-Waiman.Long@hp.com> <535D47D3.20202@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from g2t2352.austin.hp.com ([15.217.128.51]:26796 "EHLO g2t2352.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754371AbaEGPAd (ORCPT ); Wed, 7 May 2014 11:00:33 -0400 In-Reply-To: <535D47D3.20202@linux.vnet.ibm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Raghavendra K T Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , linux-arch@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xenproject.org, kvm@vger.kernel.org, Paolo Bonzini , Konrad Rzeszutek Wilk , "Paul E. McKenney" , Rik van Riel , Linus Torvalds , David Vrabel , Oleg Nesterov , Gleb Natapov , Scott J Norton , Chegu Vinod On 04/27/2014 02:09 PM, Raghavendra K T wrote: > > For kvm part feel free to add: > Tested-by: Raghavendra K T > > V9 testing has shown no hangs. > I was able to do some performance testing. here are the results: > > Overall we are seeing good improvement for pv-unfair version. > > System : 32 cpu sandybridge with HT on. (4 node machine with 32 GB each) > Guest: 8GB with 16 vcpu/VM. > Average was taken over 8-10 data points. > > Base = 3.15-rc2 with PRAVIRT_SPINLOCK = y > A = 3.15-rc2 + qspinlock v9 patch with QUEUE_SPINLOCK = y > PRAVIRT_SPINLOCK = y PARAVIRT_UNFAIR_LOCKS = y (unfair lock) > B = 3.15-rc2 + qspinlock v9 patch with QUEUE_SPINLOCK = y > PRAVIRT_SPINLOCK = n PARAVIRT_UNFAIR_LOCKS = n (queue spinlock without > paravirt) > C = 3.15-rc2 + qspinlock v9 patch with QUEUE_SPINLOCK = y > PRAVIRT_SPINLOCK = y PARAVIRT_UNFAIR_LOCKS = n (queue spinlock with > paravirt) > > > Ebizzy % improvements > ======================== > overcommit A B C > 0.5x 4.4265 2.0611 1.5824 > 1.0x 0.9015 -7.7828 4.5443 > 1.5x 46.1162 -2.9845 -3.5046 > 2.0x 99.8150 -2.7116 4.7461 > > Dbench %improvements > overcommit A B C > 0.5x 3.2617 3.5436 2.5676 > 1.0x 0.6302 2.2342 5.2201 > 1.5x 5.0027 4.8275 3.8375 > 2.0x 23.8242 4.5782 12.6067 > > Absolute values of base results: (overcommit, value, stdev) > Ebizzy ( records / sec with 120 sec run) > 0.5x 20941.8750 (2%) > 1.0x 17623.8750 (5%) > 1.5x 5874.7778 (15%) > 2.0x 3581.8750 (7%) > > Dbench (throughput in MB/sec) > 0.5x 10009.6610 (5%) > 1.0x 6583.0538 (1%) > 1.5x 3991.9622 (4%) > 2.0x 2527.0613 (2.5%) > Thank for the testing. I will include your Test-by tag in the next version. -Longman