Professional Documents
Culture Documents
Context Diagram: A New Fairness Algorithm For Priority Processes
Context Diagram: A New Fairness Algorithm For Priority Processes
Requests to enter CS
Nodes/ Processes
Order of entry to CS & Response time & total no. of control messages
Relationship Array
2.0
Transfer of requests to phold
Nodes/ Processes
LEVEL 1- DFD
Links
1.0
Network
Creation
Request to enter CS
Token from phold
Response t ime & total no. of control messages
OUTPUT
4.0
Calculation of response t ime & no. of control messages
3.0
Transfer of token to requesting
nodes
Parent-child relationship
Link
Request from token
Exit from CS
Critical Section
Relationship Array
LEVEL 2-DFD
Links between nodes and priority of each node
1.0
Network
Creation
Nodes/ Processes
2.1
Request processed by requester
Child’s id
Requesters’ priority
Child’s priority
Requester id
Priority queue to be used for servicing
Req. queue to be used for servicing
Request Queue
Priority Queue
4.0
Calculate Response tome and total no. of control messages
3.1
Check if the node is the same as the entry at the head of queue
Request to enter CS
Exit from CS
Response t ime & total no. of control messages
Request to enter CS
OUTPUT
Critical Section