Re: RAID 5 performance problems

Peter L. Ashford (ashford@sdsc.edu)
Thu, 3 Apr 2003 14:28:59 -0800 (PST)


Jonathan,

> > OK. We've found a potential issue. Are the disks being identified as
> > UDMA-33 or UDMA-66/100/133? The performance numbers agree too closely for
> > this to be a coincidence. Check the boot logs.
>
> I looked into /var/log/dmesg and found this:
>
> blk: queue c03934a8, I/O limit 4095Mb (mask 0xffffffff)
> hdc: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=232581/16/63,
> UDMA(33)
>
> This is what you meant?

That's the one. Your 120GB drives are being seen as UDMA-33. Whatever is
causing this is slowing you down. Fix this, and the performance should
improve.

> but after the boot I set hdparm manually for each drive with the following
> settings:
>
> hdparm -a8 -A1 -c1 -d1 -m16 -u1 /dev/hdc.

According to your single-drive benchmarks, it didn't do the job. You'll
have to find the CAUSE of the UDMA-33 identification, and fix it. An
example (not necessarily your problem) is that if a 40-conductor cable is
used, you CAN'T set the drive to UDMA-66/100/133. There may also be some
settings in the drive or controller, or some jumpers, that are keeping the
drive from switching to the fast modes.

Once you get the drives being identified at a fast UDMA, you then need to
again verify the array performance. It should have climbed significantly.

Good luck.
Peter Ashford

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