Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 1998 01:44:48 -0400
From:      Mark Mayo <mark@vmunix.com>
To:        Bruce Evans <bde@zeta.org.au>, mike@smith.net.au
Cc:        hardware@FreeBSD.ORG
Subject:   Re: best wdc0 flags ?
Message-ID:  <19980419014448.18673@vmunix.com>
In-Reply-To: <199804190212.MAA14356@godzilla.zeta.org.au>; from Bruce Evans on Sun, Apr 19, 1998 at 12:12:21PM %2B1000
References:  <199804190212.MAA14356@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 19, 1998 at 12:12:21PM +1000, Bruce Evans wrote:
> >We've been duplicating 3GB Western Digital disks the last few days under
> >2.2.6, flags 0x80ff80ff on 166MHz P5/430TX boards, and averaging about
> >5M/sec throughput.
> 
> Seems a bit slow.  For a Fireball ST6.4 under -current, flags 0xa0ffa0ff
> (DMA...) on a K6/233/VIA2, I get 9-10M/sec for `dd if=/dev/rwd2
> of=/dev/null bs=1m count=1280'.  5-6M/sec is normal for the previous
> generation of 5400 rpm IDE drives and for the outer tracks of this drive.

Hmm.. As I previously posted, I'm only getting about 2MB/s...
dd if=/dev/rwd0, dd if=/dev/wd0, iozone, bonnie all get the same
2MB/s..
(flags of 0x80ff80ff)

> A bad idea.  /dev/wd1 is not a raw disk.  It is a buffered disk
> 	$ time dd if=/dev/rwd2 of=/dev/null bs=1m count=1280  # raw
> 	1280+0 records in
> 	1280+0 records out
> 	1342177280 bytes transferred in 136.574105 secs (9827465 bytes/sec)
> 	      137.22 real         0.00 user         2.04 sys

Damn.. I just tried doing a
	dd if=/dev/rwd0 of=/dev/null bs=1m count=1280

My machine quite literaly came to a standstill while this transfer
took place. I could not deliver a single keystroke to the thing, and
a telnet attempt just hung on the "Connected" part without presenting
an acualy login. Benchmark finished, machine came back to life
like nothing happened. Load was over 20. It's like the dd monopolized
all interupts or something? Note that a dd with if=/dev/wd0 behaved
"normally".. only the rwd0 reading caused hell.

I noticed that even on the "wd0" and iozone writes my load was
at 1.00 or greater. 

I'm pretty sure that the FireBall SE should be just as fast (or faster)
than the FireBall ST, and the P166 should be able to max it out at
9MB/s or so like you are seeing.

I'm assuming something weird is happening with my interupts, but I
don't know what exactly, or why....

Any ideas what's going wrong here?

-Mark

> Bruce

-- 
------------------------------------------------------------------------
 Mark Mayo		  				mark@vmunix.com       
 RingZero Comp.  	  		    http://www.vmunix.com/mark 

	 finger mark@vmunix.com for my PGP key and GCS code
------------------------------------------------------------------------
 "The problem is how do you build tools that understand your programs
  at a deeper semantic level." - James Gosling

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



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