310 likes | 428 Views
Dimensionality Reduction for the analysis of Cycle Stealing, Task Assignment, Priority Queueing, and Threshold Policies (PART 2). Alan Scheller-Wolf. Joint with: Mor Harchol-Balter, Taka Osogami, Adam Wierman, and Li Zhang. Affinity Scheduling. m 12. m 11. m 22. Fluid or Diffusion.
E N D
Dimensionality Reduction for the analysis of Cycle Stealing, Task Assignment, Priority Queueing, and Threshold Policies (PART 2) Alan Scheller-Wolf Joint with: Mor Harchol-Balter, Taka Osogami, Adam Wierman, and Li Zhang.
Affinity Scheduling m12 m11 m22
Fluid or Diffusion Bell and Williams Harrison Harrison and Lopez Squillante, Xia, Zhang Williams Prior Work: Affinity Scheduling Applications (cycle stealing) Threshold policies Squillante, Xia, Yao and Zhang Williams Green Schumsky Stanford and Grassman No accurate analysis for non-limiting behavior.
Situation 1: Self-Affinities m12 m11 m22 Optimal control policy: Cycle Stealing.
m12 m11 m22 Situation 2:Eager to Help If server 2 overzealous, a brake is needed.
m12 m22 m11 Why? Potential Instability • Maybe server two is too eager to help: • Take too much work from server 1,leaving her idle, • Neglect own work, letting it build up.
N1 T1 1 N2 The Brake: T1Policy “Come help, but only when I call you.” Asymptotically optimal, robustness concerns. We provide first easy, accurate analysis.
T1 Policy: Performance vs. r2 T1 Performance II
What is the Dream? Switching Curve N1 N2 Optimal?
T1(2) T2 New Control Policy: The ADTPolicy “Come help when I call you.” “If you are very busy and I am not, do not come.” “But if I really need you, you have to come.” N1 T1(1) N2 Performs like best of T1(1) and T1(2). We propose and analyze.
T1 Policy: Performance vs. r2 T1 Performance II
1D-infinite chain nD-infinite chain HARD EASY Priority Scheduling in M/PH/k H L L M H H RDR and Priority Scheduling Goal: Mean response time per job type.
Two job classes, exponential Two job classes, hyper- exponential Multi-class simple approx. Two job classes, exponential Aggregation or Truncation Matrix Analytic or Gen. Functions Iterative sol to balance equations Scaling as Single-server: Buzen and Bondi Kao and Narayanan Kao and Wilson Kapadia et al Nishida Ngo and Lee Cidon and Sidi Feng el at Gail et al Miller Sleptchenko et al Aggregation into Two classes: Mitrani and King Nishida Prior Work: Multi-Server Priority Queues Little work for > 2 classes or non-exponential.
What’s so Hard? Low Med Hi Now chain grows infinitely in 3 dimensions!
Recursive Dimensionality Reduction(RDR) • Apply standard dimensionality reduction (DR) to two highest classes (Mor’s talk). • Aggregate these classes -- carefully -- into single higher class. Many types of busy periods. • Apply DR to two-class system made up of aggregated classes and third class. • Recurse. Chain for class m used to calculate busy periods for next lower class (m+1).
L L L L H H M or L L L L L L L L H H H L L L Representative Types of Busy Periods Becomes… Becomes… M or L L
lM lM lM lM lM lM lM 0,1 1,1 2,1 2,0 3,1 3,0 mM mM mM mM 2mM 2mM 2mM mH mH mH lH lH lH lH lH lH lH lH What are these busy periods? lM 0,0 1,0 mM mH BH BH BH BH lM lM lM lM 0,2+ 1,2+ 2,2+ 3,2+ Neuts[1978]
0,0 1,0 mM mH lH 0,1 The Low Job Chain lM
lM 5,0,0 5,1,0 mM mH lH 5,0,1 The Low Job Chain
lM 5,0,0 5,1,0 mM mH lH 5,0,1 The Low Job Chain
lM 5,0,0 5,1,0 mM mH lH 5,0,1 5,1,1M 5,1,1H 5,2,0M 5,2,0H The Low Job Chain 5,0,2H 5,0,2M
lM 5,0,0 5,1,0 mM mH lH 5,0,1 5,1,1M 5,1,1H 5,2,0M 5,2,0H The Low Job Chain 5,0,2H 5,0,2M
Generalizations and Extensions • Phase-type service times. • More classes, more servers. • Number of different busy periods grows with complexity of system (service times, servers, classes). • RDR-A approximation for these more complex systems, within 5% error for four class problem.
m12 m11 m22 m21 DR and RDR, future directions We solve problems where one class depends on the other, but the dependencies can be solved sequentially (H,M,L). What about systems that do not decouple?