Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757544AbaGAIGQ (ORCPT ); Tue, 1 Jul 2014 04:06:16 -0400 Received: from casper.infradead.org ([85.118.1.10]:54216 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757470AbaGAIGL (ORCPT ); Tue, 1 Jul 2014 04:06:11 -0400 Date: Tue, 1 Jul 2014 10:05:37 +0200 From: Peter Zijlstra To: Raghavendra K T Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, konrad.wilk@oracle.com, pbonzini@redhat.com, gleb@redhat.com, paulmck@linux.vnet.ibm.com, torvalds@linux-foundation.org, waiman.long@hp.com, riel@redhat.com, davej@redhat.com, oleg@redhat.com, x86@kernel.org, jeremy@goop.org, paul.gortmaker@windriver.com, ak@linux.intel.com, jasowang@redhat.com, fernando_b1@lab.ntt.co.jp, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xenproject.org, mtosatti@redhat.com, chegu_vinod@hp.com Subject: Re: [RFC PATCH v2] Implement Batched (group) ticket lock Message-ID: <20140701080537.GH6758@twins.programming.kicks-ass.net> References: <1403947024-3193-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403947024-3193-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 28, 2014 at 02:47:04PM +0530, Raghavendra K T wrote: > In virtualized environment there are mainly three problems > related to spinlocks that affects performance. > 1. LHP (lock holder preemption) > 2. Lock Waiter Preemption (LWP) > 3. Starvation/fairness > > Though Ticketlocks solve fairness problem it worsens LWP, LHP problems. Though > pv-ticketlocks tried to address these problems we can further improve at the > cost of relaxed fairness. The following patch tries to achieve that by grouping > (batched) ticketlocks. And here I stop reading and ignore this patch, right? Why should I look at this? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/