From owner-freebsd-hackers@FreeBSD.ORG Tue May 17 20:34:30 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 A202D16A4CE for ; Tue, 17 May 2005 20:34:30 +0000 (GMT) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 258DD43DB3 for ; Tue, 17 May 2005 20:34:29 +0000 (GMT) (envelope-from hansot@iae.nl) Received: from beasties.demon.nl ([82.161.3.114]:4654 helo=[192.168.0.2]) by post-23.mail.nl.demon.net with esmtp (Exim 4.43) id 1DY8lk-000CyX-31; Tue, 17 May 2005 20:34:24 +0000 Message-ID: <428A554F.8010203@iae.nl> Date: Tue, 17 May 2005 22:34:23 +0200 From: Hans Ottevanger User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.6) Gecko/20050328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Amandeep References: <427FA802.90805@chamkila.org> <427FA8CD.8040405@centtech.com> <427FAB5F.6070508@chamkila.org> In-Reply-To: <427FAB5F.6070508@chamkila.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 18 May 2005 12:39:55 +0000 cc: freebsd-hackers@freebsd.org 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 List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 20:34:30 -0000 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 >> >> >> >> You should probably provide the appropriate information from dmesg >> output, along with what you expect it to be, and the outputs of the >> dd command. >> >> Eric >> >> >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > 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. Kind regards, Hans