Adnan. IEEE CLOUD 20121 Energy Efficient Geographical Load Balancing via Dynamic Deferral of Workload Muhammad Abdullah Adnan Ryo Sugihara (Amazon.com)

Slides:



Advertisements
Similar presentations
QoS-based Management of Multiple Shared Resources in Dynamic Real-Time Systems Klaus Ecker, Frank Drews School of EECS, Ohio University, Athens, OH {ecker,
Advertisements

Hadi Goudarzi and Massoud Pedram
Fast Algorithms For Hierarchical Range Histogram Constructions
Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
Confidentiality/date line: 13pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Disclaimer.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
1 Vladimir Knežević Microsoft Software d.o.o.. 80% Održavanje 80% Održavanje 20% New Cost Reduction Keep Business Up & Running End User Productivity End.
Cloud Computing Resource provisioning Keke Chen. Outline  For Web applications statistical Learning and automatic control for datacenters  For data.
Green Cloud Computing Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology,
All Hands Meeting, 2006 Title: Grid Workflow Scheduling in WOSE (Workflow Optimisation Services for e- Science Applications) Authors: Yash Patel, Andrew.
Data Center Demand Response: Coordinating IT and the Smart Grid Zhenhua Liu California Institute of Technology December 18, 2013 Acknowledgements:
Efficient Autoscaling in the Cloud using Predictive Models for Workload Forecasting Roy, N., A. Dubey, and A. Gokhale 4th IEEE International Conference.
Power Cost Reduction in Distributed Data Centers Yuan Yao University of Southern California 1 Joint work: Longbo Huang, Abhishek Sharma, LeanaGolubchik.
Kuang-Hao Liu et al Presented by Xin Che 11/18/09.
SLA-aware Virtual Resource Management for Cloud Infrastructures
Aleksandra Tešanović Low Power/Energy Scheduling for Real-Time Systems Aleksandra Tešanović Real-Time Systems Laboratory Department of Computer and Information.
Energy-Efficient Rate Scheduling in Wireless Links A Geometric Approach Yashar Ganjali High Performance Networking Group Stanford University
Asfandyar Qureshi (MIT) Rick Weber (Akamai) Hari Balakrishnan (MIT) John Guttag (MIT) Bruce Maggs (Duke/Akamai) cutting the electric bill for internet-
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Hardness of Approximation and Greedy Algorithms for the Adaptation Problem in Virtual Environments Ananth I. Sundararaj, Manan Sanghi, John R. Lange and.
Online Auctions in IaaS Clouds: Welfare and Profit Maximization with Server Costs Xiaoxi Zhang 1, Zhiyi Huang 1, Chuan Wu 1, Zongpeng Li 2, Francis C.M.
Admission Control and Dynamic Adaptation for a Proportional-Delay DiffServ-Enabled Web Server Yu Cai.
Cutting the Electric Bill for Internet-Scale Systems Andreas Andreou Cambridge University, R02
Energy, Energy, Energy  Worldwide efforts to reduce energy consumption  People can conserve. Large percentage savings possible, but each individual has.
GreenHadoop: Leveraging Green Energy in Data-Processing Frameworks Íñigo Goiri, Kien Le, Thu D. Nguyen, Jordi Guitart, Jordi Torres, and Ricardo Bianchini.
Self-Adaptive QoS Guarantees and Optimization in Clouds Jim (Zhanwen) Li (Carleton University) Murray Woodside (Carleton University) John Chinneck (Carleton.
Dynamic and Decentralized Approaches for Optimal Allocation of Multiple Resources in Virtualized Data Centers Wei Chen, Samuel Hargrove, Heh Miao, Liang.
Advanced Energy Management in Cloud Computing multi data center environments Giuliana Carello, DEI, Politecnico di Milano Danilo.
Storage Allocation in Prefetching Techniques of Web Caches D. Zeng, F. Wang, S. Ram Appeared in proceedings of ACM conference in Electronic commerce (EC’03)
Bargaining Towards Maximized Resource Utilization in Video Streaming Datacenters Yuan Feng 1, Baochun Li 1, and Bo Li 2 1 Department of Electrical and.
OPTIMAL SERVER PROVISIONING AND FREQUENCY ADJUSTMENT IN SERVER CLUSTERS Presented by: Xinying Zheng 09/13/ XINYING ZHENG, YU CAI MICHIGAN TECHNOLOGICAL.
07/21/2005 Senmetrics1 Xin Liu Computer Science Department University of California, Davis Joint work with P. Mohapatra On the Deployment of Wireless Sensor.
Network Aware Resource Allocation in Distributed Clouds.
November , 2009SERVICE COMPUTATION 2009 Analysis of Energy Efficiency in Clouds H. AbdelSalamK. Maly R. MukkamalaM. Zubair Department.
Cloud Computing Energy efficient cloud computing Keke Chen.
Trust-Aware Optimal Crowdsourcing With Budget Constraint Xiangyang Liu 1, He He 2, and John S. Baras 1 1 Institute for Systems Research and Department.
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
Cutting the Electric Bill for Internet-Scale Systems Kevin Leeds.
Scheduling policies for real- time embedded systems.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Approximate Dynamic Programming Methods for Resource Constrained Sensor Management John W. Fisher III, Jason L. Williams and Alan S. Willsky MIT CSAIL.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
Problem Formulation Elastic cloud infrastructures provision resources according to the current actual demand on the infrastructure while enforcing service.
A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
An Energy-efficient Task Scheduler for Multi-core Platforms with per-core DVFS Based on Task Characteristics Ching-Chi Lin Institute of Information Science,
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
Network-Aware Scheduling for Data-Parallel Jobs: Plan When You Can
June 30 - July 2, 2009AIMS 2009 Towards Energy Efficient Change Management in A Cloud Computing Environment: A Pro-Active Approach H. AbdelSalamK. Maly.
1/22 Optimization of Google Cloud Task Processing with Checkpoint-Restart Mechanism Speaker: Sheng Di Coauthors: Yves Robert, Frédéric Vivien, Derrick.
Multimedia Computing and Networking Jan Reduced Energy Decoding of MPEG Streams Malena Mesarina, HP Labs/UCLA CS Dept Yoshio Turner, HP Labs.
Dynamic Placement of Virtual Machines for Managing SLA Violations NORMAN BOBROFF, ANDRZEJ KOCHUT, KIRK BEATY SOME SLIDE CONTENT ADAPTED FROM ALEXANDER.
Dynamic Power Management Using Online Learning Gaurav Dhiman, Tajana Simunic Rosing (CSE-UCSD) Existing DPM policies do not adapt optimally with changing.
Accurate WiFi Packet Delivery Rate Estimation and Applications Owais Khan and Lili Qiu. The University of Texas at Austin 1 Infocom 2016, San Francisco.
Application-Aware Traffic Scheduling for Workload Offloading in Mobile Clouds Liang Tong, Wei Gao University of Tennessee – Knoxville IEEE INFOCOM
Towards Robust Revenue Management: Capacity Control Using Limited Demand Information Michael Ball, Huina Gao, Yingjie Lan & Itir Karaesmen Robert H Smith.
Center for Networked Computing. Motivation Model and problem formulation Theoretical analysis The idea of the proposed algorithm Performance evaluations.
A Hierarchical Edge Cloud Architecture for Mobile Computing IEEE INFOCOM 2016 Liang Tong, Yong Li and Wei Gao University of Tennessee – Knoxville 1.
Adel Nadjaran Toosi and Rajkumar Buyya
Deadline Scheduling and Heavy tail distributionS
System Control based Renewable Energy Resources in Smart Grid Consumer
Server Allocation for Multiplayer Cloud Gaming
Adaptive Cloud Computing Based Services for Mobile Users
EE5900: Cyber-Physical Systems
ISP and Egress Path Selection for Multihomed Networks
Understanding and Exploiting Amazon EC2 Spot Instances
Hidden Markov Models Part 2: Algorithms
CPU SCHEDULING.
Networked Real-Time Systems: Routing and Scheduling
Presentation transcript:

Adnan. IEEE CLOUD Energy Efficient Geographical Load Balancing via Dynamic Deferral of Workload Muhammad Abdullah Adnan Ryo Sugihara (Amazon.com) Rajesh K. Gupta Department of CSE University of California San Diego (UCSD)

Adnan. IEEE CLOUD Data Centers: Energy Consumption Energy expenses become increasingly important –61 million MWh per year, costing about 4.5 billion dollars: Growing very fast –Millions of dollars for companies every year Increasing energy prices and rise of cloud computing –Energy efficient Cloud Significant research on improving energy efficiency Data Center

Adnan. IEEE CLOUD Geographical Load Balancing Cloud Computing can be utilized for energy efficient computing. –Increasing energy prices. –ability to dynamically track these price variations. Geographical Load Balancing techniques have been suggested for data centers hosting cloud computation –exploit the electricity price differences across regions.

Adnan. IEEE CLOUD Qureshi et al. [ACM SIGCOMM 2009] Geographical Load Balancing –reducing the electricity cost in a wholesale market environment. –Lower electricity bill by adapting the load balancing with dynamic electricity price variation. Electricity Markets –Day-ahead markets (futures) Hourly price predicted for the following day –Real-time markets (spot) Prices are calculated every five minutes, based on actual conditions, rather than expectations. More volatile – provides opportunities for savings. Our work

Adnan. IEEE CLOUD Buchbinder et al.’s Approach [IFIP Networking 2011] Online algorithms for migrating jobs between data centers, –fundamental tradeoff between energy and bandwidth costs. Sophisticated methods to reduce the computational complexity of the proposed heuristics. Drawbacks –Elementary cost vectors Large number of iterations –Discretization of continuous update rule Computationally costly –Bounded Competitive Ratio constant/fixed workload - √ varying workload – x –No deadline requirement.

Adnan. IEEE CLOUD Liu et al.’s Algorithm [ACM SIGMETRICS 2011] Distributed algorithms for Geographical Load Balancing –Multiple sources for workload. –Incorporated capacity provisioning inside data centers Only homogeneous servers Investigated how renewable energy can be used to lower the electricity price of brown energy. Drawbacks –No bound on the maximum delay. –No workload migration.

Adnan. IEEE CLOUD Dynamic Deferral Cloud Computing and Mobile Computing –More and more computation has been outsourced to the cloud. –Different types of workload Delay sensitive, response time/throughput guarantee, Completion time/deadline requirement. Service level agreement (SLA) –Latency requirement –Often has some flexibility We use the flexibility from different SLAs for geographical load balancing to reduce energy consumption. –Defer some of the workload to execute later when electricity price is low –Utilize the slackness in the execution of jobs for energy savings.

Adnan. IEEE CLOUD Assumptions Temporal and Geographical variation of electricity prices. –Variation is unpredictable. –Migrate jobs between data centers cloud service providers have many replication of their data. We consider data centers as computation units. –Homogeneous/heterogeneous Workloads arrive at a central dispatcher. –Dispatcher cannot store workload –Makes load balancing decision dispatcher CLOUD

Adnan. IEEE CLOUD Geographical Load Balancing x i,d,t z i,j,d,t i j migration assignment

Adnan. IEEE CLOUD Model Formulation Workload Model –Workload L t released at time t has Deadline D t Cost Model –Energy cost Proportional to the workload piecewise linear function –Bandwidth cost Cost of migration x i,d,t z i,j,d,t i j t t+1 …… t+D LtLt

Adnan. IEEE CLOUD Model Formulation Assumption: uniform deadline –Deadline is same for all the jobs The net amount of workload executed at data center i at time t assigned + migrated in - migrated out

Adnan. IEEE CLOUD Offline Formulation Future price known => there exists optimal solution without migration. –Dispatcher can always make the correct assignment. Total migration cannot exceed total assignment Execution costMigration cost Total assignment equals total released workload

Adnan. IEEE CLOUD Online Challenges Unpredictable future electricity cost. –How much to execute at current time? –How much to defer to execute later? –How much to migrate and where? Future workload is also unknown –Online algorithm Decide x t & z t online time0 t

Adnan. IEEE CLOUD Our Approach Decouple migration from Dispatcher – Assignment –based on the current electricity prices and future price DC - Migration Decision –The predicted electricity prices by the dispatcher may contain prediction errors. –Data centers correct that error by migrating jobs between each other at later time slots.

Adnan. IEEE CLOUD Dispatcher – Assignment The dispatcher distributes the workload among n data centers. t t+1 …… t+D LtLt t t+1 t+D DC1 DC2 DCn t t+1 t+D

Adnan. IEEE CLOUD DC Adjust assignment with dynamic electricity price variation. –Moving workload at earlier time slots. –Migrating workload between data centers.

Adnan. IEEE CLOUD Formulation w/o Migration Workload assigned at later time slots can only be moved to previous time slots. t t+1 t+D unexecuted workload Data Center 1 Data Center 2 Data Center n Total execution should be equal execution cannot be less than unexecuted workload

Adnan. IEEE CLOUD Formulation with Migration t t+1 t+D unexecuted workload Data Center 1 Data Center 2 Data Center n Workload can migrate between data centers every data center does some work

Adnan. IEEE CLOUD DC - Migration Decision t t+1 t+D unexecuted workload assigned workload Migrated-in workload Migrated-out workload t t+1 t+D

Adnan. IEEE CLOUD How good is the algorithm? No online algorithm has constant competitive ratio with respect to the offline formulation. Lemma t t+1 …… t+D L t = L t+1 = M Proof CASE 1: x D,t ≠ 0 Adversary Method t t+1 …… t+D Offline t t+1 …… t+D Any Online Competitive Ratio = = K’/K, arbitrary Online Cost Offline Cost t t+1 …… t+D β t = Kβ t+D β t+i = K’β t K’ > K

Adnan. IEEE CLOUD No online algorithm has constant competitive ratio with respect to the offline formulation. How good is the algorithm? Lemma t t+1 …… t+D L t = M Proof CASE 2: x D,t = 0 Adversary Method t t+1 …… t+D Offline t t+1 …… t+D Any Online Competitive Ratio = = K, arbitrary Online Cost Offline Cost t t+1 …… t+D β t = Kβ t+D β t+i = K’β t K’ > K

Adnan. IEEE CLOUD How good is the algorithm? Since the competitive ratio cannot be bounded, we compare the online algorithm with much simpler online algorithms. Suppose Online A lgorithm Prediction E rror M igration AEM√√ AE√x Axx

Adnan. IEEE CLOUD How good is the algorithm? Cost(AEM) ≤ Cost(AE) Lemma Proof t t+1 t+D unexecuted workload Data Center 1 Data Center 2 Data Center n Let Δy = amount of migrated workload y = amount of non- migrated workload Cost AEM (y) = Cost AE (y) Migration happens only when Cost of execution of Δy at earlier time slot + cost of migration of Δy ≤ Cost of execution of Δy at later time slot Cost AEM (Δy) ≤ Cost AE (Δy) Cost(AEM) = Cost AEM (y) + Cost AEM (Δy) ≤ Cost AE (y) + Cost AE (Δy) ≤ Cost(AE)

Adnan. IEEE CLOUD How good is the algorithm? Cost(AEM) ≤ Cost(AE) Lemma Cost(AE) ≤ (1+ε) Cost(A) Lemma + Proof β’ – ε ≤ β ≤ β’ + ε Prediction error, ε Predicted price, β’ Actual price, β Cost(AE) Cost(A) α + β’y α + βy ε β 1 + =≤ ≤ 1 + ε

Adnan. IEEE CLOUD Cost(AEM) ≤ Cost(AE) How good is the algorithm? Lemma Cost(AE) ≤ (1+ε) Cost(A) Lemma + Cost(AEM) ≤ (1+ε) Cost(A) Theorem ‖

Adnan. IEEE CLOUD Electricity Price Prediction We model future prices within 24-hr time-frame with Gaussian random variables with –Means: predicted prices by moving average from current day prices. –Variance: estimated from the history by the weighted average price prediction filter. By using two different methods for mean and variance, we exploit both temporal and historical correlation of electricity prices.

Adnan. IEEE CLOUD Evaluation - Electricity Price Four data centers geographically located at four different locations. five minute locational marginal electricity prices in real time market on 15th February, 2012 for four different regions.

Adnan. IEEE CLOUD Evaluation - Workload Two MapReduce Traces from Facebook –Cluster of 600 machines over 24 hours. –Time slot length of 5 minutes because electricity prices vary with an interval of 5 minutes. Workload AWorkload B

Adnan. IEEE CLOUD Evaluation - Deadline We vary deadline 1-12 slots and compare cost reduction with respect to the greedy algorithm without deferral by Qureshi et al. Dynamic deferral can provide around 30% cost savings for deadlines of 12 slots (1 hour) and even for one slot we can get 5% cost savings. Workload AWorkload B

Adnan. IEEE CLOUD Evaluation - Deadline We compare the total cost from the algorithms AEM and AE. The total cost from AEM is always less than the AE as claimed in Lemma. As deadline increases prediction error increases (AE) but cost decreases (AEM) due to flexibility of migration. Workload A Workload B

Adnan. IEEE CLOUD Non-uniform Deadline Workload decomposed according to their associated deadline, L d,t, 0 ≤ d ≤ D Then we replace the release constraints in the formulations by Deadline assignment by k-means clustering based on sizes (map, shuffle and reduce bytes) 15.64% cost reduction for Workload A 9.23% cost reduction for Workload B

Adnan. IEEE CLOUD Summary of Findings Formulation for geographical load balancing with deferral –Uniform deadline –Non-uniform deadline Characterization of optimal offline solution Online Algorithm –Formulation with migration –Formulation without migration Future work –Heterogeneity in data centers/cloud. –Availability of renewable energy.

Adnan. IEEE CLOUD Thank You ?