1. Run a few randomly-generated problemswith just two jobs and two queues;
compute the MLFQ execution trace for each. Make your life easier by limiting the length of each job and turning off I/Os.
siuwhat@siuwhat-PC:~/Desktop/HW-MLFQ$ ./mlfq.py -j 2 -M 0 -m 10 -n 2 -c Here is the list of inputs: OPTIONS jobs 2 OPTIONS queues 2 OPTIONS allotments for queue 1 is 1 OPTIONS quantum length for queue 1 is 10 OPTIONS allotments for queue 0 is 1 OPTIONS quantum length for queue 0 is 10 OPTIONS boost 0 OPTIONS ioTime 5 OPTIONS stayAfterIO False OPTIONS iobump False For each job, three defining characteristics are given: startTime : at what time does the job enter the system runTime : the total CPU time needed by the job to finish ioFreq : every ioFreq time units, the job issues an I/O (the I/O takes ioTime units to complete) Job List: Job 0: startTime 0 - runTime 8 - ioFreq 0 Job 1: startTime 0 - runTime 4 - ioFreq 0 Execution Trace: [ time 0 ] JOB BEGINS by JOB 0 [ time 0 ] JOB BEGINS by JOB 1 [ time 0 ] Run JOB 0 at PRIORITY 1 [ TICKS 9 ALLOT 1 TIME 7 (of 8) ] [ time 1 ] Run JOB 0 at PRIORITY 1 [ TICKS 8 ALLOT 1 TIME 6 (of 8) ] [ time 2 ] Run JOB 0 at PRIORITY 1 [ TICKS 7 ALLOT 1 TIME 5 (of 8) ] [ time 3 ] Run JOB 0 at PRIORITY 1 [ TICKS 6 ALLOT 1 TIME 4 (of 8) ] [ time 4 ] Run JOB 0 at PRIORITY 1 [ TICKS 5 ALLOT 1 TIME 3 (of 8) ] [ time 5 ] Run JOB 0 at PRIORITY 1 [ TICKS 4 ALLOT 1 TIME 2 (of 8) ] [ time 6 ] Run JOB 0 at PRIORITY 1 [ TICKS 3 ALLOT 1 TIME 1 (of 8) ] [ time 7 ] Run JOB 0 at PRIORITY 1 [ TICKS 2 ALLOT 1 TIME 0 (of 8) ] [ time 8 ] FINISHED JOB 0 [ time 8 ] Run JOB 1 at PRIORITY 1 [ TICKS 9 ALLOT 1 TIME 3 (of 4) ] [ time 9 ] Run JOB 1 at PRIORITY 1 [ TICKS 8 ALLOT 1 TIME 2 (of 4) ] [ time 10 ] Run JOB 1 at PRIORITY 1 [ TICKS 7 ALLOT 1 TIME 1 (of 4) ] [ time 11 ] Run JOB 1 at PRIORITY 1 [ TICKS 6 ALLOT 1 TIME 0 (of 4) ] [ time 12 ] FINISHED JOB 1 Final statistics: Job 0: startTime 0 - response 0 - turnaround 8 Job 1: startTime 0 - response 8 - turnaround 12 Avg 1: startTime n/a - response 4.00 - turnaround 10.00
3. How would you configure the scheduler parameters to behave just like a round-robin scheduler?
表现为RR只需要一个优先级队列,设定时间片和多个任务,那么按照参数
siuwhat@siuwhat-PC:~/Desktop/HW-MLFQ$ ./mlfq.py -j 3 -n 1 -q 1 -c -M 0 Here is the list of inputs: OPTIONS jobs 3 OPTIONS queues 1 OPTIONS allotments for queue 0 is 1 OPTIONS quantum length for queue 0 is 1 OPTIONS boost 0 OPTIONS ioTime 5 OPTIONS stayAfterIO False OPTIONS iobump False For each job, three defining characteristics are given: startTime : at what time does the job enter the system runTime : the total CPU time needed by the job to finish ioFreq : every ioFreq time units, the job issues an I/O (the I/O takes ioTime units to complete) Job List: Job 0: startTime 0 - runTime 84 - ioFreq 0 Job 1: startTime 0 - runTime 42 - ioFreq 0 Job 2: startTime 0 - runTime 51 - ioFreq 0 Execution Trace: [ time 0 ] JOB BEGINS by JOB 0 [ time 0 ] JOB BEGINS by JOB 1 [ time 0 ] JOB BEGINS by JOB 2 [ time 0 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 83 (of 84) ] [ time 1 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 41 (of 42) ] [ time 2 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 50 (of 51) ] [ time 3 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 82 (of 84) ] [ time 4 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 40 (of 42) ] [ time 5 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 49 (of 51) ] [ time 6 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 81 (of 84) ] [ time 7 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 39 (of 42) ] [ time 8 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 48 (of 51) ] [ time 9 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 80 (of 84) ] [ time 10 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 38 (of 42) ] [ time 11 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 47 (of 51) ] [ time 12 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 79 (of 84) ] [ time 13 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 37 (of 42) ] [ time 14 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 46 (of 51) ] [ time 15 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 78 (of 84) ] [ time 16 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 36 (of 42) ] [ time 17 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 45 (of 51) ] [ time 18 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 77 (of 84) ] [ time 19 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 35 (of 42) ] [ time 20 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 44 (of 51) ] [ time 21 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 76 (of 84) ] [ time 22 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 34 (of 42) ] [ time 23 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 43 (of 51) ] [ time 24 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 75 (of 84) ] [ time 25 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 33 (of 42) ] [ time 26 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 42 (of 51) ] [ time 27 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 74 (of 84) ] [ time 28 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 32 (of 42) ] [ time 29 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 41 (of 51) ] [ time 30 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 73 (of 84) ] [ time 31 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 31 (of 42) ] [ time 32 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 40 (of 51) ] [ time 33 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 72 (of 84) ] [ time 34 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 30 (of 42) ] [ time 35 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 39 (of 51) ] [ time 36 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 71 (of 84) ] [ time 37 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 29 (of 42) ] [ time 38 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 38 (of 51) ] [ time 39 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 70 (of 84) ] [ time 40 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 28 (of 42) ] [ time 41 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 37 (of 51) ] [ time 42 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 69 (of 84) ] [ time 43 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 27 (of 42) ] [ time 44 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 36 (of 51) ] [ time 45 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 68 (of 84) ] [ time 46 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 26 (of 42) ] [ time 47 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 35 (of 51) ] [ time 48 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 67 (of 84) ] [ time 49 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 25 (of 42) ] [ time 50 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 34 (of 51) ] [ time 51 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 66 (of 84) ] [ time 52 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 24 (of 42) ] [ time 53 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 33 (of 51) ] [ time 54 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 65 (of 84) ] [ time 55 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 23 (of 42) ] [ time 56 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 32 (of 51) ] [ time 57 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 64 (of 84) ] [ time 58 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 22 (of 42) ] [ time 59 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 31 (of 51) ] [ time 60 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 63 (of 84) ] [ time 61 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 21 (of 42) ] [ time 62 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 30 (of 51) ] [ time 63 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 62 (of 84) ] [ time 64 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 20 (of 42) ] [ time 65 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 29 (of 51) ] [ time 66 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 61 (of 84) ] [ time 67 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 19 (of 42) ] [ time 68 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 28 (of 51) ] [ time 69 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 60 (of 84) ] [ time 70 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 18 (of 42) ] [ time 71 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 27 (of 51) ] [ time 72 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 59 (of 84) ] [ time 73 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 17 (of 42) ] [ time 74 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 26 (of 51) ] [ time 75 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 58 (of 84) ] [ time 76 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 16 (of 42) ] [ time 77 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 25 (of 51) ] [ time 78 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 57 (of 84) ] [ time 79 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 15 (of 42) ] [ time 80 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 24 (of 51) ] [ time 81 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 56 (of 84) ] [ time 82 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 14 (of 42) ] [ time 83 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 23 (of 51) ] [ time 84 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 55 (of 84) ] [ time 85 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 13 (of 42) ] [ time 86 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 22 (of 51) ] [ time 87 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 54 (of 84) ] [ time 88 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 12 (of 42) ] [ time 89 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 21 (of 51) ] [ time 90 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 53 (of 84) ] [ time 91 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 11 (of 42) ] [ time 92 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 20 (of 51) ] [ time 93 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 52 (of 84) ] [ time 94 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 10 (of 42) ] [ time 95 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 19 (of 51) ] [ time 96 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 51 (of 84) ] [ time 97 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 9 (of 42) ] [ time 98 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 18 (of 51) ] [ time 99 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 50 (of 84) ] [ time 100 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 8 (of 42) ] [ time 101 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 17 (of 51) ] [ time 102 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 49 (of 84) ] [ time 103 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 7 (of 42) ] [ time 104 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 16 (of 51) ] [ time 105 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 48 (of 84) ] [ time 106 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 6 (of 42) ] [ time 107 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 15 (of 51) ] [ time 108 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 47 (of 84) ] [ time 109 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 5 (of 42) ] [ time 110 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 14 (of 51) ] [ time 111 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 46 (of 84) ] [ time 112 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 4 (of 42) ] [ time 113 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 13 (of 51) ] [ time 114 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 45 (of 84) ] [ time 115 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 3 (of 42) ] [ time 116 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 12 (of 51) ] [ time 117 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 44 (of 84) ] [ time 118 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 2 (of 42) ] [ time 119 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 11 (of 51) ] [ time 120 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 43 (of 84) ] [ time 121 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 1 (of 42) ] [ time 122 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 10 (of 51) ] [ time 123 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 42 (of 84) ] [ time 124 ] Run JOB 1 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 0 (of 42) ] [ time 125 ] FINISHED JOB 1 [ time 125 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 9 (of 51) ] [ time 126 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 41 (of 84) ] [ time 127 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 8 (of 51) ] [ time 128 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 40 (of 84) ] [ time 129 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 7 (of 51) ] [ time 130 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 39 (of 84) ] [ time 131 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 6 (of 51) ] [ time 132 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 38 (of 84) ] [ time 133 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 5 (of 51) ] [ time 134 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 37 (of 84) ] [ time 135 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 4 (of 51) ] [ time 136 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 36 (of 84) ] [ time 137 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 3 (of 51) ] [ time 138 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 35 (of 84) ] [ time 139 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 2 (of 51) ] [ time 140 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 34 (of 84) ] [ time 141 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 1 (of 51) ] [ time 142 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 33 (of 84) ] [ time 143 ] Run JOB 2 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 0 (of 51) ] [ time 144 ] FINISHED JOB 2 [ time 144 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 32 (of 84) ] [ time 145 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 31 (of 84) ] [ time 146 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 30 (of 84) ] [ time 147 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 29 (of 84) ] [ time 148 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 28 (of 84) ] [ time 149 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 27 (of 84) ] [ time 150 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 26 (of 84) ] [ time 151 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 25 (of 84) ] [ time 152 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 24 (of 84) ] [ time 153 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 23 (of 84) ] [ time 154 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 22 (of 84) ] [ time 155 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 21 (of 84) ] [ time 156 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 20 (of 84) ] [ time 157 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 19 (of 84) ] [ time 158 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 18 (of 84) ] [ time 159 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 17 (of 84) ] [ time 160 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 16 (of 84) ] [ time 161 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 15 (of 84) ] [ time 162 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 14 (of 84) ] [ time 163 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 13 (of 84) ] [ time 164 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 12 (of 84) ] [ time 165 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 11 (of 84) ] [ time 166 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 10 (of 84) ] [ time 167 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 9 (of 84) ] [ time 168 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 8 (of 84) ] [ time 169 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 7 (of 84) ] [ time 170 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 6 (of 84) ] [ time 171 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 5 (of 84) ] [ time 172 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 4 (of 84) ] [ time 173 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 3 (of 84) ] [ time 174 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 2 (of 84) ] [ time 175 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 1 (of 84) ] [ time 176 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 0 (of 84) ] [ time 177 ] FINISHED JOB 0 Final statistics: Job 0: startTime 0 - response 0 - turnaround 177 Job 1: startTime 0 - response 1 - turnaround 125 Job 2: startTime 0 - response 2 - turnaround 144 Avg 2: startTime n/a - response 1.00 - turnaround 148.67 siuwhat@siuwhat-PC:~/Desktop/HW-MLFQ$
4. Craft a workload with two jobs and scheduler parameters so that one job takes advantage of the older Rules 4a and 4b (turned on with the -S flag) to game the scheduler and obtain 99% of the CPU over a particular time interval.
siuwhat@siuwhat-PC:~/Desktop/HW-MLFQ$ ./mlfq.py -j 2 -n 3 -l 0,250,0:50,150,9 -M 0 -S -i 1 -q 10 -c
Here is the list of inputs:
OPTIONS jobs 2
OPTIONS queues 3
OPTIONS allotments for queue 2 is 1
OPTIONS quantum length for queue 2 is 10
OPTIONS allotments for queue 1 is 1
OPTIONS quantum length for queue 1 is 10
OPTIONS allotments for queue 0 is 1
OPTIONS quantum length for queue 0 is 10
OPTIONS boost 0
OPTIONS ioTime 1
OPTIONS stayAfterIO True
OPTIONS iobump False
For each job, three defining characteristics are given:
startTime : at what time does the job enter the system
runTime : the total CPU time needed by the job to finish
ioFreq : every ioFreq time units, the job issues an I/O
(the I/O takes ioTime units to complete)
Job List:
Job 0: startTime 0 - runTime 250 - ioFreq 0
Job 1: startTime 50 - runTime 150 - ioFreq 9
Execution Trace:
[ time 0 ] JOB BEGINS by JOB 0
[ time 0 ] Run JOB 0 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 249 (of 250) ]
[ time 1 ] Run JOB 0 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 248 (of 250) ]
[ time 2 ] Run JOB 0 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 247 (of 250) ]
[ time 3 ] Run JOB 0 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 246 (of 250) ]
[ time 4 ] Run JOB 0 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 245 (of 250) ]
[ time 5 ] Run JOB 0 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 244 (of 250) ]
[ time 6 ] Run JOB 0 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 243 (of 250) ]
[ time 7 ] Run JOB 0 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 242 (of 250) ]
[ time 8 ] Run JOB 0 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 241 (of 250) ]
[ time 9 ] Run JOB 0 at PRIORITY 2 [ TICKS 0 ALLOT 1 TIME 240 (of 250) ]
[ time 10 ] Run JOB 0 at PRIORITY 1 [ TICKS 9 ALLOT 1 TIME 239 (of 250) ]
[ time 11 ] Run JOB 0 at PRIORITY 1 [ TICKS 8 ALLOT 1 TIME 238 (of 250) ]
[ time 12 ] Run JOB 0 at PRIORITY 1 [ TICKS 7 ALLOT 1 TIME 237 (of 250) ]
[ time 13 ] Run JOB 0 at PRIORITY 1 [ TICKS 6 ALLOT 1 TIME 236 (of 250) ]
[ time 14 ] Run JOB 0 at PRIORITY 1 [ TICKS 5 ALLOT 1 TIME 235 (of 250) ]
[ time 15 ] Run JOB 0 at PRIORITY 1 [ TICKS 4 ALLOT 1 TIME 234 (of 250) ]
[ time 16 ] Run JOB 0 at PRIORITY 1 [ TICKS 3 ALLOT 1 TIME 233 (of 250) ]
[ time 17 ] Run JOB 0 at PRIORITY 1 [ TICKS 2 ALLOT 1 TIME 232 (of 250) ]
[ time 18 ] Run JOB 0 at PRIORITY 1 [ TICKS 1 ALLOT 1 TIME 231 (of 250) ]
[ time 19 ] Run JOB 0 at PRIORITY 1 [ TICKS 0 ALLOT 1 TIME 230 (of 250) ]
[ time 20 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 229 (of 250) ]
[ time 21 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 228 (of 250) ]
[ time 22 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 227 (of 250) ]
[ time 23 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 226 (of 250) ]
[ time 24 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 225 (of 250) ]
[ time 25 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 224 (of 250) ]
[ time 26 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 223 (of 250) ]
[ time 27 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 222 (of 250) ]
[ time 28 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 221 (of 250) ]
[ time 29 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 220 (of 250) ]
[ time 30 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 219 (of 250) ]
[ time 31 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 218 (of 250) ]
[ time 32 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 217 (of 250) ]
[ time 33 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 216 (of 250) ]
[ time 34 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 215 (of 250) ]
[ time 35 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 214 (of 250) ]
[ time 36 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 213 (of 250) ]
[ time 37 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 212 (of 250) ]
[ time 38 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 211 (of 250) ]
[ time 39 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 210 (of 250) ]
[ time 40 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 209 (of 250) ]
[ time 41 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 208 (of 250) ]
[ time 42 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 207 (of 250) ]
[ time 43 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 206 (of 250) ]
[ time 44 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 205 (of 250) ]
[ time 45 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 204 (of 250) ]
[ time 46 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 203 (of 250) ]
[ time 47 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 202 (of 250) ]
[ time 48 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 201 (of 250) ]
[ time 49 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 200 (of 250) ]
[ time 50 ] JOB BEGINS by JOB 1
[ time 50 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 149 (of 150) ]
[ time 51 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 148 (of 150) ]
[ time 52 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 147 (of 150) ]
[ time 53 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 146 (of 150) ]
[ time 54 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 145 (of 150) ]
[ time 55 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 144 (of 150) ]
[ time 56 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 143 (of 150) ]
[ time 57 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 142 (of 150) ]
[ time 58 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 141 (of 150) ]
[ time 59 ] IO_START by JOB 1
IO DONE
[ time 59 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 199 (of 250) ]
[ time 60 ] IO_DONE by JOB 1
[ time 60 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 140 (of 150) ]
[ time 61 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 139 (of 150) ]
[ time 62 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 138 (of 150) ]
[ time 63 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 137 (of 150) ]
[ time 64 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 136 (of 150) ]
[ time 65 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 135 (of 150) ]
[ time 66 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 134 (of 150) ]
[ time 67 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 133 (of 150) ]
[ time 68 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 132 (of 150) ]
[ time 69 ] IO_START by JOB 1
IO DONE
[ time 69 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 198 (of 250) ]
[ time 70 ] IO_DONE by JOB 1
[ time 70 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 131 (of 150) ]
[ time 71 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 130 (of 150) ]
[ time 72 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 129 (of 150) ]
[ time 73 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 128 (of 150) ]
[ time 74 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 127 (of 150) ]
[ time 75 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 126 (of 150) ]
[ time 76 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 125 (of 150) ]
[ time 77 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 124 (of 150) ]
[ time 78 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 123 (of 150) ]
[ time 79 ] IO_START by JOB 1
IO DONE
[ time 79 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 197 (of 250) ]
[ time 80 ] IO_DONE by JOB 1
[ time 80 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 122 (of 150) ]
[ time 81 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 121 (of 150) ]
[ time 82 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 120 (of 150) ]
[ time 83 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 119 (of 150) ]
[ time 84 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 118 (of 150) ]
[ time 85 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 117 (of 150) ]
[ time 86 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 116 (of 150) ]
[ time 87 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 115 (of 150) ]
[ time 88 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 114 (of 150) ]
[ time 89 ] IO_START by JOB 1
IO DONE
[ time 89 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 196 (of 250) ]
[ time 90 ] IO_DONE by JOB 1
[ time 90 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 113 (of 150) ]
[ time 91 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 112 (of 150) ]
[ time 92 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 111 (of 150) ]
[ time 93 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 110 (of 150) ]
[ time 94 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 109 (of 150) ]
[ time 95 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 108 (of 150) ]
[ time 96 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 107 (of 150) ]
[ time 97 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 106 (of 150) ]
[ time 98 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 105 (of 150) ]
[ time 99 ] IO_START by JOB 1
IO DONE
[ time 99 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 195 (of 250) ]
[ time 100 ] IO_DONE by JOB 1
[ time 100 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 104 (of 150) ]
[ time 101 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 103 (of 150) ]
[ time 102 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 102 (of 150) ]
[ time 103 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 101 (of 150) ]
[ time 104 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 100 (of 150) ]
[ time 105 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 99 (of 150) ]
[ time 106 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 98 (of 150) ]
[ time 107 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 97 (of 150) ]
[ time 108 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 96 (of 150) ]
[ time 109 ] IO_START by JOB 1
IO DONE
[ time 109 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 194 (of 250) ]
[ time 110 ] IO_DONE by JOB 1
[ time 110 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 95 (of 150) ]
[ time 111 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 94 (of 150) ]
[ time 112 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 93 (of 150) ]
[ time 113 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 92 (of 150) ]
[ time 114 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 91 (of 150) ]
[ time 115 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 90 (of 150) ]
[ time 116 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 89 (of 150) ]
[ time 117 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 88 (of 150) ]
[ time 118 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 87 (of 150) ]
[ time 119 ] IO_START by JOB 1
IO DONE
[ time 119 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 193 (of 250) ]
[ time 120 ] IO_DONE by JOB 1
[ time 120 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 86 (of 150) ]
[ time 121 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 85 (of 150) ]
[ time 122 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 84 (of 150) ]
[ time 123 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 83 (of 150) ]
[ time 124 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 82 (of 150) ]
[ time 125 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 81 (of 150) ]
[ time 126 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 80 (of 150) ]
[ time 127 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 79 (of 150) ]
[ time 128 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 78 (of 150) ]
[ time 129 ] IO_START by JOB 1
IO DONE
[ time 129 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 192 (of 250) ]
[ time 130 ] IO_DONE by JOB 1
[ time 130 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 77 (of 150) ]
[ time 131 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 76 (of 150) ]
[ time 132 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 75 (of 150) ]
[ time 133 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 74 (of 150) ]
[ time 134 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 73 (of 150) ]
[ time 135 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 72 (of 150) ]
[ time 136 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 71 (of 150) ]
[ time 137 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 70 (of 150) ]
[ time 138 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 69 (of 150) ]
[ time 139 ] IO_START by JOB 1
IO DONE
[ time 139 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 191 (of 250) ]
[ time 140 ] IO_DONE by JOB 1
[ time 140 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 68 (of 150) ]
[ time 141 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 67 (of 150) ]
[ time 142 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 66 (of 150) ]
[ time 143 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 65 (of 150) ]
[ time 144 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 64 (of 150) ]
[ time 145 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 63 (of 150) ]
[ time 146 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 62 (of 150) ]
[ time 147 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 61 (of 150) ]
[ time 148 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 60 (of 150) ]
[ time 149 ] IO_START by JOB 1
IO DONE
[ time 149 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 190 (of 250) ]
[ time 150 ] IO_DONE by JOB 1
[ time 150 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 59 (of 150) ]
[ time 151 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 58 (of 150) ]
[ time 152 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 57 (of 150) ]
[ time 153 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 56 (of 150) ]
[ time 154 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 55 (of 150) ]
[ time 155 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 54 (of 150) ]
[ time 156 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 53 (of 150) ]
[ time 157 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 52 (of 150) ]
[ time 158 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 51 (of 150) ]
[ time 159 ] IO_START by JOB 1
IO DONE
[ time 159 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 189 (of 250) ]
[ time 160 ] IO_DONE by JOB 1
[ time 160 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 50 (of 150) ]
[ time 161 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 49 (of 150) ]
[ time 162 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 48 (of 150) ]
[ time 163 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 47 (of 150) ]
[ time 164 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 46 (of 150) ]
[ time 165 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 45 (of 150) ]
[ time 166 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 44 (of 150) ]
[ time 167 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 43 (of 150) ]
[ time 168 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 42 (of 150) ]
[ time 169 ] IO_START by JOB 1
IO DONE
[ time 169 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 188 (of 250) ]
[ time 170 ] IO_DONE by JOB 1
[ time 170 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 41 (of 150) ]
[ time 171 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 40 (of 150) ]
[ time 172 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 39 (of 150) ]
[ time 173 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 38 (of 150) ]
[ time 174 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 37 (of 150) ]
[ time 175 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 36 (of 150) ]
[ time 176 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 35 (of 150) ]
[ time 177 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 34 (of 150) ]
[ time 178 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 33 (of 150) ]
[ time 179 ] IO_START by JOB 1
IO DONE
[ time 179 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 187 (of 250) ]
[ time 180 ] IO_DONE by JOB 1
[ time 180 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 32 (of 150) ]
[ time 181 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 31 (of 150) ]
[ time 182 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 30 (of 150) ]
[ time 183 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 29 (of 150) ]
[ time 184 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 28 (of 150) ]
[ time 185 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 27 (of 150) ]
[ time 186 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 26 (of 150) ]
[ time 187 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 25 (of 150) ]
[ time 188 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 24 (of 150) ]
[ time 189 ] IO_START by JOB 1
IO DONE
[ time 189 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 186 (of 250) ]
[ time 190 ] IO_DONE by JOB 1
[ time 190 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 23 (of 150) ]
[ time 191 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 22 (of 150) ]
[ time 192 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 21 (of 150) ]
[ time 193 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 20 (of 150) ]
[ time 194 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 19 (of 150) ]
[ time 195 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 18 (of 150) ]
[ time 196 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 17 (of 150) ]
[ time 197 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 16 (of 150) ]
[ time 198 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 15 (of 150) ]
[ time 199 ] IO_START by JOB 1
IO DONE
[ time 199 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 185 (of 250) ]
[ time 200 ] IO_DONE by JOB 1
[ time 200 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 14 (of 150) ]
[ time 201 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 13 (of 150) ]
[ time 202 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 12 (of 150) ]
[ time 203 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 11 (of 150) ]
[ time 204 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 10 (of 150) ]
[ time 205 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 9 (of 150) ]
[ time 206 ] Run JOB 1 at PRIORITY 2 [ TICKS 3 ALLOT 1 TIME 8 (of 150) ]
[ time 207 ] Run JOB 1 at PRIORITY 2 [ TICKS 2 ALLOT 1 TIME 7 (of 150) ]
[ time 208 ] Run JOB 1 at PRIORITY 2 [ TICKS 1 ALLOT 1 TIME 6 (of 150) ]
[ time 209 ] IO_START by JOB 1
IO DONE
[ time 209 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 184 (of 250) ]
[ time 210 ] IO_DONE by JOB 1
[ time 210 ] Run JOB 1 at PRIORITY 2 [ TICKS 9 ALLOT 1 TIME 5 (of 150) ]
[ time 211 ] Run JOB 1 at PRIORITY 2 [ TICKS 8 ALLOT 1 TIME 4 (of 150) ]
[ time 212 ] Run JOB 1 at PRIORITY 2 [ TICKS 7 ALLOT 1 TIME 3 (of 150) ]
[ time 213 ] Run JOB 1 at PRIORITY 2 [ TICKS 6 ALLOT 1 TIME 2 (of 150) ]
[ time 214 ] Run JOB 1 at PRIORITY 2 [ TICKS 5 ALLOT 1 TIME 1 (of 150) ]
[ time 215 ] Run JOB 1 at PRIORITY 2 [ TICKS 4 ALLOT 1 TIME 0 (of 150) ]
[ time 216 ] FINISHED JOB 1
[ time 216 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 183 (of 250) ]
[ time 217 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 182 (of 250) ]
[ time 218 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 181 (of 250) ]
[ time 219 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 180 (of 250) ]
[ time 220 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 179 (of 250) ]
[ time 221 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 178 (of 250) ]
[ time 222 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 177 (of 250) ]
[ time 223 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 176 (of 250) ]
[ time 224 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 175 (of 250) ]
[ time 225 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 174 (of 250) ]
[ time 226 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 173 (of 250) ]
[ time 227 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 172 (of 250) ]
[ time 228 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 171 (of 250) ]
[ time 229 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 170 (of 250) ]
[ time 230 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 169 (of 250) ]
[ time 231 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 168 (of 250) ]
[ time 232 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 167 (of 250) ]
[ time 233 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 166 (of 250) ]
[ time 234 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 165 (of 250) ]
[ time 235 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 164 (of 250) ]
[ time 236 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 163 (of 250) ]
[ time 237 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 162 (of 250) ]
[ time 238 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 161 (of 250) ]
[ time 239 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 160 (of 250) ]
[ time 240 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 159 (of 250) ]
[ time 241 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 158 (of 250) ]
[ time 242 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 157 (of 250) ]
[ time 243 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 156 (of 250) ]
[ time 244 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 155 (of 250) ]
[ time 245 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 154 (of 250) ]
[ time 246 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 153 (of 250) ]
[ time 247 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 152 (of 250) ]
[ time 248 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 151 (of 250) ]
[ time 249 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 150 (of 250) ]
[ time 250 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 149 (of 250) ]
[ time 251 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 148 (of 250) ]
[ time 252 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 147 (of 250) ]
[ time 253 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 146 (of 250) ]
[ time 254 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 145 (of 250) ]
[ time 255 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 144 (of 250) ]
[ time 256 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 143 (of 250) ]
[ time 257 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 142 (of 250) ]
[ time 258 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 141 (of 250) ]
[ time 259 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 140 (of 250) ]
[ time 260 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 139 (of 250) ]
[ time 261 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 138 (of 250) ]
[ time 262 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 137 (of 250) ]
[ time 263 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 136 (of 250) ]
[ time 264 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 135 (of 250) ]
[ time 265 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 134 (of 250) ]
[ time 266 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 133 (of 250) ]
[ time 267 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 132 (of 250) ]
[ time 268 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 131 (of 250) ]
[ time 269 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 130 (of 250) ]
[ time 270 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 129 (of 250) ]
[ time 271 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 128 (of 250) ]
[ time 272 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 127 (of 250) ]
[ time 273 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 126 (of 250) ]
[ time 274 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 125 (of 250) ]
[ time 275 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 124 (of 250) ]
[ time 276 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 123 (of 250) ]
[ time 277 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 122 (of 250) ]
[ time 278 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 121 (of 250) ]
[ time 279 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 120 (of 250) ]
[ time 280 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 119 (of 250) ]
[ time 281 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 118 (of 250) ]
[ time 282 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 117 (of 250) ]
[ time 283 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 116 (of 250) ]
[ time 284 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 115 (of 250) ]
[ time 285 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 114 (of 250) ]
[ time 286 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 113 (of 250) ]
[ time 287 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 112 (of 250) ]
[ time 288 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 111 (of 250) ]
[ time 289 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 110 (of 250) ]
[ time 290 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 109 (of 250) ]
[ time 291 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 108 (of 250) ]
[ time 292 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 107 (of 250) ]
[ time 293 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 106 (of 250) ]
[ time 294 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 105 (of 250) ]
[ time 295 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 104 (of 250) ]
[ time 296 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 103 (of 250) ]
[ time 297 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 102 (of 250) ]
[ time 298 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 101 (of 250) ]
[ time 299 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 100 (of 250) ]
[ time 300 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 99 (of 250) ]
[ time 301 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 98 (of 250) ]
[ time 302 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 97 (of 250) ]
[ time 303 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 96 (of 250) ]
[ time 304 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 95 (of 250) ]
[ time 305 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 94 (of 250) ]
[ time 306 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 93 (of 250) ]
[ time 307 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 92 (of 250) ]
[ time 308 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 91 (of 250) ]
[ time 309 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 90 (of 250) ]
[ time 310 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 89 (of 250) ]
[ time 311 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 88 (of 250) ]
[ time 312 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 87 (of 250) ]
[ time 313 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 86 (of 250) ]
[ time 314 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 85 (of 250) ]
[ time 315 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 84 (of 250) ]
[ time 316 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 83 (of 250) ]
[ time 317 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 82 (of 250) ]
[ time 318 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 81 (of 250) ]
[ time 319 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 80 (of 250) ]
[ time 320 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 79 (of 250) ]
[ time 321 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 78 (of 250) ]
[ time 322 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 77 (of 250) ]
[ time 323 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 76 (of 250) ]
[ time 324 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 75 (of 250) ]
[ time 325 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 74 (of 250) ]
[ time 326 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 73 (of 250) ]
[ time 327 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 72 (of 250) ]
[ time 328 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 71 (of 250) ]
[ time 329 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 70 (of 250) ]
[ time 330 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 69 (of 250) ]
[ time 331 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 68 (of 250) ]
[ time 332 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 67 (of 250) ]
[ time 333 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 66 (of 250) ]
[ time 334 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 65 (of 250) ]
[ time 335 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 64 (of 250) ]
[ time 336 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 63 (of 250) ]
[ time 337 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 62 (of 250) ]
[ time 338 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 61 (of 250) ]
[ time 339 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 60 (of 250) ]
[ time 340 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 59 (of 250) ]
[ time 341 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 58 (of 250) ]
[ time 342 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 57 (of 250) ]
[ time 343 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 56 (of 250) ]
[ time 344 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 55 (of 250) ]
[ time 345 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 54 (of 250) ]
[ time 346 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 53 (of 250) ]
[ time 347 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 52 (of 250) ]
[ time 348 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 51 (of 250) ]
[ time 349 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 50 (of 250) ]
[ time 350 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 49 (of 250) ]
[ time 351 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 48 (of 250) ]
[ time 352 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 47 (of 250) ]
[ time 353 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 46 (of 250) ]
[ time 354 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 45 (of 250) ]
[ time 355 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 44 (of 250) ]
[ time 356 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 43 (of 250) ]
[ time 357 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 42 (of 250) ]
[ time 358 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 41 (of 250) ]
[ time 359 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 40 (of 250) ]
[ time 360 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 39 (of 250) ]
[ time 361 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 38 (of 250) ]
[ time 362 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 37 (of 250) ]
[ time 363 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 36 (of 250) ]
[ time 364 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 35 (of 250) ]
[ time 365 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 34 (of 250) ]
[ time 366 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 33 (of 250) ]
[ time 367 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 32 (of 250) ]
[ time 368 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 31 (of 250) ]
[ time 369 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 30 (of 250) ]
[ time 370 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 29 (of 250) ]
[ time 371 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 28 (of 250) ]
[ time 372 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 27 (of 250) ]
[ time 373 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 26 (of 250) ]
[ time 374 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 25 (of 250) ]
[ time 375 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 24 (of 250) ]
[ time 376 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 23 (of 250) ]
[ time 377 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 22 (of 250) ]
[ time 378 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 21 (of 250) ]
[ time 379 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 20 (of 250) ]
[ time 380 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 19 (of 250) ]
[ time 381 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 18 (of 250) ]
[ time 382 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 17 (of 250) ]
[ time 383 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 16 (of 250) ]
[ time 384 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 15 (of 250) ]
[ time 385 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 14 (of 250) ]
[ time 386 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 13 (of 250) ]
[ time 387 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 12 (of 250) ]
[ time 388 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 11 (of 250) ]
[ time 389 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 10 (of 250) ]
[ time 390 ] Run JOB 0 at PRIORITY 0 [ TICKS 9 ALLOT 1 TIME 9 (of 250) ]
[ time 391 ] Run JOB 0 at PRIORITY 0 [ TICKS 8 ALLOT 1 TIME 8 (of 250) ]
[ time 392 ] Run JOB 0 at PRIORITY 0 [ TICKS 7 ALLOT 1 TIME 7 (of 250) ]
[ time 393 ] Run JOB 0 at PRIORITY 0 [ TICKS 6 ALLOT 1 TIME 6 (of 250) ]
[ time 394 ] Run JOB 0 at PRIORITY 0 [ TICKS 5 ALLOT 1 TIME 5 (of 250) ]
[ time 395 ] Run JOB 0 at PRIORITY 0 [ TICKS 4 ALLOT 1 TIME 4 (of 250) ]
[ time 396 ] Run JOB 0 at PRIORITY 0 [ TICKS 3 ALLOT 1 TIME 3 (of 250) ]
[ time 397 ] Run JOB 0 at PRIORITY 0 [ TICKS 2 ALLOT 1 TIME 2 (of 250) ]
[ time 398 ] Run JOB 0 at PRIORITY 0 [ TICKS 1 ALLOT 1 TIME 1 (of 250) ]
[ time 399 ] Run JOB 0 at PRIORITY 0 [ TICKS 0 ALLOT 1 TIME 0 (of 250) ]
[ time 400 ] FINISHED JOB 0
Final statistics:
Job 0: startTime 0 - response 0 - turnaround 400
Job 1: startTime 50 - response 0 - turnaround 166
Avg 1: startTime n/a - response 0.00 - turnaround 283.00
这就是和老的rule4a,4b造成的弊端,job可以在时间片快结束的是否执行IO放弃(relinquish)cpu从而保持优先级。
5. Given a systemwith a quantum length of 10 ms in its highest queue, howoften would you have to boost jobs back to the highest priority level (with the -B flag) in order to guarantee that a single long-running (and potentiallystarving) job gets at least 5% of the CPU?
我觉得就是10/0.05=200 -B 200所以,因为时间片一到优先级就会降下来,至少获得一次那就得200ms一次
6. One question that arises in scheduling is which end of a queue to add a job that just finished I/O; the -I flag changes this behavior for this scheduling simulator. Play around with some workloads and see if you can see the effect of this flag.
参考4