Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221Ab1FRIJY (ORCPT ); Sat, 18 Jun 2011 04:09:24 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:42976 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029Ab1FRIJM (ORCPT ); Sat, 18 Jun 2011 04:09:12 -0400 Date: Sat, 18 Jun 2011 10:08:18 +0200 From: Ingo Molnar To: Andi Kleen Cc: Linus Torvalds , Peter Zijlstra , Tim Chen , Shaohua Li , Andrew Morton , Hugh Dickins , KOSAKI Motohiro , Benjamin Herrenschmidt , David Miller , Martin Schwidefsky , Russell King , Paul Mundt , Jeff Dike , Richard Weinberger , "Luck, Tony" , KAMEZAWA Hiroyuki , Mel Gorman , Nick Piggin , Namhyung Kim , "Shi, Alex" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "Rafael J. Wysocki" Subject: Re: REGRESSION: Performance regressions from switching anon_vma->lock to mutex Message-ID: <20110618080818.GA10351@elte.hu> References: <1308255972.17300.450.camel@schen9-DESK> <1308310080.2355.19.camel@twins> <20110617194029.GA28954@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110617194029.GA28954@tassilo.jf.intel.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1446 Lines: 38 * Andi Kleen wrote: > On Fri, Jun 17, 2011 at 09:46:00AM -0700, Linus Torvalds wrote: > > On Fri, Jun 17, 2011 at 4:28 AM, Peter Zijlstra wrote: > > > > > > Something like so? Compiles and runs the benchmark in question. > > > > Oh, and can you do this with a commit log and sign-off, and I'll put > > it in my "anon_vma-locking" branch that I have. I'm not going to > > actually merge that branch into mainline until I've seen a few more > > acks or more testing by Tim. > > > > But if Tim's numbers hold up (-32% to +15% performance by just the > > first one, and +15% isn't actually an improvement since tmpfs > > read-ahead should have gotten us to +66%), I think we have to do this > > just to avoid the performance regression. > > You could also add the mutex "optimize caching protocol" > patch I posted earlier to that branch. > > It didn't actually improve Tim's throughput number, but it made the > CPU consumption of the mutex go down. Why have you ignored the negative feedback for that patch: http://marc.info/?i=20110617190705.GA26824@elte.hu and why have you resent this patch without addressing that feedback? Thanks, Ingo -- 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/