
Tandberg Data
About Tape Streamers
2-25
Tandberg SLR Product Line SCSI Functional Specifications
2.7.4.
Read-Ahead
When operating in read mode the Drive always tries to
fill up the buffer with read-ahead data. This means that
when a read type command terminates the Drive continues
to read data off the tape. The read-ahead only stops
when the data buffer is full, if a non-read command is
issued or if there is no more data to read. The read-
ahead also stops when an uncorrectable block has been
detected.
Read-ahead minimizes tape start and stops because when a
read type command (including SPACE and VERIFY
1
) follows
another read type command the wanted data may already be
ready in the data buffer.
When an error has been detected by the tape system the
Drive does not report the error until all data up to the
point where the error occurred has been read out of the
data buffer. This means that if an unrecovered read
error has occurred this error is not reported until an
Initiator requests the data block in error.
2.7.5.
Underrun/Overrun
When the Drive is in write mode data is moved from the
data buffer on to the tape. The tape write operation can
only continue as long as there is any data left to write
in the data buffer. If the buffer for any reason becomes
empty the write operation must be stopped. This can
happen if the Initiator is too slow transferring data or
if the Drive is configured in non-buffered mode. When
the tape is stopped in this way an underrun condition
has occurred. Note, however, that the tape is not
stopped immediately. The Drive is able to delay the
stopping for some limited amount of time. This may be
controlled by the Initiator by manipulating the Forced
Streaming Count in the Miscellaneous Parameters Page
(see the MODE SELECT command). When the data buffer
later becomes non-empty the tape write operation can
continue (see also the next section)
When the Drive is in read mode data is moved from the
tape and into the data buffer. If the data buffer
becomes full the tape read operation must be stopped
immediately. This can happen if the Initiator is too
slow transferring data or if the Initiator has stopped
issuing READ, SPACE or VERIFY
1
commands (remember the
tape read-ahead). When the tape is stopped in this way
an overrun condition has occurred. When the data buffer
later is emptied the tape read operation may continue
(see also the next section).
The number of underrun/overrun conditions encountered
may be reduced by utilizing the Automatic Velocity
Control (AVC) and/or Forced Streaming. If the Automatic
Velocity Control is enabled, the drive will select the
speed which, based on the data transfer rate, will
optimize streaming activity and minimize medium
repositioning (only if more than one speed is available
for the active tape format). If Forced Streaming is
enabled, the drive will keep on rewriting old data a
configurable number of times before going into an
1
VERIFY is not supported by SLR7 and SLR140