Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261417AbVE2TWC (ORCPT ); Sun, 29 May 2005 15:22:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261414AbVE2TWC (ORCPT ); Sun, 29 May 2005 15:22:02 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:10899 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S261410AbVE2TVy (ORCPT ); Sun, 29 May 2005 15:21:54 -0400 Date: Sun, 29 May 2005 21:21:08 +0200 From: Jens Axboe To: Jeff Garzik Cc: Mark Lord , Michael Thonke , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Playing with SATA NCQ Message-ID: <20050529192108.GC30586@suse.de> References: <20050526140058.GR1419@suse.de> <429793C8.8090007@gmail.com> <42979C4F.8020007@pobox.com> <42979FA3.1010106@gmail.com> <20050528121258.GA17869@suse.de> <4299BD23.6010004@gmail.com> <4299CD31.8020805@rtr.ca> <20050529190421.GB29770@suse.de> <20050529190518.GA7928@havoc.gtf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050529190518.GA7928@havoc.gtf.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1519 Lines: 36 On Sun, May 29 2005, Jeff Garzik wrote: > On Sun, May 29, 2005 at 09:04:21PM +0200, Jens Axboe wrote: > > On Sun, May 29 2005, Mark Lord wrote: > > > My basic hdparm timing test shouldn't show much of a difference > > > with NCQ tests, becase hdparm just does a single request at a time, > > > and waits for the results before issuing another. Now, kernel read-ahead > > > may result in some command overlap and a slight throughput increase, but.. > > > > > > Something like dbench and/or bonnie++ are more appropriate here. > > > > I don't like bonnie++ very much and dbench is very write intensive. I > > would suggest trying tiotest, find it on sf.net. It gets easily readable > > results and they are usually fairly consistent across runs if you limit > > the RAM to something sensible (eg 256MB and using a data set size of > > 768MB). > > As an FYI... download Stephen Tweedie's verify-data tool at > http://people.redhat.com/sct/src/verify-data/ Interesting, will try it tomorrow. > Robin Miller's 'dt' is also nice to have. Yep, have tried that in the past. I'm just recommending tiotest as an easy and good way for people to test performance quickly. Just boot with 256MB and use eg tiobench.pl --threads 8 should be a good way to test NCQ. -- Jens Axboe - 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/