Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262194AbVDMEhY (ORCPT ); Wed, 13 Apr 2005 00:37:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262591AbVDMEfI (ORCPT ); Wed, 13 Apr 2005 00:35:08 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:39629 "EHLO e1.ny.us.ibm.com") by vger.kernel.org with ESMTP id S262505AbVDLS6L (ORCPT ); Tue, 12 Apr 2005 14:58:11 -0400 Message-ID: <425C1B94.1080308@austin.ibm.com> Date: Tue, 12 Apr 2005 14:03:48 -0500 From: Steven Pratt User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Morton CC: Nick Piggin , linux-kernel@vger.kernel.org, axboe@suse.de Subject: Re: 2.6.12-rc2-mm3 References: <20050411012532.58593bc1.akpm@osdl.org> <20050411220013.23416d5f.akpm@osdl.org> <425B61DD.60700@yahoo.com.au> <20050411231941.1b8548bb.akpm@osdl.org> <1113288543.5090.34.camel@npiggin-nld.site> <20050412005045.5dc05310.akpm@osdl.org> In-Reply-To: <20050412005045.5dc05310.akpm@osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3046 Lines: 78 Andrew Morton wrote: >Nick Piggin wrote: > > >>>> AS basically does its own TCQ strangulation, which IIRC involves things >>>> >>>> >> > > like completing all reads before issuing new writes, and completing all >> > > reads from one process before reads from another. As well as the >> > > fundamental way that waiting for a 'dependant read' throttles TCQ. >> > >> > My (mpt-fusion-based) workstation is still really slow when there's a lot >> > of writeout happening. Just from a quick test: >> > >> > > 2.6.12-rc2, as, tcq depth=2: 7.241 seconds >> > > 2.6.12-rc2, as, tcq depth=64: 12.172 seconds >> > > 2.6.12-rc2+patch,as, tcq depth=64: 7.199 seconds >> > > 2.6.12-rc2, cfq2, tcq depth=64: much more than 5 minutes >> > > 2.6.12-rc2, cfq3, tcq depth=64: much more than 5 minutes >> > >> > 2.6.11-rc4-mm1, as, mpt-f 39.349 seconds >> > >> > That was really really slow but had a sudden burst of read I/O at the end >> > which made the thing look better than it really is. I wouldn't have a clue >> > what tag depth it's using, and it's the only mpt-fusion based machine I >> > have handy... >> > >> >> Heh. >> >> > >Well with my current lineup on the mpt-fusion driver and no >as-limit-queue-depth.patch that test takes 17 seconds. With >as-limit-queue-depth.patch it's down to 10 seconds. Which is pretty darn >good btw. I assume from this: > >scsi0 : ioc0: LSI53C1030, FwRev=01030600h, Ports=1, MaxQ=222, IRQ=25 >scsi1 : ioc1: LSI53C1030, FwRev=01030600h, Ports=1, MaxQ=222, IRQ=26 > >that it's using a tag depth of 222. > > int req_depth; /* Number of request frames */ > >I wonder if that's true... > > >One thing which changed is that this kernel now has the fixed-up mpt-fusion >chipset tuning. That doubles the IO bandwidth, which would pretty well >account for that difference. I'll wait and see how irritating things get >under writeout load. > >Yes, we'll need to decide if we want to retain as-limit-queue-depth.patch >and toss out some of the older AS logic which was designed to address the >TCQ problem. > >Steve, could you help to identify a not-too-hard-to-set-up workload at >which AS was particularly poor? Thanks. > > AS with XFS was pretty bad on a couple of workloads. random 4k reads and "metadata" which was 40%create, 40%append, 20%delete multithreaded workloads. I'll try to run a few tests with and without this patch on my hardware setup over the next day or so and see how it does. I have not really looked at AS performance since about 2.6.6/7. Our database team recently re-checked IO Scheduler performance, and on the Ad Hoc Decision Support Workload we still saw a 15-20% lower throughput on RHEL4 with AS compared to other schedulers which were all within a couple of %. Steve - 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/