From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Wed, 20 Aug 2008 23:03:18 -0700 (PDT) Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m7L63EHU007797 for ; Wed, 20 Aug 2008 23:03:16 -0700 Received: from ipmail01.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6834D1A1DAEF for ; Wed, 20 Aug 2008 23:04:34 -0700 (PDT) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by cuda.sgi.com with ESMTP id rHKV6W0EbiGsq26m for ; Wed, 20 Aug 2008 23:04:34 -0700 (PDT) Date: Thu, 21 Aug 2008 16:04:18 +1000 From: Dave Chinner Subject: Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: continuous snapshotting file system) Message-ID: <20080821060418.GC5706@disturbed> References: <20080820004326.519405a2.akpm@linux-foundation.org> <200808201613.AA00212@capsicum.lab.ntt.co.jp> <20080820143916.1a7eddab.akpm@linux-foundation.org> <20080821021259.GA5706@disturbed> <20080821051508.GB5706@disturbed> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080821051508.GB5706@disturbed> Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: Szabolcs Szakacsits , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, xfs@oss.sgi.com On Thu, Aug 21, 2008 at 03:15:08PM +1000, Dave Chinner wrote: > On Thu, Aug 21, 2008 at 05:46:00AM +0300, Szabolcs Szakacsits wrote: > > On Thu, 21 Aug 2008, Dave Chinner wrote: > > Everything is default. > > > > % rpm -qf =mkfs.xfs > > xfsprogs-2.9.8-7.1 > > > > which, according to ftp://oss.sgi.com/projects/xfs/cmd_tars, is the > > latest stable mkfs.xfs. Its output is > > > > meta-data=/dev/sda8 isize=256 agcount=4, agsize=1221440 blks > > = sectsz=512 attr=2 > > data = bsize=4096 blocks=4885760, imaxpct=25 > > = sunit=0 swidth=0 blks > > naming =version 2 bsize=4096 > > log =internal log bsize=4096 blocks=2560, version=2 > > = sectsz=512 sunit=0 blks, lazy-count=0 > > realtime =none extsz=4096 blocks=0, rtextents=0 > > Ok, I thought it might be the tiny log, but it didn't improve anything > here when increased the log size, or the log buffer size. One thing I just found out - my old *laptop* is 4-5x faster than the 10krpm scsi disk behind an old cciss raid controller. I'm wondering if the long delays in dispatch is caused by an interaction with CTQ but I can't change it on the cciss raid controllers. Are you using ctq/ncq on your machine? If so, can you reduce the depth to something less than 4 and see what difference that makes? Cheers, Dave. -- Dave Chinner david@fromorbit.com