Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754621Ab3H3HQT (ORCPT ); Fri, 30 Aug 2013 03:16:19 -0400 Received: from mail-ea0-f181.google.com ([209.85.215.181]:48003 "EHLO mail-ea0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754037Ab3H3HQR (ORCPT ); Fri, 30 Aug 2013 03:16:17 -0400 Date: Fri, 30 Aug 2013 09:16:12 +0200 From: Ingo Molnar To: Linus Torvalds Cc: Benjamin Herrenschmidt , Waiman Long , Alexander Viro , Jeff Layton , Miklos Szeredi , Ingo Molnar , Thomas Gleixner , linux-fsdevel , Linux Kernel Mailing List , Peter Zijlstra , Steven Rostedt , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" , Michael Neuling Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount Message-ID: <20130830071612.GB14099@gmail.com> References: <1375758759-29629-1-git-send-email-Waiman.Long@hp.com> <1375758759-29629-2-git-send-email-Waiman.Long@hp.com> <1377751465.4028.20.camel@pasglop> <20130829070012.GC27322@gmail.com> <1377822408.4028.44.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1267 Lines: 30 * Linus Torvalds wrote: > > BTW. Do you have your test case at hand ? > > My test-case is a joke. It's explicitly *trying* to get as much > contention as possible on a dentry, by just starting up a lot of threads > that look up one single pathname (the same one for everybody). It > defaults to using /tmp for this, but you can specify the filename. Waiman's tests seemed to use sufficiently generic and varied workloads (AIM7) and they showed pretty nice unconditional improvements with his variant of this scheme, so I think testing with your simple testcase that intentionally magnifies the scalability issue is 100% legit and may in fact help tune the changes more accurately, because it has less inherent noise. And that was on a 80 core system. The speedup should be exponentially more dramatic on silly large systems. A nicely parallel VFS isn't a bad thing to have, especially on ridiculously loud hardware you want to run a continent away from you. 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/