Re: Low performace of SCSI writes.

Mark Lord (mlord@pobox.com)
Mon, 10 May 1999 19:12:32 -0400


Oscar Levi wrote:
>
> On Mon, May 10, 1999 at 04:00:14PM +0200, Juan Piernas Cánovas wrote:
> > I have problems with a SCSI hard disk. The program Bonnie gives me this
> > -------Sequential Output-------- ---Sequential Input--
> > - --Random--
> > -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
> > - --Seeks---
> > Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU
> > /sec %CPU
> > 300 4712 66.2 4584 6.1 3786 10.6 6897 92.0 14052 14.1
> > 549.0 4.5
..
> > * SCSI controller: Adaptec AIC-7890 SCSI BIOS v2.01 (built in
> > motherboard)
> > * SCSI hard disk: Fujitsu MAC3045SC Fast/Ultra-SE.
..
> That's a very poor performance. The first thing to do is check the

Looks kinda down there by modern standards,
but typical for low/middle end SCSI.

No SCSI here, but they tell me (by the dozens)
that SCSI is way faster than IDE, so you should probably
be looking for numbers at least as good as my IDE stuff.

This first set of numbers is for a single IDE drive on a P2-400/256MB:
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
512 14622 80.3 16669 16.2 6830 16.0 13983 63.1 17258 16.2 178.1 1.5

The next set is for a pair of slightly slower IDE drives in RAID0:
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
512 17155 94.5 24116 24.2 9653 24.5 16516 70.3 21792 25.3 209.5 1.9

Don't be mislead by the %CPU numbers like many folks are.
They look "high" here simply because the I/O is so fast
that the CPU is seldom idle waiting for something new to do.

-- 
mlord@pobox.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/