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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

RR Service Time

A
  • T_s = s / (1-p)
  • T_s = 1 / mu
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

RR Response Time

A
  • q = rho / (1-rho)
  • T_q = q / lamba
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Length-Unaware Scheduling Policy

A
  • Scheduling policy does not consider the length of the job (FIFO, RR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Work-Conserving

A
  • Server is working 100% when there is a request in the system, 0% otherwise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Impact on System Averages

A
  • A work-conserving, length-unaware scheduling policy does not affect system averages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

RR Utilization

A
  • rho = aggregated lambda * s
  • rho = lambda * T_s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly