Subject: Re: kern/7300: 'chio ielem' does not work well
To: None <gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org>
From: Kenneth D. Merry <ken@plutotech.com>
List: netbsd-bugs
Date: 04/03/1999 23:37:22
Greg A. Woods wrote...
> [ On Friday, April 2, 1999 at 23:23:57 (-0700), Kenneth D. Merry wrote: ]
> > Subject: Re: kern/7300: 'chio ielem' does not work well
> >
> > sa0 at ahc0 bus 0 target 4 lun 0
> > sa0: <EXABYTE EXB-8500-85Qanx0 0415> Removable Sequential Access SCSI-2 device
> > sa0: 4.032MB/s transfers (4.032MHz, offset 11)
> > ch0 at ahc0 bus 0 target 3 lun 0
> > ch0: <EXABYTE EXB-10i 2.6> Removable Changer SCSI-2 device
> > ch0: 3.300MB/s transfers
> > ch0: 10 slots, 1 drive, 1 picker, 0 portals
> >
> > And it takes about 88 seconds to do a 'chio ielem':
> >
> > # /usr/bin/time chio ielem
> > 87.91 real 0.00 user 0.00 sys
>
> Indeed the EXB-10e (which may actually be a 10h according to some
> release notes I read the other day) takes only about 80 seconds do to an
> element initialize once it's already done one. However from its initial
> state, either after power up, or after a bus reset, it seems to take at
> least 120 seconds.
Well, mine takes about the same amount of time when it is and isn't
initialized:
# chio status
picker 0: <EXCEPT>
slot 0: <ACCESS,EXCEPT>
slot 1: <ACCESS,EXCEPT>
slot 2: <ACCESS,EXCEPT>
slot 3: <ACCESS,EXCEPT>
slot 4: <ACCESS,EXCEPT>
slot 5: <ACCESS,EXCEPT>
slot 6: <ACCESS,EXCEPT>
slot 7: <ACCESS,EXCEPT>
slot 8: <ACCESS,EXCEPT>
slot 9: <ACCESS,EXCEPT>
drive 0: <ACCESS,EXCEPT>
# /usr/bin/time chio ielem
87.90 real 0.00 user 0.00 sys
# chio status
picker 0:
slot 0: <ACCESS>
slot 1: <ACCESS>
slot 2: <ACCESS>
slot 3: <ACCESS>
slot 4: <ACCESS,FULL>
slot 5: <ACCESS,FULL>
slot 6: <ACCESS>
slot 7: <ACCESS,FULL>
slot 8: <ACCESS>
slot 9: <ACCESS>
drive 0: <ACCESS>
# /usr/bin/time chio ielem
88.03 real 0.00 user 0.00 sys
And, for another data point, I tried out an Ampex DST-712 today:
ch0 at ahc0 bus 0 target 4 lun 0
ch0: <AMPEX DST712-1A 0309> Removable Changer SCSI-2 device
ch0: 3.300MB/s transfers
ch0: 74 slots, 1 drive, 1 picker, 2 portals
sa0 at ahc0 bus 0 target 5 lun 0
sa0: <AMPEX DST-20DBU > Removable Sequential Access SCSI-2 device
sa0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)
'chio ielem' takes about 74 seconds, or 1 second for each tape.
I've also got a Qualstar 4210 w/ 1 AIT drive in another machine:
<SONY SDX-300C 0400> at scbus1 target 5 lun 0 (pass4,sa0)
<QUALSTAR TLS-4210 1.30> at scbus1 target 6 lun 0 (pass5,ch0)
It takes almost no time to do a 'chio ielem':
# /usr/bin/time chio ielem
0.24 real 0.00 user 0.00 sys
It does an inventory on startup, and has sensors on the door, so I suppose
it knows pretty well where all the tapes are.
The Ampex also does an inventory on startup, and doesn't really need the
initialize element status.
> Obviously it isn't actually loading each tape as I feared it might.
> Unfortunately I'm not normally anywhere within visual range of it, so
> I've not actually watched what it does when it initializes.
Ken
--
Kenneth Merry
ken@plutotech.com