[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090409200530.GB6033@nowhere>
Date: Thu, 9 Apr 2009 22:05:31 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: Ingo Molnar <mingo@...e.hu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Jeff Mahoney <jeffm@...e.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
ReiserFS Development List <reiserfs-devel@...r.kernel.org>,
Bron Gondwana <brong@...tmail.fm>,
Andrew Morton <akpm@...ux-foundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH] reiserfs: kill-the-BKL
On Thu, Apr 09, 2009 at 09:36:35PM +0200, Andi Kleen wrote:
> > Using a mutex seems like the sane choice here. I'd advocate spinlocks
> > for a new filesystem any day (but even there it's a fine choice to have
> > a mutex, if top of the line scalability is not an issue).
> >
> > But for a legacy filesystem like reiser3, which depended on the BKL
>
> reiser3 is much more widely used in the user base than a lot of "non
> legacy" file systems. It's very likely it has significantly
> more users than ext4 for example. Remember that it was the default file system
> for a major distribution until very recently. I also got a few
> reiser3 fs still around, it tended to perform very well
> on kernel hacker workloads.
>
> Given all that I think the current performance penalties Frederic reports
> are not acceptable. Dropping BKL is not a cause in itself, but should
> just improve performance.
It's not only about performances, latency is also a fair goal here.
Moreover, reiserfs is not the only one concerned while dropping its
Bkl, this is one big source of contention less for the rest of the system.
And concerning performance, I'm working on it :-)
Frederic.
> > auto-dropping on schedule() it would be rather fragile to use spinlocks,
> > and it would take forever to validate the result.
>
> Not convinced it would be that hard. It could be probably done with some
> straight forward static code analysis. And after that since there's
> not much development going anymore it's unlikely to break again.
>
> -Andi
>
> --
> ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists