| Mem: | memory |
| Tpe: | tape resources |
| Cpu: | cpu time needed to finish |
| MDx: | maximum demand of resource class x (1, 2, . . .), or in other words, the maximum number of resources in a particular resource class that could possibly be requested at one time (this info is used to avoid deadlock) |
| R/R: | resources requested |
| Arrive: | time a process arrived in the hold queue |
| Start: | time a process enters the ready queue |
| Finish: | time a process finishes running |
| Used: | the amount of cpu time a process has used |
| Left: | the remaining amount of cpu time a process needs to finish |
| Reqd: | the total amount of cpu time a process needs to finish |
| Ti: | turnaround time (time it finished - time it arrived) |
| IObtme: | the total amount of time a process has been blocked for input or output |
| Rrbtme: | the total amount of time a process has been blocked for a resource request |
| Alo: | the number of resources a process has been allocated |
| Req: | the number of resources a process waiting to be allocated |
|
-------------------------------------------------------------------------------
Chad Langston
CS 3204 Process Scheduler
-----------------------------
INITIAL SYSTEM VALUES
-----------------------------
Memory Capacity: 100
System Tape Resources: 6
Initial Clock Setting: 0.000
System Time Quantum: 0.010
Context Switch Time: 0.001
Qty of Resource Class1: 7
Qty of Resource Class2: 7
Qty of Resource Class3: 6
-------------------------------------------------------------------------------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-------------------------------------------------------------------------------
CURRENT SYSTEM VALUES
-------------------------
System Clock: 0.087
Memory Available: 30
Tapes Available: 1
Resource Class1: 4
Resource Class2: 4
Resource Class3: 3
EVENT LIST
-------------------------------------------------------------------
Name Event Time Mem Tpe Cpu MD1 R/R MD2 R/R MD3 R/R
B i/o request 0.087
D job arrival 0.089 20 0 0.700 7 3 5 3 3 1
A i/o request 0.150
print stats 0.360
E job arrival 0.360 5 4 0.100 6 0 6 0 6 0
F job arrival 0.360 5 1 0.200 4 0 3 0 5 0
F request resrcs 0.452 0 0 2
B i/o completion 0.452
A i/o completion 0.453
print stats 0.552
B termination 0.552
print stats 0.651
A release resrcs 0.651 0 0 1
G job arrival 0.651 5 0 0.050 2 1 1 1 1 1
print stats 0.748
HOLD QUEUE
-------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
C 0 0 0.000 0.000 0.000 0.000 1.000 1.000 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
C 0.000 0.085 2 0 0 2 0 0 2 0 0
READY QUEUE
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
A 30 3 0.000 0.001 0.000 0.040 0.860 0.900 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
A 0 0 3 2 0 7 1 0 6 1 0
WAITING FOR I/O
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR RESOURCES
-------------------------------------------------------------------------------
There are no items to display.
PROCESS RUNNING
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
B 40 2 0.000 0.002 0.000 0.030 0.870 0.900 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
B 0 0 4 1 0 3 2 0 5 2 0
TERMINATED PROCESSES
-------------------------------------------------------------------------------
There are no items to display.
SUMMARY STATISTICS
-----------------------------------
Total Context Switch Time: 0.017
Total Process Time: 0.070
Idle Time: 0.000
Total System Time: 0.087
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-------------------------------------------------------------------------------
CURRENT SYSTEM VALUES
-------------------------
System Clock: 0.360
Memory Available: 30
Tapes Available: 1
Resource Class1: 4
Resource Class2: 4
Resource Class3: 3
EVENT LIST
-------------------------------------------------------------------
Name Event Time Mem Tpe Cpu MD1 R/R MD2 R/R MD3 R/R
E job arrival 0.360 5 4 0.100 6 0 6 0 6 0
F job arrival 0.360 5 1 0.200 4 0 3 0 5 0
F request resrcs 0.452 0 0 2
B i/o completion 0.452
A i/o completion 0.453
print stats 0.552
B termination 0.552
print stats 0.651
A release resrcs 0.651 0 0 1
G job arrival 0.651 5 0 0.050 2 1 1 1 1 1
print stats 0.748
HOLD QUEUE
-------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
D 0 0 0.089 0.000 0.000 0.000 0.700 0.700 0.000
C 0 0 0.000 0.000 0.000 0.000 1.000 1.000 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
D 0.000 0.271 7 0 3 5 0 3 3 0 1
C 0.000 0.358 2 0 0 2 0 0 2 0 0
READY QUEUE
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR I/O
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
B 40 2 0.000 0.002 0.000 0.030 0.870 0.900 0.000
A 30 3 0.000 0.001 0.000 0.110 0.790 0.900 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
B 0.272 0 4 1 0 3 2 0 5 2 0
A 0.200 0.000 3 2 0 7 1 0 6 1 0
WAITING FOR RESOURCES
-------------------------------------------------------------------------------
There are no items to display.
PROCESS RUNNING
-------------------------------------------------------------------------------
None
TERMINATED PROCESSES
-------------------------------------------------------------------------------
There are no items to display.
SUMMARY STATISTICS
-----------------------------------
Total Context Switch Time: 0.020
Total Process Time: 0.140
Idle Time: 0.200
Total System Time: 0.360
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-------------------------------------------------------------------------------
CURRENT SYSTEM VALUES
-------------------------
System Clock: 0.552
Memory Available: 25
Tapes Available: 0
Resource Class1: 4
Resource Class2: 4
Resource Class3: 3
EVENT LIST
-------------------------------------------------------------------
Name Event Time Mem Tpe Cpu MD1 R/R MD2 R/R MD3 R/R
B termination 0.552
print stats 0.651
A release resrcs 0.651 0 0 1
G job arrival 0.651 5 0 0.050 2 1 1 1 1 1
print stats 0.748
HOLD QUEUE
-------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
E 0 0 0.360 0.000 0.000 0.000 0.100 0.100 0.000
D 0 0 0.089 0.000 0.000 0.000 0.700 0.700 0.000
C 0 0 0.000 0.000 0.000 0.000 1.000 1.000 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
E 0.000 0.192 6 0 0 6 0 0 6 0 0
D 0.000 0.463 7 0 3 5 0 3 3 0 1
C 0.000 0.550 2 0 0 2 0 0 2 0 0
READY QUEUE
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
A 30 3 0.000 0.001 0.000 0.150 0.750 0.900 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
A 0.294 0 3 2 0 7 1 0 6 1 0
WAITING FOR I/O
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR RESOURCES
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
F 5 1 0.360 0.361 0.000 0.090 0.110 0.200 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
F 0 0.099 4 0 0 3 0 0 5 0 2
PROCESS RUNNING
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
B 40 2 0.000 0.002 0.000 0.070 0.830 0.900 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
B 0 0 4 1 0 3 2 0 5 2 0
TERMINATED PROCESSES
-------------------------------------------------------------------------------
There are no items to display.
SUMMARY STATISTICS
-----------------------------------
Total Context Switch Time: 0.042
Total Process Time: 0.310
Idle Time: 0.200
Total System Time: 0.552
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-------------------------------------------------------------------------------
CURRENT SYSTEM VALUES
-------------------------
System Clock: 0.651
Memory Available: 65
Tapes Available: 2
Resource Class1: 5
Resource Class2: 6
Resource Class3: 3
EVENT LIST
-------------------------------------------------------------------
Name Event Time Mem Tpe Cpu MD1 R/R MD2 R/R MD3 R/R
A release resrcs 0.651 0 0 1
G job arrival 0.651 5 0 0.050 2 1 1 1 1 1
print stats 0.748
HOLD QUEUE
-------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
E 0 0 0.360 0.000 0.000 0.000 0.100 0.100 0.000
D 0 0 0.089 0.000 0.000 0.000 0.700 0.700 0.000
C 0 0 0.000 0.000 0.000 0.000 1.000 1.000 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
E 0.000 0.291 6 0 0 6 0 0 6 0 0
D 0.000 0.562 7 0 3 5 0 3 3 0 1
C 0.000 0.649 2 0 0 2 0 0 2 0 0
READY QUEUE
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
F 5 1 0.360 0.361 0.000 0.130 0.070 0.200 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
F 0 0.1 4 0 0 3 0 0 5 2 0
WAITING FOR I/O
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR RESOURCES
-------------------------------------------------------------------------------
There are no items to display.
PROCESS RUNNING
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
A 30 3 0.000 0.001 0.000 0.190 0.710 0.900 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
A 0 0 3 2 0 7 1 0 6 1 0
TERMINATED PROCESSES
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
B 0 0 0.000 0.002 0.552 0.070 0.830 0.900 0.552
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
B 0.365 0.000 4 0 0 3 0 0 5 0 0
SUMMARY STATISTICS
-----------------------------------
Avg. Turnaround Time: 0.552
Avg. Weighted Trnrnd Time: 7.886
Total Context Switch Time: 0.061
Total Process Time: 0.390
Idle Time: 0.200
Total System Time: 0.651
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-------------------------------------------------------------------------------
CURRENT SYSTEM VALUES
-------------------------
System Clock: 0.748
Memory Available: 60
Tapes Available: 2
Resource Class1: 4
Resource Class2: 5
Resource Class3: 3
EVENT LIST
-------------------------------------------------------------------
There are no items to display.
HOLD QUEUE
-------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
E 0 0 0.360 0.000 0.000 0.000 0.100 0.100 0.000
D 0 0 0.089 0.000 0.000 0.000 0.700 0.700 0.000
C 0 0 0.000 0.000 0.000 0.000 1.000 1.000 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
E 0.000 0.388 6 0 0 6 0 0 6 0 0
D 0.000 0.659 7 0 3 5 0 3 3 0 1
C 0.000 0.746 2 0 0 2 0 0 2 0 0
READY QUEUE
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
A 30 3 0.000 0.001 0.000 0.220 0.680 0.900 0.000
F 5 1 0.360 0.361 0.000 0.160 0.040 0.200 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
A 0.294 0 3 2 0 7 1 0 6 0 0
F 0.000 0.100 4 0 0 3 0 0 5 2 0
WAITING FOR I/O
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR RESOURCES
-------------------------------------------------------------------------------
There are no items to display.
PROCESS RUNNING
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
G 5 0 0.651 0.652 0.000 0.020 0.030 0.050 0.000
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
G 0 0 2 1 0 1 1 0 1 1 0
TERMINATED PROCESSES
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
B 0 0 0.000 0.002 0.552 0.070 0.830 0.900 0.552
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
B 0.365 0.000 4 0 0 3 0 0 5 0 0
SUMMARY STATISTICS
-----------------------------------
Avg. Turnaround Time: 0.552
Avg. Weighted Trnrnd Time: 7.886
Total Context Switch Time: 0.078
Total Process Time: 0.470
Idle Time: 0.200
Total System Time: 0.748
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-------------------------------------------------------------------------------
CURRENT SYSTEM VALUES
-------------------------
System Clock: 3.606
Memory Available: 100
Tapes Available: 6
Resource Class1: 7
Resource Class2: 7
Resource Class3: 6
EVENT LIST
-------------------------------------------------------------------
There are no items to display.
HOLD QUEUE
-------------------------------------------------------------
There are no items to display.
READY QUEUE
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR I/O
-------------------------------------------------------------------------------
There are no items to display.
WAITING FOR RESOURCES
-------------------------------------------------------------------------------
There are no items to display.
PROCESS RUNNING
-------------------------------------------------------------------------------
None
TERMINATED PROCESSES
-------------------------------------------------------------------------------
Name Mem Tpe Arrive Start Finish Used Left Reqd Ti
B 0 0 0.000 0.002 0.552 0.070 0.830 0.900 0.552
G 0 0 0.651 0.652 0.830 0.050 0.000 0.050 0.179
F 0 0 0.360 0.361 0.878 0.200 0.000 0.200 0.518
A 0 0 0.000 0.001 1.520 0.900 0.000 0.900 1.520
E 0 0 0.360 1.522 1.750 0.100 0.000 0.100 1.390
D 0 0 0.089 1.523 3.203 0.700 0.000 0.700 3.114
C 0 0 0.000 1.752 3.605 1.000 0.000 1.000 3.605
Name IObtme Rrbtme MD1 Alo Req MD2 Alo Req MD3 Alo Req
B 0.365 0.000 4 0 0 3 0 0 5 0 0
G 0.000 0.000 2 0 0 1 0 0 1 0 0
F 0.000 0.100 4 0 0 3 0 0 5 0 0
A 0.294 0.000 3 0 0 7 0 0 6 0 0
E 0.000 1.161 6 0 0 6 0 0 6 0 0
D 0.000 1.433 7 0 0 5 0 0 3 0 0
C 0.000 1.749 2 0 0 2 0 0 2 0 0
SUMMARY STATISTICS
-----------------------------------
Avg. Turnaround Time: 1.554
Avg. Weighted Trnrnd Time: 5.385
Total Context Switch Time: 0.386
Total Process Time: 3.020
Idle Time: 0.200
Total System Time: 3.606
|