SlideServe
Menu
Préférences
© SlideServe · v2026

Zeta: Scheduling Interactive Services with Partial Execution

roy avatar
26 diapositives · 419 Views · Jul 16, 2014

Zeta: Scheduling Interactive Services with Partial Execution. Yuxiong He, Sameh Elnikety, James Larus, Chenyu Yan Microsoft Research and Microsoft Bing. Motivation. High utilization Fewer servers $$. Fast Response Good quality.

Zeta: Scheduling Interactive Services with Partial Execution - slide 1
01 / 26Zeta: Scheduling Interactive Services with Partial Execution
1 / 17

Télécharger la présentation

Zeta: Scheduling Interactive Services with Partial Execution
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Zeta: Scheduling Interactive Services with Partial Execution Yuxiong He, Sameh Elnikety, James Larus, Chenyu Yan Microsoft Research and Microsoft Bing

  2. Motivation High utilization Fewer servers $$ Fast Response Good quality Improve system throughput while meeting response time and quality target for interactive services.

  3. Contribution • Develop a new scheduling algorithm Zeta • Exploit partial execution and request deadline • Improve response quality and system throughput Zeta Increase capacity 29% Potentially save 22% servers Original 3

  4. Outline • Workload characteristics • Zeta scheduling algorithm • Evaluation • System implementation • Simulation

  5. Workload Characteristics (1) Deadline (2) Partial execution (3) Concave quality profile

  6. Workload Characteristics (1) Deadline (2) Partial execution (3) Concave quality profile

  7. Workload Characteristics (1) Deadline (2) Partial execution (3) Concave quality profile

  8. Workload Characteristics (1) Deadline (2) Partial execution (3) Concave quality profile

  9. Concave Quality Profile of Bing Search

  10. Scheduling Problem • Inputs • Queue of requests • Request deadline • Average service demand of requests • Unknown exact service demand of a request • Output • Assign processing time to request R1 • Objective : maximize total quality of all requests R1 R3 R2

  11. Zeta Scheduling • Key idea • Prevent long requests from starving short ones • Partially execute long requests if needed R1 R3 R2 R1 R2 R3 R1 R2 R3

  12. Two Techniques of Zeta Key Idea: Prevent long requests from starving short ones (1) Equi-partitioning (EQ) at heavy load: • Allocate resource equally among requests • PEQ = T / Q R1 R2 R3 R2 R3 Reserved R1 T: available time for all requests Q: queue length for waiting requests

  13. Problem of EQ at Light Load Key Idea: Prevent long requests from starving short ones (1) Equi-partitioning (EQ) at heavy load: • Allocate resource equally among requests • PEQ = T / Q R1 R2 R2 Reserved R1 T: available time for all requests Q: queue length for waiting requests

  14. Two Techniques of Zeta Key Idea: Prevent long requests from starving short ones (2) Reservation (RESV) at light load: • Reserve time for later requests in the queue based on average service demand • PRESV = T – (Q – 1) x D R1 R2 R2 Reserved R1 Assigned to R1 T: available time for all requests Q: queue length for waiting requests D: average service demand

  15. Two Techniques of Zeta Key Idea: Prevent long requests from starving short ones (1) Equi-partitioning (EQ) at heavy load: • Allocate resource equally among requests • PEQ = T / Q (2) Reservation (RESV) at light load: • Reserve time for later requests in the queue based on mean service demand • PRESV = T – (Q – 1) x D How to select between RESV and EQ? T: available time for all requests Q: queue length for waiting requests D: average service demand

  16. Two Techniques of Zeta Key Idea: Prevent long requests from starving short ones (1) Equi-partitioning (EQ) at heavy load: • Allocate resource equally among requests • PEQ = T / Q (2) Reservation (RESV) at light load: • Reserve time for later requests in the queue based on mean service demand • PRESV = T – (Q – 1) x D Request processing time P = max(PRESV,PEQ) T: available time for all requests Q: queue length for waiting requests D: average service demand

  17. Zeta Scheduling Algorithm • Get request R at the front of the job queue • Assign processing time to request R • ComputePEQ , PRESV • Assign P = max(PEQ,PRESV) to Request R • Execute request R until it completes or used up P processing time

  18. Background: Microsoft Aggregator Aggregators Index Server IS IS IS IS . . . . . . Webpages

  19. Implementation and Evaluation Setup • Implementation at index server • Original, FIFO/EDF • Terminate requests upon deadline or completion • Zeta • Use Zeta scheduling to assign request processing time • ~100 lines of code changes • Standard Bing testing cluster, ~800 servers • Query trace from production

  20. 1) Improve Average Response Quality Zeta Increase system capacity 29% Potentially save 22% servers 610 Original 475

  21. 2) Reduce Response Quality Variance Original Zeta

  22. 3) Improve 95% Response Quality Zeta Original

  23. Simulation • Sensitivity to quality profiles • Effective on various coarse-grain concave-like profiles.

  24. Simulation • Sensitivity to quality profiles • Effective on various coarse-grain concave-like profiles.

  25. Conclusion • Develop Zeta scheduling algorithm • Exploit workload characteristics • Deadline, partial execution, concave quality profile • Combine EQ and RESV techniques • Improve response quality and throughput • Evaluation • System implementation • Bing search: increase throughput by 29% • Simulation • Effective on various concave-like quality profiles

  26. Thank you!Questions?