TPFUG_Req_Number: DF14202
ORIGIN DATE: March 04, 2014
REQUIREMENT ABSTRACT
Improve CRUISE restore execution time
REQUIREMENT DESCRIPTION
CRUISE Restore consists of 3 stages
1. TAPE Rollin
2. Address Exchange (FAD Exchange)
3. Fixed Address Exchange (FAD Exchange Part TWO)
Tape Rollin (Need changes):
The initial phase where CRUISE is reading records from tape and filing them to DASD (tape roll in) is multi-threaded However, this first tape "roll in" phase appears to be running on 1 I-stream only. Even with 15% CPU it was crawling along no faster than the usual 3-5%. We reconfigured the test system with 1 I-stream so it would be able to use the full allocation of MIPS. With that CRUISE took off and was able to continue and complete the testing. This is one potential area for investigation and improvement (Change it to run on multiple I-Streams and Not a single I-Stream).
Address Exchange (FAD Exchange)
Following the tape "roll in" phase, there is a phase called address exchange or "fad exchange" where old imbedded file addresses in the restored blocks are replaced with new file addresses where the data copied to. This "fad exchange" phase is actually comprised of two parts internally. In "part one" of the fad exchange, the old FROM address references in new pool records are replaced by the new pool address where the old data was restored. This part is multi-threaded and is load balanced among I-streams. This is why this part takes up a comparatively short time.
Fixed Address Exchange (FAD Exchange Part TWO)(needs Changes):
In "part two" of the fad exchange the FIXED file blocks that were originally copied to POOL addresses references (or TOP as CRUISE calls it). This part is handled by a single ECB, which by definition implies the process is running on 1 I-stream. This is a serious bottleneck, but how serious it depends on the data profile.
If the database is NOT TOP Heavy, meaning that we have a small number of FIXED FILE Records but large number of POOLS, the TOP address exchange did not have a big impact on the overall restore time. Both sets of "fad exchange" completed in an acceptable time period.
On the contrary if it is TOP HEAVY meaning we have more Fixed records than pool records then the restore came to a crawl.
IBM should look into changing the above process into a MULTIPLE ECB's process and not a Single ECB process as it is currently set up.
In Addition it would be a good idea that instead of restoring to pool (the Fixed File Records) and then have the FIXED FILE exchange execute, it would be a good idea to at least give the OPTION to Restore directly to Fixed (To be used for test systems only) but make sure that the DEFAULT is always set to restore FIXED Files to POOL.
SOLUTION CONSIDERATIONS
1) Fixed File exchange (Part TWO) should be modified to run via multiple ECB's
2) Allow to directly Restore the FIXED File records to FIX but make restore FIXED to POOL the DEFAULT!
3) Tape Rollin should run on MULTIPLE I-Streams and NOT primary I-stream as it currently does
Options
-------
1) Initial release would improve Fixed File exchange and make sure it runs with Multiple ECB's.
2) Tape Rollin should run on MULTIPLE I-Streams and NOT primary I-stream as it currently does
3) Future release allow to directly Restore the FIXED File records to FIX but make restore FIXED to POOL the DEFAULT
This support is available with PI44954 on z/TPFDF PUT12 and PI83551 on z/TPFDF PUT14.
Due to processing by IBM, this request was reassigned to have the following updated attributes:
Brand - Servers and Systems Software
Product family - z Systems Software
Product - z/TPF
For recording keeping, the previous attributes were:
Brand - WebSphere
Product family - Transaction Processing
Product - z/TPF