From owner-freebsd-hardware@FreeBSD.ORG Sat Jan 3 16:53:55 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EDF316A4CE for ; Sat, 3 Jan 2004 16:53:55 -0800 (PST) Received: from smtp.easystreet.com (smtp.easystreet.com [206.26.36.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADE4443D55 for ; Sat, 3 Jan 2004 16:53:54 -0800 (PST) (envelope-from tashchuk@easystreet.com) Received: from easystreet.com (dsl-209-162-218-66.dsl.easystreet.com [209.162.218.66]) by smtp.easystreet.com (Postfix) with ESMTP id AAD78845F5D; Sat, 3 Jan 2004 16:53:57 -0800 (PST) Message-ID: <3FF76457.4070700@easystreet.com> Date: Sat, 03 Jan 2004 16:54:47 -0800 From: Bohdan Tashchuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hardware@freebsd.org References: <3FF62760.1030302@covad.net> In-Reply-To: <3FF62760.1030302@covad.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Dan Strick cc: d.ortiz@in.ilimit.es Subject: Re: atacontrol/udma X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 00:53:55 -0000 Dan Strick wrote: > I don't know why your I/O benchmarks report only 32 MB/sec. Perhaps > this is natural for these benchmarks and your particular drives. > You might try "dd if=/dev/ad0 of=/dev/null bs=128k" while running > "iostat 5". (The 128k buffer size may be necessary.) I get about > 56 MB/sec even though the driver thinks it has configured the drive > for UDMA33. This might not be related to original problem, but I've seen an approx 2:1 disk transfer speed ratio on various IDE drives from outer tracks to inner tracks. On the outside I've seen close to 60 MB/sec using dd but this slows to about 30 MB/sec on inner tracks. Also in my experience with FreeBSD 4.x it IS necessary to set a buffer size when using dd. The default is very small. But setting something larger than the 128k max of raw IDE, for example bs=1024k, seems to be OK.