From owner-freebsd-hackers@FreeBSD.ORG Wed May 18 12:48:36 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5AB016A4CE for ; Wed, 18 May 2005 12:48:36 +0000 (GMT) Received: from mail.trident-uk.co.uk (mail.trident-uk.co.uk [194.221.74.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32E9C43D64 for ; Wed, 18 May 2005 12:48:36 +0000 (GMT) (envelope-from sparc@mail.trident-uk.co.uk) Received: from localhost (localhost.trident-uk.co.uk [127.0.0.1]) by mail.trident-uk.co.uk (Postfix) with ESMTP id 9ADAA82934; Wed, 18 May 2005 13:48:29 +0100 (BST) Received: from mail.trident-uk.co.uk ([127.0.0.1]) by localhost (cobain.trident-uk.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34662-04; Wed, 18 May 2005 13:48:29 +0100 (BST) Received: from m0ng.noc.trident-uk.co.uk (m0ng.noc.trident-uk.co.uk [192.168.122.20]) by mail.trident-uk.co.uk (Postfix) with ESMTP id E018182931; Wed, 18 May 2005 13:48:28 +0100 (BST) Received: by m0ng.noc.trident-uk.co.uk (Postfix, from userid 1001) id 8A71F6604; Wed, 18 May 2005 13:48:31 +0100 (BST) Date: Wed, 18 May 2005 13:48:31 +0100 From: Jamie Heckford To: Hans Ottevanger Message-ID: <20050518124831.GA11500@nipples.trident-uk.co.uk> References: <427FA802.90805@chamkila.org> <427FA8CD.8040405@centtech.com> <427FAB5F.6070508@chamkila.org> <428A554F.8010203@iae.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <428A554F.8010203@iae.nl> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at trident-uk.co.uk cc: freebsd-hackers@freebsd.org cc: Amandeep Subject: Re: Low HDD tranfer rate with FreeBSD 5.3-Release X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jamie@tridentmicrosystems.co.uk List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 12:48:36 -0000 On Tue, May 17, 2005 at 10:34:23PM +0200, Hans Ottevanger wrote: > Amandeep wrote: > > [... dmesg snipped ...] > > >A > >Eric Anderson wrote: > > > >>Amandeep wrote: > >> > >>>Hi all, > >>> > >>>I am using Tyan S2098 MB with 160GB Maxtor ATA Drive and the > >>>transfer rate is very low. FreeBSD 5.3-Release. > >>>Any ideas what is going on here. > >>> > >>>The transfer rate is about 15MB/s > >>> > >>>when I run > >>>#dd if=/dev/zero of=/usr/junk bs=8192 > >>> > >>>then do > >>>#iostat 1 > >> > > > Hi, > > I had practically the same problem, i.e. the same very low ATA write > speed, with very similar hardware (ASUS P533-E, same chipset and CPU as > yours). This occurred with both 5.3-STABLE and 5.4-STABLE. > > I found that the problem disappears when I disable atapi_dma in the > loader (or with 5.4, do not enable it). Alternatively, I can use > "atacontrol mode 0 UDMA100" to force the ATA channel for the harddisk to > UDMA100. I do not know why this works though, I still need some closer > investigation. Something weird in the ATA driver must be going on. > > Anyhow, my HDD (WD-1200JB) is up-to-speed now, -45Mbytes/s reading AND > writing. > Same here, along with the random crashes around the time periodic runs which was posted the other day. We are getting all these problems with 5.4-R with the ATA mkIII patches applied also. Will test the atacontrol command and see what happens! -- Jamie Heckford Network Manager Trident Microsystems Ltd. t: +44(0)1737-780790 f: +44(0)1737-771908 w: http://www.tridentmicrosystems.co.uk/