Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: young_r@encompasserve.org (Rob Young)
Subject: Re: KZPCC-CE (three channel RAID controller) - poor read performance
Date: 1 Aug 2003 11:58:39 -0500	[thread overview]
Message-ID: <ZDIq29z4GGJu@eisner.encompasserve.org> (raw)
In-Reply-To: bgdcgb$997$1$8300dec7@news.demon.co.uk

In article <bgdcgb$997$1$8300dec7@news.demon.co.uk>, Roy Omond <Roy@Omond.net> writes:
> Gentle colleagues (cross-posted to comp.os.vms since that's
> where I mostly live),
> 
> I'm baffled by the poor read performance when reading
> from a RAID-1 set on a KZPCC-CE controller.
> 
> Scenario: 3-processor ES40 (500 MHz), running Tru64 4.0F,
> 4 Gbytes (4 Mbyte cache), KZPCC-CE with 15K rpm disks
> RAID-1 set mirrored over 2 separate SCSI buses.
> 
> Using vdump to an SDLT-1, we're observing a read throughput
> of ca. 44 Mbytes/sec to tape from a single disk.  When the
> disk is mirrored (as configured above), we're getting ca.
> 20 to 21 MBytes/sec read throughput.
> 
> I do note the rather baffling paragraph in the KZPCC-CE
> release notes (see: may wrap) page 23:
> 
> ftp://ftp.compaq.com/pub/products/alphaserver/storage/controllers/kzpcc/aa-rkl7c-te.pdf
> 
> Quote:
> 
> "This is explained by reads from RAID devices take longer than
> from a single disk drive."
> 
> (Yes, I know it's poor grammar).
> 
> Can anyone come up with a logical explanation for this ?
> It certainly goes against conventional wisdom wrt mirrorsets.
> 

	Well actually... it doesn't go against the wisdom.

	With the vdump, you are sending sequential IO.  If you sent
	a large amount of Random IO to the RAID1 versus the single disk,
	the RAID1 wins.

	To explain how or why a single disk with the *CONTROLLER* you
	are using is slower than a mirror involves what it is
	doing with sequential IO.  It is round-robining those requests
	to the mirror members, 
	that is not a good thing as the next IO request to the disk
	is not recognized as sequential at a disk level.  (Plus the disk
	has spun past the next LBNs so you are spinning back around and
	changing tracks).

	What do more modern/smarter controllers do?  They perform
	sequential pre-fetch at the controller when it recognizes sequential
	IO coming in and sends those requests on to the drives so
	when the next batch of IO requests come in they are sittin' 
	pretty in the controller cache.

	What does that KZPCC-CE do?  Well.. if it did pre-fetch, they
	would be bragging about it somewhere - they don't so I'm 
	ASSUMING (with reasonable certainty) it doesn't support it.  Which
	makes one wonder what they use the cache for.  Writeback which is
	a very good thing.  I guess it helps databases that have to PING
	blocks (Bill certainly would enlighten us here) as it can write
	them and then immediately turn around and read them (still in cache).

	In fairness, it probably is a cost issue.  To stuff the prefetch
	logic into a controller and qualify it must cost bucks.  The HSJ
	series doesn't have prefetch.  I think prefetch shows up in
	the HSx80 series (anyone care to confirm?  Quick google shows no
	hits with prefetch and hsz70 and the HSZ70 Array Controller
	HSOF manual has no hits of prefetch in it).

	How can you confirm this is exactly what is happening?  Get RZDISK
	for Unix (or equiv) and go to Page 8 and tweek prefetch to 
	essentially disable it on that single disk:

Page 8 - caching parameters:
  PS                                    1
  Page code                             8
  Page length                           18
  Read cache disable bit                0
  Multiple selection bit                0
  Write cache enable bit                0
  Write retention priority              0
  Demand read retention priority        0
  Disable prefetch transfer length      65535
  Minimum prefetch                      0
  Maximum prefetch                      65535
  Maximum prefetch ceiling              65535


	Set Maximum prefetch to 512.

	I'll bet you will see a big drop off in throughput on that
	single drive.  Most drives have 8 MByte cache so that vdump
	is most likely doing 32-64K IO and a number of them are in
	drive cache when the next batch of IO requests come in.

	You can find rzdisk by doing a Google.

				Rob


Men with walkie-talkie                  I'm home again to you babe
Men with flashlights waving             You know it makes me wonder
Up upon the tower                       Sittin' in the quiet slipstream
The clock reads daylight savin'         Rollin' in the thunder

                                -- Neil Young


  reply	other threads:[~2003-08-01 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01  9:40 KZPCC-CE (three channel RAID controller) - poor read performance from RAID-1 Roy Omond
2003-08-01 16:58 ` Rob Young [this message]
2003-08-01 17:26   ` KZPCC-CE (three channel RAID controller) - poor read performance Rob Young
2003-08-01 21:50   ` Keith Parris
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox