Wednesday, June 14, 2006

How fast is my SCSI?

Discovered a quick way of working out at what speed SCSI devices are connected to a Sun server at.

This only works for some SCSI cards - it seems to be a bit hit and miss. I've generally had some success on my SPARC workgroup servers, but other machines give zilch.

And the actual data transfer rate is something else again. But at least you can check that things are being set up at the rated speeds.

The command is:

prtpicl -v | grep sync-speed

and you then have to work out what the devices are.

Some examples. Here's a V240 with an attached 3310 array:

:target0-sync-speed 160000
:target1-sync-speed 160000
:target2-sync-speed 160000
:target3-sync-speed 160000
:target0-sync-speed 320000
which shows the intrenal drives at Ultra160, and the external array at Ultra320.

Here's a V440 with a pair of 3120 arrays:

:target5-sync-speed 5000
:target8-sync-speed 320000
:target9-sync-speed 320000
:targeta-sync-speed 320000
:targetb-sync-speed 320000
:target5-sync-speed 5000
:target8-sync-speed 320000
:target9-sync-speed 320000
:targeta-sync-speed 320000
:targetb-sync-speed 320000
:target0-sync-speed 320000
:target1-sync-speed 320000
:target2-sync-speed 320000
:target3-sync-speed 320000
all the disks are at Ultra320, and you see an SES target on each array that's come in at 5M.

Here's an old E450:

:target0-sync-speed 40000
:target1-sync-speed 40000
:target2-sync-speed 40000
:target3-sync-speed 40000
:target6-sync-speed 20000
:target1-sync-speed 10000
which has the disks at 40M, the DVD at 20M, and the tape at 10M.

No comments: