13. From M/M/1 to GPS Flashcards
1
Q
Generalized Processor Sharing (GPS)
A
- Distributes the capacity of a given resource among all or a portion of the jobs
- Each job class is assigned some fractional weight of the server capacity
2
Q
Round-Robin Algorithm
A
- Assume slice of length s and each job has own class
- Process a job for length s, then move on to the next job in the queue
- Only repeat a job once each job has been processed in the round
- We reach perfect GPS as s –> 0
3
Q
Round-Robin as Network of Queues
A
- Let p be probability that job not done in slice
- Assume slice ~ exp(s)
- Aggregated flow lambda prime = lambda / (1-p)
4
Q
Time to Complete RR Job
A
- Let m = # of times going back into queue after slice
- f(m) ~ geometric(1-p)
- E[m] = p / (1-p)
- t = (m+1) * s
5
Q
RR Service Time
A
- T_s = s / (1-p)
- T_s = 1 / mu
6
Q
RR Response Time
A
- q = rho / (1-rho)
- T_q = q / lamba
7
Q
Length-Unaware Scheduling Policy
A
- Scheduling policy does not consider the length of the job (FIFO, RR)
8
Q
Work-Conserving
A
- Server is working 100% when there is a request in the system, 0% otherwise
9
Q
Impact on System Averages
A
- A work-conserving, length-unaware scheduling policy does not affect system averages
10
Q
RR Utilization
A
- rho = aggregated lambda * s
- rho = lambda * T_s
11
Q
Relationship between M/M/1 and GPS
A
M/M/1 is a good way to approximate any work-conserving, length-unaware scheduling policy on average