From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 02:51:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4B6216A4CE for ; Wed, 20 Oct 2004 02:51:49 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62E5943D46 for ; Wed, 20 Oct 2004 02:51:49 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i9K2qAqA047392; Tue, 19 Oct 2004 20:52:11 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <4175D269.208@freebsd.org> Date: Tue, 19 Oct 2004 20:50:17 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Xin LI References: <41715E7F.7060509@ng.fadesa.es> <20041018100045.f8koww0skcco0woo@www.sweetdreamsracing.biz> <4173D66F.6010200@DeepCore.dk> <4173F2E9.7010407@ng.fadesa.es> <417406E3.9010706@DeepCore.dk> <4174FD04.8040000@ng.fadesa.es> <20041019104525.ikgw8kcw8sw480os@www.sweetdreamsracing.biz> <4129.192.168.0.188.1098211592.squirrel@192.168.0.188> <20041019200908.GA655@frontfree.net> <4259.192.168.0.188.1098217092.squirrel@192.168.0.188> <20041020024908.GA3797@frontfree.net> In-Reply-To: <20041020024908.GA3797@frontfree.net> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: Mike Jakubik cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 02:51:50 -0000 Xin LI wrote: > Hi, Mike > > On Tue, Oct 19, 2004 at 04:18:12PM -0400, Mike Jakubik wrote: > >>Xin LI said: >> >> >>>Unfortunatelly I can reproduce similiar problem when using Ultra320 under >>>mpt(4) and a version of Adaptec's SCSI card (maybe aic, or something else, >>>which I have to go to my office to find out). Additionally the problem is >>>not FreeBSD specific, with a Linux installation, it shows poor performance >>>too. (No RAID configuration, though). >>> >>>I found that block size does influence performance greatly. With a block >>>size of 131072 I got peak read performance at about 70MB/s, but that's >>>all. >>>I did not have the necessary knowledge at the time I have did the test >>>last >>>month, so I got only the result and thought that I have made something >>>wrong and hoped someone to correct me with no luck :-( >> >>Hrm, i tried your block size, and the performance is even worse: >> >># dd if=/dev/da0 of=/dev/null bs=131072 count=2000 >>2000+0 records in >>2000+0 records out >>262144000 bytes transferred in 8.688651 secs (30170852 bytes/sec) > > > You may want to try other block sizes, like 65536, 262144, 524288, 1048576 > or so. The peak performance block size depends heavily on hardware... > > Cheers, This won't really matter. physio will chop the blocks up into 128k segments, and GEOM will cut them again into 64k segments. Other than a minor amount of coelscing in these stages, it won't make a difference. Scott