1833785 Members
2154 Online
110063 Solutions
New Discussion

Effective throughput of SCSI Ultra2 card?

 
SOLVED
Go to solution
Rudy Williams
Regular Advisor

Effective throughput of SCSI Ultra2 card?

Hello--

I know the maximum theoretical throughput of an Ultra2 SCSI card is 40 MBytes/sec. But what is the effective throughput of such a controller?

Regards,
cjw
4 REPLIES 4
Hein van den Heuvel
Honored Contributor
Solution

Re: Effective throughput of SCSI Ultra2 card?


Hah... the old 'it depends' question.

If you are looking at a single process, then with large IOs you can maybe get to 30MB/sec and not be held back by the bus.

With highly concurrent activities, I expect to see the bus being responsible for measurable throughput degradation when it hit 20MB/sec or so.

Simplistically speaking, at that utilization you created 50% odds that an IO is busy when an other IO tries to get on the same bus.
Now if nothing is directly waiting for the IO (say an async buffer flush, or a read ahead) then no harm is done. But if both users are reading blocks and waiting for the data to be able in order to continue processing then they will be hurting each other too often.

For a single app with concurrent threads it may well be acceptable to just push it to 35MB/sec.

So it all depends, but personally I do not like seeing more than 50% utilization of the theoretical throughput.

Hope this helps some,
Hein.
Andrew Cowan
Honored Contributor

Re: Effective throughput of SCSI Ultra2 card?

This also depends on how many devices are attached, their addresses, etc. Remember that one "slow" device can effect all the others on the bus.

The best way to maximise the throughput on a SCSI bus is to place the busiest disks toward the end of the chain, with progressively quieter devices closer to the adapter.

If you are using wide addresses remember also the interrupt priority goes from 7-0, then 15 to 8, which is why your adapter will nearly always be device id=7.
Florian Heigl (new acc)
Honored Contributor

Re: Effective throughput of SCSI Ultra2 card?

Actually Ultra2SCSI is 80MByte/s.
Protocol overhead is something like five to ten percent.
Negative factors scsi-wise would be a device that doesn't support disconnection (You won't find any today) or a device that is using single-ended SCSI on the same scsi chain(this will make the whole bus drop to 20 or 40MB/s)

See the following example:
ext_bus 0 0/0/1/0 c720 CLAIMED INTERFACE SCSI C896 Ultr
a Wide LVD
target 0 0/0/1/0.3 tgt CLAIMED DEVICE
tape 0 0/0/1/0.3.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/c0t3d0BESTn
/dev/rmt/0mb /dev/rmt/c0t3d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t3d0DDS
/dev/rmt/0mnb /dev/rmt/c0t3d0DDSb
/dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0DDSn
/dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0DDSnb
target 1 0/0/1/0.7 tgt CLAIMED DEVICE
ctl 0 0/0/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/1/1 c720 CLAIMED INTERFACE SCSI C896 Ultr
a Wide Single-Ended
target 2 0/0/1/1.0 tgt CLAIMED DEVICE
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS373
5NC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
target 3 0/0/1/1.7 tgt CLAIMED DEVICE
ctl 1 0/0/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ext_bus 2 0/0/2/0 c720 CLAIMED INTERFACE SCSI C87x Ultr
a Wide Single-Ended
target 4 0/0/2/0.0 tgt CLAIMED DEVICE
disk 1 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS373
5NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 5 0/0/2/0.7 tgt CLAIMED DEVICE
ctl 2 0/0/2/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0

here it's completely screwed up - the U160SCSI hard drive is connected to ultrawide SE, and the tape plus another disk are on the LVD channel. in the end, both disks are slowed to UltraWide SE speed, which is at maximum 40MB/s.

root@iwonttell:/>time dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=1024k count=100
100+0 records in
100+0 records out

real 2.8
user 0.0
sys 0.0

this is approximately 35MB/s, and theoretically noone can tell if the adapter or the disk is the bottleneck here.

Most drives don't really manage to move over 35MB/s, the exceptions are 73GB 15K or 144GB drives which will get You up to 70MB/s and of course two drives will sum up quite a bit in raw throughput.

In the end, I'd say the maximum on U2W would be about 70MB/s with two or three drives concurrently reading, this might also be limited by other devices on the same pci bus or the controller itself.

after You ensured a high throughput on the scsi side You'll have to find how little there is left for the applications. :)
yesterday I stood at the edge. Today I'm one step ahead.
Rudy Williams
Regular Advisor

Re: Effective throughput of SCSI Ultra2 card?

According to HP, the spec the A5149A card at 40 MB/s. I do not believe that this is an Ultra2 wide card (which runs at 80 MB/s).

Thank you to everyone. I think that I have the information that I need.