VARUN GUPTA Carnegie Mellon University 1 Partly based on joint work with: Anshul Gandhi Mor Harchol-Balter Mike Kozuch (CMU) (CMU) (Intel Research)

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Advanced Piloting Cruise Plot.
1 Vorlesung Informatik 2 Algorithmen und Datenstrukturen (Parallel Algorithms) Robin Pomplun.
Copyright © 2002 Pearson Education, Inc. Slide 1.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
ALGEBRA Number Walls
UNITED NATIONS Shipment Details Report – January 2006.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
and 6.855J Cycle Canceling Algorithm. 2 A minimum cost flow problem , $4 20, $1 20, $2 25, $2 25, $5 20, $6 30, $
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
ZMQS ZMQS
Predicting Performance Impact of DVFS for Realistic Memory Systems Rustam Miftakhutdinov Eiman Ebrahimi Yale N. Patt.
Richmond House, Liverpool (1) 26 th January 2004.
VARUN GUPTA Carnegie Mellon University 1 With: Mor Harchol-Balter (CMU)
Randomized Algorithms Randomized Algorithms CS648 1.
ABC Technology Project
Extending the Capacity of Mobile Devices Through Cloud Offloading Francisco Airton – PhD Student 04 of may, 2014 Workshop MoDCS
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
VOORBLAD.
Quadratic Inequalities
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
“Start-to-End” Simulations Imaging of Single Molecules at the European XFEL Igor Zagorodnov S2E Meeting DESY 10. February 2014.
Identifying Our Own Style Extended DISC ® Personal Analysis.
BIOLOGY AUGUST 2013 OPENING ASSIGNMENTS. AUGUST 7, 2013  Question goes here!
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
Equal or Not. Equal or Not
Januar MDMDFSSMDMDFSSS
Week 1.
1. 2 No lecture on Wed February 8th Thursday 9 th Feb Friday 27 th Jan Friday 10 th Feb Thursday 14: :00 Friday 16:00 – 19:00 HS N.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
University of Minnesota Optimizing MapReduce Provisioning in the Cloud Michael Cardosa, Aameek Singh†, Himabindu Pucha†, Abhishek Chandra
How Cells Obtain Energy from Food
Immunobiology: The Immune System in Health & Disease Sixth Edition
CpSc 3220 Designing a Database
Traktor- og motorlære Kapitel 1 1 Kopiering forbudt.
Anshul Gandhi (Carnegie Mellon University) Varun Gupta (CMU), Mor Harchol-Balter (CMU) Michael Kozuch (Intel, Pittsburgh)
Presentation transcript:

VARUN GUPTA Carnegie Mellon University 1 Partly based on joint work with: Anshul Gandhi Mor Harchol-Balter Mike Kozuch (CMU) (CMU) (Intel Research)

2 Demand  (t) Time (t) ? Data Center Capacity PROBLEM: Want to turn servers OFF/ON to match  (t)… … and also minimize setup penalties!

3  (t) # Busy servers # Jobs Mean Job Size = 1s Setup delay = 200s Busy power = 240W

4  (t) # Busy servers # Jobs Mean Job Size = 1s Setup delay = 200s Busy power = 240W

5  (t) # Busy servers # Jobs Mean Job Size = 1s Setup delay = 200s Busy power = 240W

6  (t) # Busy servers # Jobs Mean Job Size = 1s Setup delay = 200s Busy power = 240W WITH SETUP: E[Power] = 51.9 kW E[Response time] = 13s NO SETUP: E[Power] = 14.4 kW E[Response time] = 1s

7  (t) # Busy servers # Jobs Mean Job Size = 1s Setup delay = 200s Busy power = 240W Can we do better than ON/OFF?. Add inertia while turning servers OFF

8 Turn OFF a server after idle for t wait t wait independent of  (t)! new arrival routed to the most recently busy (MRB) server arriving job turns a server ON if all servers busy

9 t wait timers

10 t wait timers

11 t wait timers

12 THEOREM: For Poisson arrivals, as the load, the number of ON servers is concentrated around --- Proof Intuition --- Step 1: An equivalent system view k jobs run on the “first” k servers Step 2: Analysis of idle periods of M/G/∞ Time from a k  (k-1) to the next (k-1)  k transition

13 Intuition for idle periods 1. # jobs  Normal with mean and variance  Events happen at rate  4. Mean idle period of server MRB  servers for any constant t wait ! In practice, we choose t wait to amortize setup cost

14 Mean Job Size = 1s Setup delay = 200s Busy power = 240W  (t) # Busy+idle servers # Jobs ON/OFF DELAYEDOFF

15 Mean Job Size = 1s Setup delay = 200s Busy power = 240W  (t) # Busy+idle servers # Jobs ON/OFF DELAYEDOFF

16 Mean Job Size = 1s Setup delay = 200s Busy power = 240W  (t) # Busy+idle servers # Jobs ON/OFF DELAYEDOFF DELAYEDOFF: E[Power] = 18.9 kW E[Response time] = 1.002s NO SETUP: E[Power] = 14.4 kW E[Response time] = 1s.

17 Mean Job Size = 1s Setup delay = 200s Busy power = 240W  (t) # Busy+idle servers # Jobs DELAYEDOFF SQ. ROOT W/ LOOKAHEAD (“optimal offline”)

18 Mean Job Size = 1s Setup delay = 200s Busy power = 240W  (t) # Busy+idle servers # Jobs DELAYEDOFF SQ. ROOT W/ LOOKAHEAD (“optimal offline”)

19 Mean Job Size = 1s Setup delay = 200s Busy power = 240W  (t) # Busy+idle servers # Jobs DELAYEDOFF DELAYEDOFF: E[Power] = 18.9 kW E[Response time] = 1.002s  w/LOOKAHEAD: E[Power] = 15.8 kW E[Response time] = 1.036s SQ. ROOT W/ LOOKAHEAD (“optimal offline”)

1. Speed scaling algorithms 2. A simple proxy for MRB routing 3. Heterogeneous servers 4. Managing Virtual Machines in the Cloud 5. Wear-leveling/Performance tradeoffs 20

21 Power P(s) Speed (s) Q: Optimal speed to balance energy-performance? A: your favorite metric =

22 MRB requires a lot of state updates Proxy policy Assign static ranks to servers Route a new arrival to highest ranked idle server Almost the same performance as MRB + easier to implement than MRB + easy to extend (MRB) Rank Rank- based

23 more efficient less efficient Assign ranks to servers based on efficiency (1 = most efficient) Route a new arrival to highest ranked idle server

24 2GB RAM 1GB

Split physical servers into “virtual” servers Assign static ranks to virtual servers Route a new VM request to highest ranked idle virtual server Turn the physical server OFF after each virtual server has idled for t wait

 Problem: unpredictable demand and non-trivial setup costs  DELAYEDOFF : A new traffic- oblivious capacity scaling scheme  Extensions to real-world scenarios 26 Demand ? Time Max Capacity

27 THEOREM [MRB]: As the load, the number of ON servers is concentrated around THEOREM [Round-Robin]: As the load, for constant job sizes, the number of ON servers is N servers Arrival rate = λ