Copy Optical (CPYOPT) command performance

 

Performance is a complex subject with many interdependent components.

By changing one component, you may adversely affect another. This interdependence and the other factors that affect performance prohibit providing a formula for computing the time required to copy a given number of files. It is simply a guideline to help you estimate how long your CPYOPT command might take.

You may need to estimate how long it takes to copy an entire optical volume when using the CPYOPT command. You can start by copying a single directory that contains a known number of average sized files. Then take the difference between the ending time and starting time to determine an elapsed time. Take the elapsed time and divide by the number of files that are copied to figure the average seconds per file. You can use this number as a basis to determine the amount of time that is required to copy the entire volume of average size files.

To maximize copy performance, use the following set of guidelines as a starting point:

The following conditions can severely affect copy performance:

The process of removing a volume, storing it in a slot, retrieving a new volume, and mounting it requires from 8 to 15 seconds. You should try to do your copy requests when the process can have dedicated use of the optical drives.

Do not try to copy a large number of files from one side of an optical cartridge to the other side. Optical drives have only one read/write head. The following conditions occur when copying from one side of an optical cartridge to another:

Copy performance is always better when both the source and target volumes are in the same library and when setting the COPYTYPE parameter for that library controller to *IOP. Two conditions exist that require an extra processing step. The first one is that the source and target volumes are in different libraries. The second involves setting the COPYTYPE parameter to *SYSTEM and having the volumes exist in the same library. This extra step requires moving the files you want to copy to temporary storage on the system before writing them to the target volume. You do not need to use temporary storage when the system meets both of the following conditions:

This allows for the direct transfer of data between the two optical drives.

 

Parent topic:

Copy Optical (CPYOPT) command