Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763148AbXEPT4a (ORCPT ); Wed, 16 May 2007 15:56:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759293AbXEPT4X (ORCPT ); Wed, 16 May 2007 15:56:23 -0400 Received: from rgminet01.oracle.com ([148.87.113.118]:58483 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757979AbXEPT4W (ORCPT ); Wed, 16 May 2007 15:56:22 -0400 Date: Wed, 16 May 2007 15:53:59 -0400 From: Chris Mason To: Andrew Morton Cc: Chuck Ebbert , linux-kernel@vger.kernel.org Subject: Re: filesystem benchmarking fun Message-ID: <20070516195359.GE26766@think.oraclecorp.com> References: <20070516144205.GV26766@think.oraclecorp.com> <464B2AC2.10206@redhat.com> <20070516171156.GY26766@think.oraclecorp.com> <20070516112515.b6f247b2.akpm@linux-foundation.org> <20070516191339.GA26766@think.oraclecorp.com> <20070516123342.714a11d8.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070516123342.714a11d8.akpm@linux-foundation.org> User-Agent: Mutt/1.5.12-2006-07-14 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1975 Lines: 53 On Wed, May 16, 2007 at 12:33:42PM -0700, Andrew Morton wrote: > On Wed, 16 May 2007 15:13:39 -0400 > Chris Mason wrote: > > > > > > > If that's still working then the problem will _probably_ be directory > > > writeout. Possibly inodes, but they should be well-laid-out. > > > > > > Were you using dir_index? That might be screwing things up. > > > > Yes, dir_index. A quick test of mkfs.ext3 -O ^dir_index seems to still > > have the problem. Even though the inodes are well laid out, is the > > order they get written sane? > > Should be: it uses first-fit. > > > Looks like ext3 is just walking a list of > > bh/jh, maybe we can just sort the silly thing? > > The IO scheduler is supposed to do that. > > But I don't know what's causing this. I had high hopes of blaming cfq, but deadline gives the same results: create dir kernel-0 222MB in 5.38 seconds (41.33 MB/s) ... [ ~30MB/s here ] ... create dir kernel-7 222MB in 8.11 seconds (27.42 MB/s) create dir kernel-8 222MB in 18.39 seconds (12.09 MB/s) create dir kernel-9 222MB in 6.91 seconds (32.18 MB/s) create dir kernel-10 222MB in 24.32 seconds (9.14 MB/s) create dir kernel-11 222MB in 12.06 seconds (18.44 MB/s) create dir kernel-12 222MB in 10.95 seconds (20.31 MB/s) The good news is that if you let it run long enough, the times stabilize. The bad news is: create dir kernel-86 222MB in 15.85 seconds (14.03 MB/s) create dir kernel-87 222MB in 28.67 seconds (7.76 MB/s) create dir kernel-88 222MB in 18.12 seconds (12.27 MB/s) create dir kernel-89 222MB in 19.77 seconds (11.25 MB/s) echo 2048 > /sys/block/..../nr_requests didn't do it either. I guess I'll have systemtap tell me more about the log flushing. -chris - 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/