From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 12:44:23 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 135B416A4CE for ; Wed, 27 Oct 2004 12:44:23 +0000 (GMT) Received: from KVIW12.KVI.nl (KVIW12.KVI.nl [129.125.15.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5907C43D64 for ; Wed, 27 Oct 2004 12:44:22 +0000 (GMT) (envelope-from A.S.Usov@KVI.nl) Received: from KVIR52.KVI.nl ("port 43506"@KVIR52.KVI.nl [129.125.37.116]) <01LGJ2YMSZ8OD41KQI@KVI.nl> for current@freebsd.org; Wed, 27 Oct 2004 14:44:18 +0200 (MET DST) Received: from KVIW06.KVI.NL by KVIR52.KVI.nl (AvMailGate-2.0.2-9) id 30700-67494709; Wed, 27 Oct 2004 14:44:17 +0200 Received: from kvip88 ("port 51351"@KVIP88.KVI.nl [129.125.15.152]) <01LGJ2YCZR72D41IRD@KVI.nl> for current@freebsd.org; Wed, 27 Oct 2004 14:44:05 +0200 (MET DST) Date: Wed, 27 Oct 2004 14:44:04 +0200 From: "Alexander S. Usov" To: current@freebsd.org Message-id: <200410271444.04324.A.S.Usov@kvi.nl> Organization: KVI MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.7 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.2-9; AVE: 6.28.0.11; VDF: 6.28.0.41; host: kvi.nl) Subject: 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 12:44:23 -0000 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. -- Best regards, Alexander.