Skip site navigation (1)Skip section navigation (2)
Date:      07 Feb 2003 14:15:43 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Dong Lin <dong@plan9.bell-labs.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: ATA code is buggy and slower
Message-ID:  <1044589542.7212.5.camel@chowder.gsoft.com.au>
In-Reply-To: <3E43248F.2030303@plan9.bell-labs.com>
References:  <3E43248F.2030303@plan9.bell-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-02-07 at 13:44, Dong Lin wrote:
> My 5.0R kernel complains about "READ timeout" and "resetting" when I try 
> to dd the disk. But everything *works* if I boot the same equipment with 
> 4.5R and 4.7R. It seems that the error can occur on any sector I pick as 
> long as I keep reading it inside a loop, a sign of timing problems.
> 
> The 5.0 ATA code is so different that I am not sure where to start. If 
> someone can show me a way to run the 4.7 ATA code under 5.0, I am 
> willing to debug it.
> 
> My equipment: Promise ATA66 controller(0x4d38105a r01), WDC WD400BB 
> ATA/100, ATA66 cable.
> 
> Also, my simple dd measurements show that performance is going down:
> 
> dd if=/dev/ad4 of=/dev/null bs=8m
> 4.5R:	49 MB/s
> 4.7R:	39 MB/s
> 5.0R:	does not finish

You might get more help if you sent a more complete problem
description..

eg dmesg output for a start.

I'm pretty sure the 5.x code is almost identical to the 4.x stuff bar
extra locking calls.

My Quantum fireball drive gets 35Mb/sec under both 4.5 and 4.7..
I have a WD800BB on a 4.7 box and it does 48.7 Mb/sec.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1044589542.7212.5.camel>