From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 07:35:22 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 A5CDF16A4CE for ; Thu, 21 Oct 2004 07:35:22 +0000 (GMT) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87D8743D2F for ; Thu, 21 Oct 2004 07:35:21 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id i9L7ZCi3012212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Oct 2004 09:35:14 +0200 Message-ID: <417766B0.1020409@ng.fadesa.es> Date: Thu, 21 Oct 2004 09:35:12 +0200 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: gl, en, es MIME-Version: 1.0 Cc: freebsd-current@freebsd.org References: <20041015190638.C5A0E5D04@ptavv.es.net> <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> <41753A8F.4040809@ng.fadesa.es> <6.1.2.0.0.20041019121353.026745f8@64.7.153.2> In-Reply-To: <6.1.2.0.0.20041019121353.026745f8@64.7.153.2> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on tierra2 X-Virus-Status: Clean Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 07:35:22 -0000 Mike Tancsa wrote: > Its strange that you do not see any difference in speed when reading > from the device directly vs a file ? I see quite a difference in my > setup on a RELENG_5 box and not so much a difference on a RELENG_4 box. > Perhaps as someone suggested, the GEOM layer ? > > e.g. create a file with junk larger than your RAM. (the machine below > has 256M) -- same mobo and same disks -- OpenBSD 3.5: dd if=/mnt/aa of=/dev/null bs=1024k count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 18.743 secs (57287584 bytes/sec) FreeBSD 5.3rc1: # dd if=/mnt/aa of=/dev/null bs=1024k count=1024 1024+0 records in 1024+0 records out 1073741824 bytes transferred in 42.215597 secs (25434719 bytes/sec) > On FreeBSD 915.sentex.ca 5.3-STABLE FreeBSD 5.3-STABLE #1: Mon Oct 18 > > 915# dd if=/dev/urandom of=/usr/tmp/b bs=1024k count=1024 > 1024+0 records in > 1024+0 records out > 1073741824 bytes transferred in 40.103750 secs (26774100 bytes/sec) > > Now, for the read speed > > 915# dd if=/dev/ad2s1d of=/dev/null bs=1024k count=1000 > 256+0 records in > 256+0 records out > 268435456 bytes transferred in 4.606747 secs (58270065 bytes/sec) > 915# dd if=/dev/ad2 of=/dev/null bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 18.049106 secs (58095730 bytes/sec) > 915# dd if=/usr/tmp/b of=/dev/null bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 29.876008 secs (35097594 bytes/sec) > 915# dd if=/usr/tmp/b of=/dev/null bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 29.952459 secs (35008011 bytes/sec) > 915# > > 58 vs 35. > > Yet on a RELENG_4 machine, the difference is not nearly as acute. > Considering the RELENG_4 box is a Celeron 1000 blasting a ad0: 38166MB > [77545/16/63] at ata0-master UDMA100 I am surprised by the > results. > > proxy-a# dd if=/dev/ad0s1e of=/dev/null bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 20.884694 secs (50207870 bytes/sec) > proxy-a# > proxy-a# dd if=/usr/tmp/b of=/dev/null bs=1024k count=1000 > 1000+0 records in > 1000+0 records out > 1048576000 bytes transferred in 24.908032 secs (42097907 bytes/sec) > > > ---Mike > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"