From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 13:25:35 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 889ED16A4CE for ; Wed, 27 Oct 2004 13:25:35 +0000 (GMT) Received: from freebee.digiware.nl (dsl439.iae.nl [212.61.63.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B0A943D31 for ; Wed, 27 Oct 2004 13:25:34 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from [212.61.27.71] (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with ESMTP id i9RDPW9S088314; Wed, 27 Oct 2004 15:25:32 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <417FA1CB.2000601@withagen.nl> Date: Wed, 27 Oct 2004 15:25:31 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Alexander S. Usov" References: <200410271444.04324.A.S.Usov@kvi.nl> In-Reply-To: <200410271444.04324.A.S.Usov@kvi.nl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: 5.3-RC1 poor ATA perfomance 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, 27 Oct 2004 13:25:35 -0000 Alexander S. Usov wrote: > Hi! > > I have hit a very strange problem with a poor ata perfomance. > > First some numbers: > === FreeBSD 5.3-RC1 > # dd if=/dev/ad0 of=/dev/null bs=1m count=512 > 536870912 bytes transferred in 23.891834 secs (22470896 bytes/sec) > # dd if=/dev/zero of=/dev/ad0s1 bs=1m count=512 > 536870912 bytes transferred in 35.413467 secs (15160078 bytes/sec) > > === Linux 2.6.8-1 (OpenBSD also gives similar numbers) > # dd if=/dev/hda of=/dev/null bs=1M count=512 > 536870912 bytes transferred in 22.272891 seconds (24104231 bytes/sec) > # dd if=/dev/zero of=/dev/hda1 bs=1M count=512 > 536870912 bytes transferred in 23.574157 seconds (22773706 bytes/sec) > > As you see the writing is quite slower. > > Some details on hardware: > atapci0: port 0x1860-0x186f,0x376, > 0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 > ata0: channel #0 on atapci0 > ad0: 38154MB [77520/16/63] at ata0-master UDMA100 > > ad1 is absent. > Arrrggghhhh, please not all over again. We've just sort of terminated the previous thread about this: http://lists.freebsd.org/pipermail/freebsd-current/2004-October/040474.html And it is a LONG thread. One of the more essentail remarks made bij PHK was that this type of testing is close to no use/good. And to be honest: previously discussed number were even worse. And were probably dues to hardware which was designed/backed on monday-morning. First problem is that you need to determine what you want to do with your system. Please read the thread. --WjW