Dynamic Tape Acceleratortm


Previous Contents Index

Chapter 7
DTA and OpenVMS BACKUP

Note

The following are performance-based suggestions. These suggestions have been tried successfully at Touch Technologies, Inc. However, TTI makes no representations or warranties regarding the effectiveness or risks associated with the use of these commands provided by Digital Equipment Corporation.

7.1 Effects of DTA on OpenVMS BACKUP

Note

Utilizing DTA does not IN ANY WAY affect how data is written by your device. DTA simply controls the flow of data from OpenVMS to your device without altering that data.

Thus, data written by a pre-accelerated or accelerated device can be read by a device not equipped with DTA.

7.2 Recommended OpenVMS BACKUP Qualifiers

When using DTA and OpenVMS BACKUP, the following BACKUP qualifiers are suggested:

7.2.1 Tape Devices with Hardware CRC and ECC

The following tape devices do their own hardware-level error detection (CRC) and error correction (ECC):

For these hardware-level CRC/ECC devices, /NOCRC should be used. The /NOCRC should be used because the tape device is already generating CRC data and writing it to the tape. A typical BACKUP command might be:


    $ backup/rewind/image dua1: - 
         mub0:myback/save/BLOCK=40960/NOCRC 

7.2.2 Tape Devices with Minimal Error Correction

Low-density tape devices (800/1600 bpi) perform error detection, but only minimal error correction. For these devices a typical BACKUP command might be:


    $ backup/rewind/image dua1: - 
         msa0:myback/save/BLOCK=16384/NOCRC 


Chapter 8
Shutting Down DTA

8.1 Shutdown Instructions

To perform an orderly shutdown of DTA, you should log on to SYSTEM and then execute the DTA shutdown procedure.


  USERNAME: SYSTEM 
  PASSWORD: (the system password) 
 
    $ @TTI_DTA:DTA_SHUTDOWN 
        . 
        .  All DTA operations will be shutdown. 
        . 
    $ LOGOUT 


Appendix A
An Installation Example

The following is an example of the installation of DTA on a VAX or Alpha computer system using tape media:

Example A-1 Installing Dynamic Tape Accelerator

   Username:  SYSTEM 
   Password:  (the system password) 
 
   $ CREATE/DIRECTORY SYS$SYSDEVICE:[TTI_DTA] 
   $ SET DEFAULT SYS$SYSDEVICE:[TTI_DTA] 
   $ DIRECTORY 
      No files found. 
   $ ALLOCATE MSA0: 
    _MSA0: allocated 
   $ MOUNT MSA0:/FOREIGN 
   Volume is write locked 
   DTA mounted on _MSA0: 
   $ BACKUP/LOG MSA0:DTA *.*/NEW_VERSION 
   .
   .
   .
   $ DISMOUNT MSA0: 
   $ DEALLOCATE MSA0: 
   $ @DTA_STARTUP 
   Dynamic Tape Accelerator - Startup Procedure 
   Copyright (c) 1992, 1997 Touch Technologies, Inc. 
 
   DTA_STARTUP V4.0 
   Copyright 1992, 1997 Touch Technologies, Inc.  All Rights Reserved. 
 
   $ @CONTROL ACCEL MSA0: 40 
   Dynamic Tape Accelerator - Tape Acceleration Procedure 
   Copyright (c) 1988, 1997  Touch Technologies, Inc. 
 
   DTA_CONTROL V4.0 
   Copyright 1992, 1997 Touch Technologies, Inc.  All Rights Reserved. 
   MSA0: accelerated 
 
   $ log 
    SYSTEM       logged out at 21-JAN-1997 09:50:59.95 


Appendix B
An Example of Changing SYSGEN Parameters

Note

The NPAGEDYN parameter is used and changed on both the VAX and the Alpha. The SPTREQ parameter only exists and is changed on the VAX.

The following is an example of changing SYSGEN parameters to meet or exceed those values given in Chapter 2. In order to change SYSGEN parameters for Dynamic Tape Accelerator, the OpenVMS SYSGEN facility must be run. Since NON-DYNAMIC parameters are affected, the USE CURRENT command must be specified. Each parameter must then be shown. If the parameter is lower than the required value, it must be changed to the required value.

Note

For simplicity, the examples in this manual show using SYSGEN directly.

The SYSGEN parameter changes can be made either directly through the OpenVMS SYSGEN utility, or by adding the following lines to your SYS$SYSTEM:MODPARAMS.DAT file and running AUTOGEN with REBOOT.


        ADD_NPAGEDYN       = 204800  ! change for DTA 
        ADD_SPTREQ         =  38000  ! change for DTA 

Note

SYSGEN parameters should only be changed by qualified OpenVMS system managers or under the direction of Touch Technologies, Inc. personnel.

Example B-1 Changing SYSGEN Parameters

            APPLICATIONS SYSTEM VAX/OPENVMS Version 5.5 
 
  Username:  SYSTEM 
  Password:  (the system password) 
 
  $ SET DEFAULT SYS$SYSTEM 
  $ RUN SYSGEN 
  SYSGEN>  USE CURRENT 
 
  SYSGEN>  SHOW SPTREQ 
  Parameter Name             Current   Default   Minimum   Maximum 
  SPTREQ                        4000      2500        -1        -1 
  SYSGEN>  SET SPTREQ 42000 
      . 
      .  SHOW and SET as necessary for each required parameter 
      . 
  SYSGEN>  WRITE CURRENT 
 

Note

AFTER MAKING THESE SYSGEN CHANGES, YOU NEED TO REBOOT YOUR SYSTEM IN ORDER FOR THEM TO TAKE EFFECT.


Appendix C
Resources Used by DTA

The DTA distribution directory contains less than 500 blocks of disk space. The distribution directory includes all of the files required for VAX OpenVMS 5.5 and greater or Alpha OpenVMS 6.1 and greater. When the DTA_STARTUP procedure is executed, it selects the files needed for your version of OpenVMS. In addition, various files helpful to our support people are included in the directory.

Dynamic Tape Accelerator uses 10% more CPU time than normal tape I/O operations. The actual CPU time varies based on the type of tape I/O requests being processed, and the type of CPU that DTA is running on.

Note

Data compression is not supported on Alpha systems at this time.

When using DTA data compression, up to 70% more CPU time than normal can be used by DTA. Dynamic Tape Accelerator data compression requires about 10 VUPs for every 400 KB/sec of data being compressed. For example, using DTA data compression on a 800 KB/sec tape device would require a 20 VUPs CPU system to run the tape device at full speed.

The DTA device driver uses less than 204800 bytes of non-paged dynamic memory (NPAGEDYN). This memory is used for both code and internal data structures.

Dynamic Tape Accelerator uses the system logical TTI_DTA to store the location of the DTA package. This logical is created by the DTA_STARTUP.COM command file.

Regarding the VAX...

Dynamic Tape Accelerator allocates memory from the OpenVMS free page list to build its data cache. If there are fewer than 3500 pages on the free page list, DTA will not cache any tape data. Lack of free memory will reduce or eliminate any gains from using DTA.

Regarding the Alpha...

On the Alpha, if there is not a sufficient amount of memory, DTA will not cache.


Appendix D
Privileges

Dynamic Tape Accelerator DTA_STARTUP command, and the CONTROL command which uses the DTA_CONTROL.EXE image and has the options, PREACCEL, ACCEL, DEACCEL, require the following privileges:

The MONITOR procedure is used to monitor Dynamic Tape Accelerator's effect on data transfer rates to tape. The MONITOR procedure can be executed when you have executed the PREACCEL or ACCEL command. In order to run the monitor, you must have the following privileges:


Appendix E
Maximum Data Transfer Rates for Tape Devices

This is a partial list of tape devices. Included is the maximum data transfer rate for each drive. Use this list to compare normal data transfer rates with DTA accelerated transfer rates.

Table E-1 Maximum Tape Drive Data Transfer Rates
Drive Recording Density (bpi) Tape Speed (ips) Max. Data Transfer Rate
TSV05 1600 45 72 KB/sec
TE16 800/1600 45 36/72 KB/sec
TU45 800/1600 75 60/120 KB/sec
TU77 800/1600 125 100/200 KB/sec
TU78 1600/6250 125 200/781 KB/sec
TU80 1600 25/100 160 KB/sec
TU81 1600/6250 25/75 120/468 KB/sec
TU81+ 1600/6250 25/75 120/468 KB/sec
TA81 1600/6250 25/75 120/468 KB/sec
TA78 1600/6250 125 200/781 KB/sec
TU79 1600/6250 125 769 KB/sec
TF30 6666 75 45 KB/sec
TK50 6666 75 45 KB/sec
TK70 10000 100 90 KB/sec
TA90 38000 2000 KB/sec
TF85 19200 800 KB/sec
TF86 19200 800 KB/sec
4MM 19200 183 KB/sec
8MM 19200 246 KB/sec


Appendix F
Magtape Hardware-Level Error Detection and Correction

F.1 DEC 1600 Bpi Tape Drives (PE)

All DEC and DEC-compatible 9-track magtape drives set at a density of 1600 bpi comply with the ANSI X3.29 1600 PE (phase encoded) standard. The standard requires the following methods of error detection and error correction to be done by the tape hardware:

F.2 DEC 6250 Bpi Tape Drives (GCR)

All DEC and DEC-compatible 9-track magtape drives set at a density of 6250 bpi comply with the ANSI x3.54 6250 GCR (group coded recording) standard. GCR organizes each seven data bytes into a group.

The standard requires the following methods of error detection and error correction to be done by the tape hardware:

F.3 DEC TK50/70 Tape Systems

DEC TK50 and TK70 tape systems organize data into groups of 512 bytes. Following every eight groups are two ECC groups. One ECC group for every four data-groups. The tape systems use the following error detection and correction schemes:


Previous Next Contents Index