THE UNIVERSITY OF MICHIGAN Memorandum 18 THE MTS DATA COLLECTION FACILITY TAD B. PINKERTON CONCOMP: Research in Conversational Use of Computers F.H. Westervelt, Project Director ORA Project 07449 supported by: ADVANCED RESEARCH PROJECTS AGENCY DEPARTMENT OF DEFENSE WASHINGTON, D.C. CONTRACT NO. DA-49-083 OSA-3050 ARPA ORDER NO. 716 administered through: OFFICE OF RESEARCH ADMINISTRATION ANN ARBOR June 1968

TABLE OF CONTENTS Page I. BACKGROUND.......................... 1 II. STRUCTURE......................... 2 III. CAPABILITIES................... 3 IV. PROCEDURES FOR TAKING DATA........3.... 3 V. TAKING SPECIAL DATA.................. 6 VI. DATA ANALYSIS................... 7 VII. ANALYSIS SUBROUTINES......,.......... 12 VIII. EXAMPLES............... 13 APPENDIX A...... O O...... A-1 APPENDIX B..................,,...... B-1 APPENDIX C.............. C-1 APPENDIX D....,..,...,........ D-1 o o of 1 11

THE MTS DATA COLLECTION FACILITY I. BACKGROUND In order to understand the character of the data collection facility, it is necessary to know something about the structure of MTS. The MTS system is built on top of a multiprogramming supervisor called UMMPS. UMMPS executs jobs, which are initiated and controlled from the operator's console typewriter. Each job runs in problem state and uses supervisor calls for all its input and output operations. The basic set of instructions (which is executed when an UMMPS job is initiated) is called a job program. Job programs are core-resident. They include the specification of a set of device types and memory buffers of various sizes. When a job is activated, actual devices and memory space are allocated to fit the specifications. By means of supervisor calls, jobs may obtain and release additional devices and space during execution. MTS is a reentrant job program in UMMPS. It provides the capability of loading, executing, and controlling other programs, and offers a system of line files for the online storage of programs and data. An MTS job is distinguished by the fact that it can use virtual storage: jobs using any other job program acquire and release main core storage. UMMPS makes use of the dynamic relocation hardware peculiar to the System/ 360 Model 67 to provide each MTS job with a virtual memory -1

-2space of 256 pages (one page = 4096 bytes). The supervisor manages core storage with a demand paging algorithm, using an IBM 2301 Drum (and eventually the 2314 Disk) for secondary storage. The paging drum processor runs as a separate (nonMTS) job in UMMPS. II. STRUCTURE At appropriate points in UMMPS and the MTS job program, instructions have been added to supply data about system and program operation. Data are actually collected by a supervisor subroutine, which is called from a number of points in the supervisor and can be invoked in problem state (e.g., in the MTS program) via a supervisor call. The UMMPS subroutine places data item and job identification, the time, and specific item data into buffers allocated to a job called STAT which must be active in order for data collection to take place. The STAT job links and manages the emptying of its buffers onto magnetic tape, controls the type and origin of the data to be collected, and places additional data items in the buffer specifying the jobs from which the data were taken. Tapes of MTS data are processed by a program in the MTS file *ANALYSIS, which is essentially a general-purpose filter for selecting items from the tape, together with a datareduction analysis to decode overall states of a program (e.g., execution, I/0 wait) from the standard supervisor data items.

III. CAPABILITIES Some two dozen kinds of system data items can now be routinely collected by invoking this facility. In addition, an assembly-language programmer can supply his own data by executing the appropriate SVC instruction. Transitions to and from the CPU wait state can be recorded. Each item of data contains a five-byte clock value, which is the number of (high-resolution) timer units since midnight. A timer unit is 13 1/48 microseconds. By performing repeated experiments and making appropriate allowances for the overhead introduced by the data collection facility itself, it is in some cases possible to clock events of a duration shorter than a single timer unit. IV. PROCEDURES FOR TAKING DATA Data collection is initiated by mounting one or two (7 or 9)-track tapes and starting the STAT job at the operator's consoleo If only one tape is specified the job is automatically terminated when it is full. Reel switching occurs back and forth between a pair of tapes. A second UMMPS job called STATSW is invoked once STAT is running when one wishes to alter the designation of jobs or items for data collection. Except for the absence of tape device names, the parameters for STATSW are exactly those of STATo -3

-4The first STAT parameter must be a tape name. If two tapes are used, the second parameter must specify the second tape name. The remaining parameters give a job numbers of jobs for which data are to be collected, b. item numbers of data items which are to be collected for the specified jobs, c. global parameters to specify groups of jobs or items, d. and parameters which precede the lists of job/ item numbers and indicate the way in which they should be used. A job number is a unique positive integer assigned by UMMPS whenever a job is initiated at the operators console typewritero Each line on the console sheet is prefaced by the job number to which the line applies. The TASKS job lists all active jobs and their corresponding job numbers. The job number of an MTS job is also printed in the greeting line at a remote terminal. An item number is an integer between 0 and 31. Items of type 0 and 1 are always collected. The definitions of the remaining item types (except for the unused types) are given in Appendix A. The global parameters used to specify groups of job and item numbers are ALL, NONE, and MTSo The MTS parameter

-5applies only to job numbers, and means all UMMPS jobs that use the MTS job program. The following parameters precede lists of numbers and global parameters: JOBS, meaning that a subsequent parameter is a job number or job global parameter; ITMS, meaning that a subsequent parameter is an item number of item global parameter; - JOB, meaning that data collection is to be turned off for the immediate following list of job numbers; -q ITM, meaning that the specified data items are not henceforth to be collected for whatever jobs are later designated. The default assignment of parameters is JOBS NONE ITMS ALL hence no data collection will take place unless at least one job number is designated, but all items will be collected for whatever jobs are giveno In MTS the CPU time in wait state and interrupt processing unassigned to jobs is charged to a dummy job whose job number is zero. If job 0 is specified for data collection then all transitions to and from wait state can be recorded.

V. TAKING SPECIAL DATA By means of the supervisor call SVC STATENT STATENT EQU 44 an assembly-language program can cause a special data item to be inserted in the STAT buffers. This SVC assumes that general registers zero and one contain the appropriate identification and data address: GRO: The ID and length (in words) of the entire data item, in the form ID*8+LENGTH-1. The length includes the two words added to the front of special data by the supervisor, and the entire item may be no more than eight words long. GR1: The address of the third and succeeding words, if any, of the data item. The SVC writes a data item only if the issuing job has data collection for the given ID (item number) designated. One item type (#23) is specifically reserved for the use of system programmers for the collection of special data, and in general it should be used, since any other type may be assigned -6

to a standard system function. As an example, then, if one wanted to collect the two words of data at the location MARK in his program, the required code is LA 0, 23*8+4-1 LA 1, MARK SVC STATENT since the total item length will be four words. VI. DATA ANALYSIS The MTS file *ANALYSIS contains the object module of a general-purpose data reduction program, which can be used to (1) Print the annotated and interpreted data items just as they were placed on the tape. (2) Reduce the standard system data items to a sequence of ready, active and wait intervals for each job, together with relevant additional information abstracted from the data. (4) Call a subroutine at the point where each ready, etc. interval would be printed out, with a pointer to the entire job description at that instant. (8) Write the output on tape. (16) Call a subroutine for each item having to do with paging data.

-8(32) Print a data-reduced description of each paging item. (64) Call a subroutine for each item as it is received from the data tape. (128) Print a one-line description of each record on the data tape. These output options and a number of other actions are invoked by specifying a combination of the following keyword parameters following "PAR=" in the $RUN command for *ANALYSIS. The parameters must contain no blanks, and integers are not checked for validity: OPTN = integer The, integer (between 0 and 255) specifies the desired output options from the above list. It is the sum of the option numbers (in parenthese above) of the desired types of output. The default case is OPTN = 161 or, in other words, all options (1, 2, 32, 128) which provide printed output, but no others. SFIL = integer This integer specifies the number of files to be skipped on the input tape. Default = 0.

-9CFIL = integer The number of files of data to be converted from the tapeo Default = 1 SREC = integer The number of records (one record - about, 350 items) to be skipped on the tape. The default is zero. CREC = integer The number of records to be converted from the tape. Default = one entire file. SITM = integer The number of items to be skipped on the tape. Default 0. CITM = integer The number of items to be converted from the tape. Default = one entire fileo ITMS = A list of item numbers separated by commas This list specifies the item types which are to be converted from the data tape. All others are skipped entirely. The default case is to convert all items. -1ITM = list This list specifies the item types which are not to be converted from the data tape. When this parameter is used all other types are converted.

-10JOBS = list A list of job numbers of UMMPS jobs whose items are to be convertedo Items for other jobs are skipped entirely. The default case is no jobs, except that the occurrence of a STATSW item (#7) in the data automatically begins conversion for the job for which it was collected. STATSW items are placed in the data by the STAT and STATSW jobs whenever recording is designated for a job. The word ALL may be written instead of a job number list. MFMT = format The MFMT parameter, if used, must be the last to appear in the parameter list, and its value can be up to 100 characters long. This parameter supplies a format for printing MARK items (#23). The standard format of item code, job number, interval time, etc. appears at the head of the line, and the given format is used to control the printing of the (up to 6) words of variable information which may be included in a data item. Eighty-eight columns are available for the output imageo The print format call on IOH/360 specifies those six words as a block, preceded by the (halfword) length of the data (in words) in this particular occurrence of the item. The default parameter specification is I4H, C24,S-28* but the count can be used with a list-type format variable to

-11print only the existing data, e.g., V(X8,S2),8(BXO)* prints the data in hexadecimal words separated by pairs of blanks. PARM = anything The address of this parameter is passed to the initialization entry of subroutines called by the *ANALYSIS program. It is terminated by the first blank to appear after the keyword and equal sign. Like the MFMT parameter, this parameter, if used, must be the last to appear in the parameter list. General Notes: a. SREC and SFIL are processed as soon as they are decoded in the parameter list. Hence they should be placed in the intended order when they are both specified. b. The STATSW items which cause *ANALYSIS to begin converting items for a particular job typically occur at the very beginning of the data. If, however, these items are eliminated via ITMS of -ITM, then the JOBS parameter must be used to indicate which jobs are to have their data converted. co The SITM and CITM counts app ly to the types of items being converted. do The *MOUNT program must be run for the STAT data tape, since the records range up to 4084 bytes in length.

-12e. Four unlabeled numbers appear on the leader line of each page of *ANALYSIS output: they are the current input tape record, selected item count,total item count, and time for first item on the page, respectively. The record and selected item counts do not include skipped data, but the total item count includes those skipped with the SITM parameter. Appendix B shows an example of the MTS commands necessary to use the *ANALYSIS program. VII. ANALYSIS SUBROUTINES Options (4), (16), and (64) for the analysis program provide for calling subroutines and supplying them with appropriate data. The names and functions of the expected routines are given below. If any subroutine option is specified, one supplies his own object modules concatenated with *ANALYSIS (1,500): the latter file has existing definitions for the subroutine names beginning at line 501. OPTN ROUTINE PARAMETERS Initialization STP2A PARM 4 STP2B JOBAREA, ITEMAREA 16 STP2C JOBAREA, ITEMAREA, PAGEAREA 64 STP2E JOBAREA, ITEMAREA Termination. STP2D The initialization and termination entry points are called by *ANALYSIS if at least one of the subroutine options

-13is given. The ITEMAREA contains the input item exactly as taken from the data tape. The formats for JOBAREA and PAGEAREA are given in Appendix C. VIIIo EXAMPLES Appendix D shows examples of the various kinds of output obtained from the *ANALYSIS program and some of the subroutines written to be called by it. Each sample is prefaced by a short description.

APPENDIX A STANDARD DATA ITEMS COLLECTED WITH STAT...

APPENDIX A STANDARD DATA ITEMS COLLECTED WITH STAT... PARTS OF THE DATA ITEMS WHICH ARE NOT DESCRIBED BELOW ARE NOT USED OR CONTAIN MEANINGLESS DATA. EACH STANDARD ITEM BEGINS WITH A TWO-WORD PREFIX: THE ID AND LENGTH IN BYTE 1 IN THE FORM ID*8+LEN-1, THEN THE LOW-ORDER TIMER BYTE IN BYTE 2. THE JOB NUMBER OCCUPIES BYTES 3-4, AND THE TIMER WORD IS IN BYTES 5-8. NOTE: THE FIRST TWO ITEMS ARE PLACED IN THE BUFFERS BY STAT ITSELF AND DO NOT HAVE THE STANDARD PREFIX DESCRIBED ABOVE. NAME ID/LEN DESCRIPTION OVERFLOW* 0/1 THE SECOND HALF-WORD OF THIS ONE-WORD ITEM CONTAINS A COUNT OF THE NUMBER OF ITEMS WHICH WERE MISSED AT THE POINT OF OCCURRENCE BECAUSE THE STAT JOB COULD NOT KEEP UP. DATE* 1/3 WORDS TWO AND THREE OF THIS ITEM CONTAIN THE EBCD DATA OBTAINED FROM THE SYSTEM AND PLACED IN THE FIRST BUFFER BY THE STAT JOB. ADTOTP 2/3 THIS ENTRY OCCURS WHEN A NEW ENTRY IS ADDED TO THE TOP OF THE CPU QUEUE FOR THIS JOB. BYTE 9 CONTAINS THE INDEX OF THE NEW CPU Q ENTRY, AND BYTES 10-12 CONTAIN ITS ADDRESS. POPQ 3/3 THIS ENTRY OCCURS WHENEVER AN ENTRY IS REMOVED FROM THE TOP OF THE CPU QUEUE FOR THIS JOB. BYTE 9 HAS THE INDEX AND BYTES 10-12 THE ADDRESS OF THE NEW TOP OF Q ENTRY, AS ABOVE. A-1

A-2 NAME ID/LEN DESCRIPTION WAYT 4/4 A WAYT ENTRY OCCURS WHEN A JOB ENTERS WAIT STATE AT ITS TOP CPU Q LEVEL FOR ANY REASON. BYTE 9 CONTAINS THE INDEX OF THE NEXT LOWER WAYT Q ENTRY, AND BYTE 10 THE INDEX OF THE CPU Q ENTRY CORRESPONDING TO THE NEW WAYT. BYTES 11-12 CONTAIN THE HEX VALUE OOFF IF THE WAIT WAS NOT FOR I/O, OTHERWISE THEY CONTAIN THE DEVICE ADDRESS. BYTES 13-16 CONTAIN THE FLAG AND ADDRESS SPECIFYING THE LOCATION OF A WAIT BYTE. UNWAYT 5/3 WHENEVER A JOB STOPS WAITING FOR ANY EVENT AT ANY CPU QUEUE ENTRY, THE INDEX OF THE TOP REMAINING WAYT Q ENTRY IS GIVEN IN BYTE 9, AND THE ADDRESS IN BYTES 10-12. Q 6/3 THIS TYPE OF ITEM IS RECORDED WHENEVER THE JOB GIVEN BY THE NUMBER IN BYTES 3-4 RELINQUISHES THE CPU TO THE JOB WHOSE NUMBER IS IN BYTES 11-12. STATSW 7/4 THE JOB NUMBER GIVEN IN BYTES 11-12 IS THAT OF A JOB WHOSE STATUS WITH RESPECT TO DATA RECORDING HAS JUST CHANGED. RECORDING HAS JUST BEGUN IF BYTE 9 IS ZERO AND HAS JUST ENDED IF BYTE 9 IS FF. BYTES 13-16 CONTAIN THE RECORDING BITS USED IN THE JOB TABLE FROM THIS POINT ON DURING COLLECTION. PAGINSTR 8/5 WHEN A PAGE-IN OPERATION IS STARTED THE FOLLOWING IS GIVEN: THE REAL CORE PAGE ADDRESS IN BYTES 8-9, THE VIRTUAL MEMORY PAGE ADDRESS IN BYTES 10-11, THE PAGE CONTROL BLOCK STATUS BITS IN BYTE 12, THE NUMBER OF PAGE-WAITS FOR THE JOB IN BYTE 13, THE NUMBER OF REAL PAGES FOR THE JOB IS BYTE 14, THE STORAGE KEY AND OTHER BITS IN BYTE 16, THE PDP AND ADDRESS FLAGS IN BYTE 17, AND THE EXTERNAL (TRACK, SLOT) ADDRESS IN BYTES 18-19. SEE THE FILE *PCBDSECT FOR MORE. INFORMATION ABOUT THESE BITS OF INFORMATION. PAGINDON 9/5 WHEN A PAGE-IN OPERATION IS COMPLETED THE SAME DATA DATA IS GIVEN AS FOR'PAGINSTR' ABOVE. PAGOUTST 10/5 WHEN A PAGE-OUT OPERATION IS INITIATED THE SAME DATA IS GIVEN AS FOR'PAGINSTR' ABOVE.

A-3 NAME ID/LEN DESCRIPTION PAGOUTDN 11/5 WHEN A PAGE-OUT OPERATION IS COMPLETED THE SAME DATA IS GIVEN AS FOR'PAGINSTR' ABOVE. PAGRECLM 12/5 IF A PAGE IS RECLAIMED DURING PAGE-OUT THE VERY SAME DATA IS GIVEN AS FOR' PAGINSTR' ABOVE. GETVMPAG 13/5 WHEN A NEW VIRTUAL MEMORY PAGE IS ALLOCATED THE SAME DATA IS GIVEN AS FOR'PAGINSTR' ABOV E. FREVMPAG 14/5 WHEN A VIRTUAL MEMORY PAGE IS RELEASED THE VERY SAME DATA IS GIVEN AS FOR'PAGINSTR' ABOVE. MARK 23/? THIS ENTRY IS RESERVED FOR THE USE OF SYSTEM PROGRAMMERS IN THAT IT IS THE ONLY ONE GUARANTEED TO BE UNASSIGNED TO SOME STANDARD SYSTEM FUNCTION, AND IS'WATCHED FOR' BY THE *ANALYSIS PROGRAM SO THAT IT APPEARS WITH INTERVAL TIMING ON THE OUTPUT FORMAT, AND IS APPROPRIATELY MARKED ON INPUT FORMAT. VMPAGES 24/5 WHENEVER THE NUMBER OF HALF-PAGES USED BY SOMEONE EITHER INCREASES OR DECREASES, AN ENTRY APPEARS TO GIVE THE CURRENT VALUE OF THE SPACE-TIME INTEGRAL IN 300THS OF A SECOND TIMES HALF-PAGES IN BYTES 9-12 AND THE TIME OF DAY WHEN THE VALUE LAST CHANGED IN BYTES 13-16, WITH THE CURRENT (NEW) NUMBER OF HALF PAGES IN BYTES 17-20. NOTE THAT THIS IS A VIRTUAL, NOT REAL, STORAGE USE INTEGRAL. WAITFOR 25/2 A MINIMAL ENTRY IS MADE WHENEVER AN MTS USER SIGNS OFF, LEAVING THE JOB FOR SOMEONE ELSE. UNLOAD 26/7 WHEN THIS TYPE OF ITEM APPEARS A PROGRAM HAS JUST BEEN UNLOADED IN MTS. ITS NAME IS GIVEN IN BYTES 9-24 AND THE STORAGE INDEX NUMBER CORRESPONDING IS IN BYTE 25. LOAD 27/7 THE INFORMATION PROVIDED ABOVE FOR AN UNLOAD IS ALSO GIVEN FOR EVERY LOAD. FREESPAC 28/3 WHEN CORE SPACE IS RELEASED BY AN MTS JOB THE STORAGE INDEX NUMBER IS GIVEN IN BYTE 9 AND THE NUMBER OF BYTES RELEASED IS GIVEN IN BYTES 10-12.

A-4 NAME ID/LEN DESCRIPTION GETSPACE 29/3 THE SAME INFORMATION IS GIVEN WHENEVER CORE SPACE IS REQUESTED BY AN MTS JOB. DSRIN 30/2 WHEN A DEVICE SUPPORT ROUTINE IS ENTERED THE MINIMUM TWO-WORD ITEM IS GIVEN FOR AN INPUT LINE, AND FOR AN OUTPUT LINE THE FOLLOWING: BYTES 9-12 CONTAIN THE FILE OR DEVICE NAME. BYTE 13 CONTAINS THE CURRENT PREFIX CHARACTER. THE FIRST BYTE OF THE FDUB (INCLUDING A BIT FOR INPUT OR OUTPUT) IS GIVEN IN BYTE 14. BYTES 15-16 CONTAIN THE LENGTH OF THE I/O MESSAGE, AND BYTES 17-20 CONTAIN THE FIRST FOUR CHARACTERS. THIS INFORMATION IS CURRENTLY COLLECTED ONLY FOR I/O FOR DEVICES (NOT FILES), AND NOT FOR LINES WITH A PREFIX CHARACTER OF. (INDICATING LOADING). DSROUT 31/5 WHEN A DEVICE SUPPORT ROUTINE IS EXITED, THE MINIMUM ENTRY IS GIVEN FOR AN OUTPUT LINE, AND THE ITEM WHICH IS DESCRIBED ABOVE FOR OUTPUT LINES AT DSRIN IS GIVEN AT DSROUT FOR INPUT LINES. DSROUT 31/7 IF AN INPUT LINE BEGINS WITH THE CHARACTERS $SIG THEN TWO ADDITIONAL WORDS (8 CHARACTERS) OF THE LINE ARE GIVEN IN BYTES 21-28.

APPENDIX B

APPENDIX B $RUN *MOUNT PAR=S390 9TP, *STAT*, SIZE=4096,'MASTER DATA TAPE',RING OUT. $RUN *ANALYSIS SCARDS=*STAT* SPRINT=*SINK*@MCC PAR=OPTN=1,SFIL=2,SREC=15,CITM=520,ITMS=0,23,JOBS=ALL (The above run converts only overflow and mark items from all the jobs referenced in the first 520 items beginning with the 16th record of the third file on the tape S390. The formatted original data items only are printed.) B-1

APPENDIX C

C-1 APPENDIX C JOBINFO DSECT INFORMATION FOR ONE JOB STATE DS C CURRENT STATE OF JOB TIMEBYTE DS C TIMER BYTE FOR CURRENT EVENT DEVICE DS H DEVICE NUMBER OF UNIT CAUSING LAST WAIT TIMEWORD DS F TIMER WORD FOR CURRENT EVENT JOBSEQID DS H SEQUENCE NUMBER FOR JOB ITEMID DS H SEQUENCE NUMBER FOR ITEM OLDSTATE DS C LAST STATE JOB WAS IN OLDTBYTE DS C NEXT TO LAST TIMER BYTE JOBNO DS H JOB NUMBER FOR JOB OLDTIMER DS F NEXT TO LAST TIMER WORD FDNAME DS F NAME OF DEVICE BEING WAITED FOR PREFIX DS C PREFIX CHARACTER IOBYTE DS C INPUT OR OUTPUT BYTE IOLENGTH DS H LENGTH OF LINE RELAYED IOLINE DS 3F FIRST CHARACTERS OF LINE GTSW DS H SWITCH FOR GETSPACE ITEM FRSW DS H SWITCH FOR FREESPACE ITEM LDSW DS H SWITCH FOR LOAD ITEM UNSW DS H SWITCH FOR UNLOAD ITEM GETSP DS F SPACE GOT IN ONE INTERVAL FRESP DS F SPACE UNGOT IN ONE INTERVAL SPTMINT DS F SPACE-TIME INTEGRAL FOR VIRTUAL MEMORY HPTOD DS F LAST TOD WHEN THE HALF PAGE COUNT CHANGED HPAGES DS F CURRENT NUMBER OF VIRTUAL MEMORY PAGES PAGEIN DS C COUNT OF NUMBER OF PAGE-N OPERATIONS GOING MARKBYTE DS C TIMER BYTE FOR MARK ITEM LASTTYPE DS C TYPE OF LAST PAGING ENTRY REALPAGE DS C NUMBER OF REAL CORE PAGES BEING USED NOW MARKWORD DS F TIMER WORD FOR MARK ITEM LDNME DS 4F NAME OF PROGRAM LOADED UNNME DS 4F NAME OF PGM UNLOADED WAYTQADD DS F ADDRESS OF NEXT WAYTQ ENTRY WAYTQ DS 12F WAYT Q INUSE DS C USAGE FLAG FOR THIS JOB AREA CPUQINDX DS C INDEX OF CURRENT CPU Q ENTRY VALID DS C VALID STATE KNOWLEDGE SWITCH DSRSW DS C DEVICE SUPPORT ROUTINE SWITCH JOBEND EQU * END OF A JOB INFO AREA * * PAGE AREA PAGETABL DSECT TLE DS C TYPE OF LAST ENTRY TB DS C TIMER BYTE JBNO DS H JOB NUMBER TW DS F TIMER WORD RCA DS H REAL CORE ADDRESS VMA DS H VIRTUAL MEMORY ADDRESS PIC DS H PAGE-IN COMPLETED COUNT RCC DS H PAGE REALLY RECLAIMED COUNT CMSEC DS F TIME IN CORE DMSEC -DS F TIME ON THE DRUM

APPENDIX D

D- 1

D-2 __~f~. B _.._Q JI[~ lO~$[21 ~.....iTE iN__ ~[~O. lEC~..-Z O.UEUE 12 18183815 32250000 0108847F 0F080051 QUEUE 72 118184036 32360048 0108847F 09 2AOOOC QUEUE. 12 1!__ 8186028 320C0F OOoC 0. 0108_847F 0E000048 QUEUE 3 118201614 327C0003 01088484 092A40000 QUEUE 12 118202187 3248000C 01088A84 01,080003 QUEUE 3 118247304 32310003 01088492 092AO40000 QUEUE 14 118248033 3269000E 01088492 01080003 A DDTOTOP 14 118249127 12BDOOOE 01088492 OC0054EC POPQUEU.E 14 118250325 1. 900O0OOE8' 0.1088A93 480056E4 UiNWAY T 14 1 1 8250520. 2428000E 01088493 00000000 D SROUT 14 118253359 F902000E 01088494 DSRIN 14 118254986 F47FOOOE 01088494 0301FIF2 6E400012 89E20709 WAVT 14 118255416 2340000A E 01088494 004BOOFF 610101C QUEUE 3 118255768 32880003 01088494 08B22000E PAGOU'ST' 15 1 18256536 54F6000F 01088494 007D010D OC000410 16820510 PAGOUTST 15 118256666 5400000F 01 0.8495 0037010F 04000410 16820713 PAGOUTST 4 118256796 54040004 01088A95 00400115 00011..010'16830216 PAGOUTST 15 118256940 5415000F 01088A95 0034010A C00000410 14830911 P AGOUTODN 15 118257617 5C49000F 01088A95 0034010a 0000oc 410 14030911 QUEUE 13 118260026 3202000D 01088496 01000003 _ PAGINOON 13 118260117 4C09000D 01088496 003C0107 2C011410 14070316 PAGINSTR 13 118261328 44660000 01088496 00700114 4801.1410 10050224 QUEUE 12 118261888 32910000 01088496 A0432000D Q UEUE 3 118303945 322F'0003 01088443 092AOOOc QUEUE 12 118304531 325C00 C 01088443 01080003 QUEUE 3 118327890 325E0003 01088AAA 092400CC P AGOUTDN 15 1 18328480 SC80 00F 010884AA 0070I010D 0C000310 16030518 PAGOUTDN 15 11832889.3 50AB000F 010 )8844A 0037010F 04900210 16030608 PAGOUTON 4 118329283 5CC90004 01088444 004001115 00011010 16030718 P AGOUTST 4 118330338 54.140 A 004 O1088AAB 00710116 OOO1FIC 16830324 QUEUE 4 118332604 32C80004 01084AAB 01000003' AGINDON 4 1 18332695 4CCF 0004 01 088448 0074010 F 24010F10 1 6.070410 PAGINSTR 4 118333776 44220004 010884AC 00530102 4C010F1C 16050428 QUEUE 12 118334375 32500000 01088AC 02320004 QUEUE 3 118372226 32480003 0108RAB7 09240000 QUEUE 12 118372812 3208000C 01088AB7 01080003 QUEUE 7 2 118374492 32590048 01:088A'B.8 092AOOoc0 QUEUE 12 118376276 32E20000 01088AR8 0E000048 QUEUE 72 118376484 32F20048 01088AB8 092A000C QUEUE 12 118376848 320E0000 01088439 0E000048 QUEUE 72 118383541 32100048 01088ABB 092A000C QUEUE 12 118385546 3244000C 010884AB 0F000048 QUEUE 9 118401835 328D0009 01088AC0 0 92A4000C UNWAV'T 9 118403619 2A160009 01088AC1 OOOOOOCO QUEUE. 28. 11840390_6 322C000C1 0108 8ACI_ 0 62,.0009 QUEUE 9 118407421 323AO009 0108840AC2 12200010 WAYT 9 118411236 235F0009 010884AC3 000F0214 0101FC74 QUEUE 12 118411614 3270000C 01088AC3 06200009 QUEUE 3 118414648 32650003 01088404 092A000C.PAGOUTDN 4 118415273 50950004 01088AC4 00710116 000 10F1C 16030811 PAGOUTST 4 118416315 54E50004 01088404 00690100 04010F1C 16830210 QUEUE 13 118418593 32940000 01088AC5 01000003 PAGINDN 13 118418684 4C980000 01088AC5 00400114 2801151C 10070224 P AG INSTA 13 118419674 44E7000D 1 01088405 00470116 4001151C 1205080F..QUEUE 1......!2 1 118420234 3212000C 01088AC6 OA32000 oD QUEUE 28 118428177 3274001C 01 0884C8 09240000 Q UEUE 12 118430130 32040000C 010884C9 12240010 QUEUE 0 118451914 32930000 01088AC40F 092A000OC

D-3 Figure 1. A sample of the data items on the tape written by STAT, and annotated by the analysis program. The "Microsec" column is simply the decimal value of the low-order three bytes of the timer, converted to microseconds.

TQA SATE. N CBS_ TI WAIT A_ ENAM DE IL/0 LENGTH PFX LN ****** THE RECORDING -ATE WAS 03-21-68 AND THE TCORDIMNG TE WAS _15:28.27 _ _ _ 1 19 UNSUPR 10657643 1 UJNKN 0000 00 O 1.19 ACTVE 151 4 2 VMPAGES= 0._ __ _ __ 1 19 UN SURE 51197 3 UNKN (000 n00 0 1 19 ACT IVE 4023 4 VMPAGES= 0 1 19 WAIT 2513 5 -1/0 OOFF 00 0 1 19 ACTI VE 5494 6 VM PAGES- _ ___ 1.19 UNSUR.J F 1 40()7 56 5 7 71 /0 OOFF 00 0..........1....19 ACTIVF 3750 8 VMPAGES= 0 1 19 PAGEWAIT 41718 9 1 19 ACTIVE 7343 10 VMPAGES= 0 1 19 PAGEWAIT 43750 1.1 1 19 ACTIVF 1130? 12 VMPAGES= 4 GET= 4968 1 19 WAIT 58' S'. 13 1/0 0217 00 16 $SIG 1 19 ACTIVE 3789 14 VMPAGES= 4__ 1 19 WAIT 24335 15 I/O 0217 00 16 $SIG 1 19 ACTIVE 2'35'6 _ 1 VMPAGES= 4 I 19 READY 2851 17 t 19 ACTIVE 54-55 18 VMPAGES= 4 1 19 WAIT 31132 19 I/O 0217 00 16 $SIG 1 19 ACTIVE 303'3 20 VPAGES= 4 __ __ __ 1 19 "WAIT 11132 21 I/3 0217 00 16 $SIG 1 19 ACTIVE 3502 22 VMPAGES= 4 1 1l9 RE ADY 2569 23 1 19 ACTIVE 7486 24 VMPAGES= 5 GET= 2136 _ 1 19 READY 2291 25 1 19 _ ACTIVE 10203 26 VMPAGES= 5 _ _ 1 19 READY 5260 27 1 19 ACTIVE 3919 28 VMPAGES= 5 1 19 WAIT 15260 29 1/0 0217 00 16 $SIG 1 19 ACTIVE 1835 30 VMPAGES= 5 1 19 RFADY 2356 31 1 19 ACTIVE 5156 3_2.VMPAGES= 6 GET= 3632 F RE E= 432 1 19 READY 1731 33 1 19 ACTIVE 221 34 VMPAGES= 6

D-5 Figure 2. A sample of the normal printed output of the analysis program, showing the intervals of execution (ACTIVE), queueing for CPU (READY), and I/O and page waits.

6iSN 1 UVd L-L6,6VL lJwjt)Vc L 1 i S N I t)Vd U 7 t/ bu u'.L irt l J r l'id b'iL 1slnOUjtVd u i L'['., *Uil'iL'jVd t'i JV NOUNI JVd g i7'. 7 +. 8 L iljU'JV'd' N ii' i Vd ~ L L7' 8 L iS Jl 1 d b i, dSinulVd u; t,'s't. t u li"i 3 tL ~ b8 I1 SI iful 9V d t 7 U S * tt' - L 1S 1 U H(Jlj'H t L.lnU I a U biLU 1, t 1 L''i L t IlLiL.U-,V i. to L. - 1. IS~J t IV s`L'uIH'3 1 6 Ni:'N i t)V Od U C''. L u' 7L L -'L+i is.i i i'JL t Si['iCJO ~' t.b 5 b Lt..', ll'i UOVd t -'. k Ntij[LJu d L c L Lt' L * L Lc-uc di it)V, t.L 6~SNVIVd u' ~ L'b Id ooL, LL L ISfIOS'U(J ~ u 7 6Li 11'u L-4 6J'SL hiU jl U)Vd U i L7 b I'i,.J'Vd L b',, S flu t)v d U L 6Z L L' cL i )')L, i. I' L:i NU;NlJlU Uvd v ~'b'ev",9 L t-/L'I i.'._Si'xiUl,'v dj. 5N ] O'V' U +i b',', b' ~ [ t b u.'i6s iL', t t'd bV F; J D o d~ DV o d e: -i o+/~'~';(50 i t 1U c b-_ S 11 I tJ V c t'i Ni'j [ i f[l.J Oi V d tLu t b 6''L U. -,' I Si, 1,l'u c L iNGtZi S i(Id u C Ob~9;u 7'.7'i C/o >.''.:;",iOVd. L' lSIVd t b'o' NL LCi',Il'Vd t, L 1 S I[iU 1' d v C U b L N *' b ub t, Ni) (lojt) V ci L L 8't NSiIt.)Vid' C' LU9 i [6 [:t.' ON(.J UlVd c8' uif "Ir iu d Cu i[ " _, 9. 9 L L9L, L.L*.L jI I"' L3V -'ui v' d7 Si. SNIUVoi U L >I9 *o'' C[ o LUG i'J lVd 7 lSlIfj'JVd L. C OZ_' t.C tL {qi'iUUVd 61 8 N di \9Vd [C 7 i', L -6 L'8 C NOt C g 1 9 JVd' 1 K N,J N i gV d i b 9' k, t7, LL' tf i i VJ 6 d t t "8 I'iL flU JVI d' C'iC/L 966 5'L tUt:' Sl'LtiS Vd t t. NOISVdO NIV1DH{ NI -iDVd *S'l1-3OD T.-t L 1.;, DNIDVd ~SVqi dO'ON I-O *'ON' NJI %

D-7 Figure 3. The normal paging data displayed by the analysis program. Included are the current paging action) the last previous action for that page, the percentage of time the page has been core-resident, etc.

TAPE RECOR..1....... SEL, IT.FM 0...r:~_.. K............................. RECORDED AT 16: *~***~c~~Q c THE RECORDING DATE WAS 01-09-68 AND THE TIME WAS 16:'03.09 TAPE R_ EcOR.D__..2.] 2._SEL, IT...TEM 70. 0... ITEM 29.3 REC.ORED_ AT 16: 03, 1 TAPE RECORD 3 SEL. ITEM 173 ITEM 561 RECORDED AT 1-6:0:'3. T AP E_ RECORD.4 SE.L ITEM 248.TEM._808 RECORDED A T't 6 =.03.1'3 TAPE RECORD 5 SEL. ITEM 308 ITEM 1080 RECORD-ED AT 16:03.14 T.APE RECORD 6 SEL...__TF.F:.351 __T_.56 ITEM 1323 RECORDED A'T 16:0.3.15 TAPE RECORD 7 SEL.ITEM 395 ITEM ]585 RECORDED AT "'.6:03.16 TAPE RECORD g SEL. ITEM 468 ITEM 1856 RECORDED AT 16,0o TAPE RECORD 9 SE LO ITE M 576 ITEM 21.44 REC.MDED AT 16:0'319 T.Ap.E RECOR:.D.....:......1..O.......... SEL, I'ITEM 668.. T..::;2.~,5,.... R.coR.C E'T E6DA.T.,,.21,, TAPE RECORD:11 SELO ITEM 759 ITEM 2677 RECORDED AT 1.6'03:22 T.A.PE......P.E........E.CD.R........!'M 82 ITSEL. T.E.M__820_'.......... ITEM'2945.RECORDED. AT 16:0'~";24 TAPE RECORD 13 SEL. ITEM 870 ITEM 3204 RECORDE.AT':0 3'..25 TAPE RECORD.4 SEL. ITEM 91:3 ITEM 3479 RFCOPRED AT 16:03.26 TAPE RECORD 15 SELO'ITEM 960 ITEM 3746 RECORDED A'T 16:03.27 TAPE RECORD.16 SEL, ITEM 101q ITEM 4010 RECORDED. AT 16'03.29 TAPE RECORD 17 SELO ITEM 1061 ITEM 4285 RECORDED AT 16:03.30 TAPE RECOR 18 SELO ITE M 1158 ITEM 4570 RECORDED AT t6:0:3 32 TAPE RECORD 19 SELo I'TEM 1214 ITEM 4830 RECOP.,DE AT 16'03.3: 3 o TAPE RECORD 20. SFL. ITEM 1268 ITEM 5.082 RECKOR..ED.T 16:03.34 TAPE RECORD 21 SFLo ITEM 1.302 ITEM 5341 RECnROE.n AT 16:.3,35 TAPE RECORD 22 SEL. ITEM 1345 ITEM 5598 RECOROED AT 1.6'e3,36 TAPE RECORD 23 SEL O ITEM 1382 ITEM 5878 RECORDED AT 16'0.3.3 7 TAp'E_ RECORD'24 SELo ITEM 1458 ITEM 6169 RECnRDEO AT 16.:03.39 TAPE RECORD 25 SELo ITEM ]1521 ITEM 6447 RECORDED AT 16:03.lo TAPE. RECORD 2_6. SE.L...ITEM. 1554 -ITEM 6747 RECORDED AT 16:03.42 TAPE RECORD 27 SFL. ITEM 159'7 ITEM 703! RECORDED AT 16:0".44 TAPE RECORD _28......................SEL, ITEM 1636 ITEM 7302 RECORDED AT 16'03.4 5'TAPE RECORD 29 SEL. ITE M 1689 ITEM 7601 RECORDED.AT 16: 03.6.'A.PE_' ___E__-R:_.....E: RECORD 3_._. ITTEM 1748..TEM 7943 REC.....RDEO AT. 8 TAPE RECORD 31 SEL. ITEM 1818 ITEM 8182 RECORDED AT 1.:06.4 9 TAP E RECOR.32 SE......SEL, ITEM.1877. IT_.M 8452 RECORDED AT 16.013".50 TAPE RECOR: 33 SEL, ITEM 1953'ITEM 8738 RECORDED AT 1:6-'-"' TAPE RECORDF 3.4 SEL, [TEM 2_06 ITEM 9002 RECORDED AT 16:0''53 TAPE RECORD 35 SEL. ITEM 2091 ITEM.9274 RECORDED AT 16:03.54 TAPE RECORD 36 SEL. ITEM 2150 ITEM 9537 RECORDED AT 1.6:.'55'TAPE RECO.'RD 37 SEL, ITE M 221 ITEM 9'790 RECORDED AT 16:03o56 TAPE_ RECORO 3.8...SEL,_....t2'31..ITEM....TEM 1 0059 R..ECORDED.AT 1.6:0.'.3., 57 TAPE RECORD 39 SEL, ITEM 2357 ITEM 10324 RECORDED AT 16:03'.59 TAPE RECORD 40 SEL. ITEM 2404 ITEM 10570 RECORDED AT 16:04.00

D-9 Figure 4. The tape inventory lines produced by the analysis program. The given time is that of the first data item in the record described.

D-10 ITEM FREQUENCY OATA.I~M -1~~ - I~IAl ul u — -, sL I E CVERFLC 0o 0 CATE 1 1 ADD'TOTCP 5153 POP'QUEUE 5026 5026 WAYT....... — --. — - -. -.-. - —.-E864- 4:- -— 48 8646 UNWAYT E8638 8 8-638 -UEU-E....5.. 130 —-. -------- 5"-0R-9 STATSW 17 17 PAGTNSTR 26982 2698.2 PAGINDCN 26984 26S84 PA-GGUTST -- -..28594' -----------—. 2 Z85~9 PAGOUTC N 27477 27477 - PAGRE-CLM?- - - 526"9.- —. —-. 526 GETVMPAG 5906 5906 FREVMPAG 6068 606-8 4~0~~l******** eC 0 0 0 $10c4******** C 0 C 0 ******** C o0 PMARK 0 0 -VM- MPAG-E S ---- -5 1-0 ——.-. -6.. 5. r.. - 07.....-.-.-.....-.... 5 U 6 WAITFOR 77 77 UNLOAO " 264 264 LOAD 262 262 F R E E SPA-C -. —--.... -- --.. —— 9 -2' — — Tri2 9 r GETSPACE 1184C 11840 OSRIN... 18 —2 18352 DSROUT 1834.1 18341 8 2 048 882026

D-11 Figure 5. The item summary sheet printed by the analysis program, showing the number of each type of data item encountered and selected for processing.

D-12 TABLE OF DEVICE NUMBERS AND I/0 COUNTS.. * DEVICE 00000214 WAI TS=-+4011 DEVICE o00000215 WAITS=5575 DEVICE D3C1FOF7 WA ITS=655 DEVICE 03C1 F1F3 WA I TS=379 DEVICE D3C IFlF4 WAITS=435 DEVICE 00000216 WA I' S=223 DEVICE 400078C9 WAITS=79 DEVICE 0110101C WA.TS=L28 DEVICE 07E3D9F 1 WA ITS=4933 DEVICE 00000210 WA ITS=48 DEV'ICE 01101020 WAITS-= 10 DEVICE 07C3C8F1 WA ITS= 142 DEVICE D3CIF1F1 WAITS= 186 DEVICE 00000COOO5 WAITS=18 DEVICE C4C3FOF2 WAITS=3 DEVICE 00000014 WAITS=18 DEVICE 00000213 WAITS-8789 DEVICE 400078D5 WAITS=211 DEVICE 2010101D WAITS=123 DEVICE D3C1lFOF8 WAI'TS=307 DEVICE 8000D746 WAITS:=54 DEVICE C4C3FOF1 WAITS=75 DEVICE 400078BD WAITS=445 DEVICE C4C3FOFO WA ITS=649 DEVIrE 00000044 WAITS=5 DEVICE 09C4D9F1 WAITS=2465 DEVICE 60101022 WAITS=537 DEVICE 00000041 WAITS=1 DEVICE 00000011 WAI TS=79 DEVICE OlO1CFB6 WAITS=8 DEVICE D3C1FOF4 WAITS=124.......... DEVICE 001C000217 WAIThS=2?232 DEVICE D3C1F1F2 WA TS= 2 2 DEVICE D3CIFOF9 WA r TS= 221. DEVICE 400078FD WA ITS=3191. DEVICE 000;t0212 WATTS=38 DEVICE 000.00211 WA T'T S = 3.6 DEVICE 6110101C W.AITS=.1' - DEVICE D0'3 C F F WAI. T S 34 DEVICE 00000043 W1 TS=5 DEVICE 00000030 WA IT T-.47 DEVICE D3C1FOFI WAITS=1.7' DEVICE D7E3n9F2 WA TT S=34'. DEVICE E3FOC3F5 WAIT S =24 DEVICE 00300042 WA I T S1 DEVICE 8001i55'4 WA ITSl

D-13 Figure 6. A table of "devices" produced by a subroutine receiving output from the analysis program. Given are the number of I/O waits for each "device." The name of a "device" is a. a halfword device number, b. a device name (e.g., PTR3), c. an address in the supervisor or device support routines where an I/O queue is processed.

*USERS LOADED BY JOB 25 TASK 59 *ASMG LOADED BY JOB 23 TASK 61 *ASMG LOADED BY JOB 23 TASK 61 *ASMG LOADED BY JOB 23 TASK 61 *ASMG L OADED BY JOB 3 TASK 61 FREDONE LOADED BY JOB 68 TASK 33 SOO50BJECTSCAN LOADED BY JOB 14 TASK 60 *ASMG LOADED BY JOB 23 TASK 61 *ASMERR LOADED BY JOB 23 TASK 61 (SF>OO12LOAD# LOADED BY JOB 12 TASK 9 *PIL LOADED BY JOB 25 TASK 59 *CATALOG LOADED BY JOB 14 TASK 60 < SF>OO13LOAD. LOADED BY JOB 13 TASK 52 *USERS LOADED BY JOB 46 TASK 43 *FILESCAN LOADED BY JOB 20 TASK 17 *NEWFORT LOADED BY JOB 23 TASK 61 JOB 40 TASK 78 CPU TIME.O41615 FLAPSED TIME 358.904 CPU TIME VMI.208073 ELAPSED TIME VMT 1.794.519 WAIT STATE VMI 1794.311. _. _ _ _ _ _ ~... _..._,. _............................................................................. CPUJ TIME RCI.108763 ELAPSDFO TIME RCI' 361.278698 DRUM READS 6 * 8A SR LOADED BY JOB 46 TASK 43 *DEARBATCH LOADED BY JOB 17 TASK 14 JOB 41 TASK 72 CPU TIME.144102 ELAPSED TIME 45.851 4 CPU T.ME VMI.847617 ELAPSED TIME VMI 230.112 WAIT STATE VMI 229.265 CPU TIME RCI.628060 ELAPSED TIME RCI 104.888320 DRUM READS 4

D-15 Figure 7. A sample page of output from a subroutine written to assist in determining equable billing algorithms.

***.*, E._TE... RECOR.D. ING. DATE IWAS.._. 0.-_2-2 —- AND H -I.- WA1. 1............ DURING THE LAST 60267813 MICROSECONDS, THE CPU WAS I)LE FOR 49979948 MICROSECONDS, OR AN IDLE PERCENTAGE OF 82.9300 DURING THE LAST 60026977 MICROSECONDS, THE CPU WAS I)LE FOR 43119699 MICROSECONDS, OR AN IDLE.PERCENTAGE OF.718300 DURING THE LAST 60000727 MICROSECONDS, THE CPU WAS I)LE FOR 31092)60 MICROSECONDS, OR AN IDLE PERCENTAGE OF 51.8200 DURING THE LAST 60015999 MICRCSECONDS, THE CPU WAS I)LE FOR 25579438 MICROSECONDS, OR AN I1DLE. PERCENTAGE OF 42.6200 DUJRING THE LAST 60000714 MICROSECONDS, THE CPU WAS I) LE FOR 19197935 MICROSECONDS, OR AN IDLE PERCENTAGE OF 32.0000 fi..U.... 1LRING THE. LAST...6r0O6LD0.56^fln.fl5MR;nSFClSnE f.&, THE -CP UL- iAA IE) _FOR. _F- 3-1i,602-5&5- _M ICROSECONS, OO R AO N IDNLF PFRCENITAGE OF 52A66C.QO. DURING THF LAST 60000279 MICROCSECONDS, THE CPU WAS I)LE FOR 35109545 MICROSECONDS, OR AN IDLE PERCENTAGE OF 58.5200 DURING THE LAST 63009900 MICROSECONDS, THE CPU WAS I)LE FOR 32114985 MICROSECONDS, OR AN IDL-E PERCENTAGE.. - 535200 - DURING THE LAST 60010281 MICRCSECONDS, THE CPU WAS I)LE FOR 28224037 MICROSECONDS, OR AN IDLE PERCENTAGE OF 47.0300 DURING. THE LAST 60006505 MICRCSECONDS, THE CPU WAS IDLE FOR 27422535 MICROSECO]NDS, OR AN IDLE PERCENTAGE OF.45.7000 DURING THE LAST 60004665 MICRCSECONDS, THE CPU WAS I)LE FOR 31577336 MICROSECONDS, OR AN IDLE PERCENTAGE OF 52.6200 DUR.ING.THE LAST....-. 6._O12_1_9_. __MI RS~EC N)s,. _'THE CP3U6_A I LE__EOR. 3.625131 MICROSECONDS, OR AN 101 F PERCENTAGE OF.630100, DURING THF LAST 60000977 MICROSECONDS, THE CPU WAS.I)LE FOR 45658873 MICROSECONDS, OR AN IDLE PERCENTAGE OF 76.1000 DURING THE LAST 60000470 MICROSECONDS,. THE CPU WAS IDLE FOR 45210422 MICRO.SECONDS, OR AN IDLE_.PERCENTAGE 0F..75.3500 DURING THE LAST.60009793 MICROSECONDS, THE CPU WAS I)LE. "FOR 34388811 MICROSECONDS, OR AN IDLE PERCENTAGE OF 57.31CC. *.*.~***. ONE...INPL.UIE.._ i.LE. HAS..EEN P_.. SE D TOTAL NUMBER OF INPUT ITEMS =.. 110339 0 TOTAL NUMBER OF MISSING ITEMS - 0 - CUMULATIVE AVERAGE CPU IDLE PERCENT = 57.3600 FOR A PERIOD OF 900.373 SECONDS.

D- 18 Figure 8. The output of a subroutine to compute CPU utilization.

UNCLASSIFIED Security Classification DOCUMENT CONTROL DATA - R&D (Security classification of title, body of abstract and indexing annotation must be entered when the overall report is classified) 1. ORIGINATING ACTIVITY (Corporate author)..a. REPORT SECURITY C LASSIFICATION UNCLASSIFIED THE UNIVERSITY OF MICHIGAN 2b. GROUP CONCOMP PROJECT 3. REPORT TITLE THE MTS DATA COLLECTION FACILITY 4. DESCRIPTIVE NOTES (Type of report and inclusive dates) Technical Report 5. AUTHOR(S) (Last name, first name, initial) Tad B. Pinkerton 6. REPO RT DATE 7.. TOTAL NO. OF PAGES 7b. NO. OF REFS June 1968 40 8a. CONTRACT OR GRANT NO. 9a. ORIGINATOR'S REPORT NUMBER(S) DA-49-083 OSA-3050 Memorandum 18 b. PROJECT NO. c. |9b. OTHER R PORT NO(S) (Any oihernumbere that may be assigned this report) d. 10. A VA IL ABILITY/LIMITATION NOTICES Qualified Requesters may obtain copies of this report from DDC. 11. SUPPLEMENTARY NOTES 12. SPONSORING MILITARY ACTIVITY Advanced Research Projects Agency 13. ABSTRACT A software system for obtaining computing system and program performance data is described. It includes programs for the collection of such data from the Michigan Terminal System (MTS) and its analysis to produce a general description of program behavior. Procedures for gathering data and using the analysis programs are given, along with examples of the output. o 47 14 7 3 D 1D JAN 6R14 1473 UNCLASSIFIED Security Classification

Unclassified Security Classification 14. LINK A LINK B LINK C KEY WORDS ROLE WT ROLE WT ROLE WT Performance Measurement Operating System Data Data Collection Facility INSTRUCTIONS 1. ORIGINATING ACTIVITY: Enter the name and address imposed by security classification, using standard statements of the contractor, subcontractor, grantee, Department of De- such as: fense activity or other organization (corporate author) issuing (1) "Qualified requesters may obtain copies of this the report. report from DDC." 2a. REPORT SECURITY CLASSIFICATION: Enter the over- (2) "Foreign announcement and dissemination of this all security classification of the report. Indicate whether "Restricted Data" is included. Marking is to be in accordance with appropriate security regulations. (3) "U. S. Government agencies may obtain copies of this report directly from DDC. Other qualified DDC 2b. GROUP: Automatic downgrading is specified in DoD Di- users shall request through rective 5200. 10 and Armed Forces Industrial Manual. Enter the group number. Also, when applicable, show that optional markings have been used for Group 3 and Group 4 as author- (4) "U. S. military agencies may obtain copies of this ized. report directly from DDC. Other qualified users 3. REPORT TITLE: Enter the complete report title in all shall request through capital letters. Titles in all cases should be unclassified., If a meaningful title cannot be selected without classification, show title classification in all capitals in parenthesis (5) "All distribution of this report is controlled. Qualimmediately following the title. ified DDC users shall request through 4. DESCRIPTIVE NOTES: If appropriate, enter the type of -'" report, e.g., interim, progress, summary, annual, or final. If the report has been furnished to the Office of Technical Give the inclusive dates when a specific reporting period is Services, Department of Commerce, for sale to the public, indicovered. cate this fact and enter the price, if known. 5. AUTHOR(S): Enter the name(s) of author(s) as shown on 11. SUPPLEMENTARY NOTES: Use for additional explanaor in the report. Enter last name, first name, middle initial. tory notes. If military, show rank and branch of service. The name of the principal a;uthor is an absolute minimum requirement. 12. SPONSORING MILITARY ACTIVITY: Enter the name of the departmental project office or laboratory sponsoring (pay6. REPORT DATS Enter the date of the report as day, ing for) the research and development. Include address. month, year; or month, year. If more than one date appears on the report, use date of publication. 13. ABSTRACT: Enter an abstract giving a brief and factual summary of the document indicative of the report, even though 7a. TOTAL NUMaIBER OF PAGES: The total page count it may also appear elsewhere in the body of the technical reshould follow normal pagination procedures, i.e., enter the port. If additional space is required, a continuation sheet shall number of pages containing information. be attached. 7b. NUMBER OF REFERENCES: Enter the total number of It is highly desirable that the abstract of classified reports references cited in the report. be unclassified. Each paragraph of the abstract shall end with 8a. CONTRACT OR GRANT NUMBER: If appropriate, enter an indication of the military security classification of the inthe applicable number of the contract or grant under which formation in the paragraph, represented as (TS), (S), (C), or (U). the report was written. There is no limitation cn the length of the abstract. How8b, Sc, & 8d. PROJECT NUMBER: Enter the appropriate ever, the suggested length is from 150 to 225 words. military department identification, such as project number,....roject.....r system numbers task number etc. 14. KEY WORDS: Key words are technically meaningful terms subproject number, system numbers, task number, etc. or short phrases that characterize a report and may be used as 9a. ORIGINATOR'S REPORT NUMBER(S): Enter the offi- index entries for cataloging the report. Key words must be cial report number by which the document will be identified selected so that no security classification is required. Identiand controlled by the originating activity. This number must fiers, such as equipment model designation, trade name, military be unique to this report. project code name, geographic location, may be used as key 9b. OTHER REPORT NUMBER(S): If the report has been words but will be followed by an indication of technical conassigned any other report numbers (either by the originator text. The assignment of links, rules, and weights is optional. or by the sponsor), also enter this number(s). 10. AVAILABILITY/LIMITATION NOTICES: Enter any limitations on further dissemination of the report, other than those GPO 886-55t Unclassified Security Classification

UNIVERSITY OF MICHIGAN 3 9011 03691 2110