U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Blink: Managing Server Clusters on Intermittent Power Navin Sharma, Sean Barker,

Slides:



Advertisements
Similar presentations
Hopkins Storage Systems Lab, Department of Computer Science Automated Physical Design in Database Caches T. Malik, X. Wang, R. Burns Johns Hopkins University.
Advertisements

Energy Efficiency through Burstiness Athanasios E. Papathanasiou and Michael L. Scott University of Rochester, Computer Science Department Rochester, NY.
Scalable Multi-Cache Simulation Using GPUs Michael Moeng Sangyeun Cho Rami Melhem University of Pittsburgh.
GreenSlot: Scheduling Energy Consumption in Green Datacenters Íñigo Goiri, Kien Le, Md. E. Haque, Ryan Beauchea, Thu D. Nguyen, Jordi Guitart, Jordi Torres,
Walter Binder University of Lugano, Switzerland Niranjan Suri IHMC, Florida, USA Green Computing: Energy Consumption Optimized Service Hosting.
FAWN: Fast Array of Wimpy Nodes A technical paper presentation in fulfillment of the requirements of CIS 570 – Advanced Computer Systems – Fall 2013 Scott.
Enterprise Job Scheduling for Clustered Environments Stratos Paulakis, Vassileios Tsetsos, and Stathes Hadjiefthymiades P ervasive C omputing R esearch.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
Green Cloud Computing Hadi Salimi Distributed Systems Lab, School of Computer Engineering, Iran University of Science and Technology,
1 Cheriton School of Computer Science 2 Department of Computer Science RemusDB: Transparent High Availability for Database Systems Umar Farooq Minhas 1,
U NIVERSITY OF M ASSACHUSETTS, A MHERST – Department of Computer Science Dynamic Provisioning for Multi-tier Internet Applications Bhuvan Urgaonkar, Prashant.
Thin Servers with Smart Pipes: Designing SoC Accelerators for Memcached Bohua Kou Jing gao.
SCAN: A Dynamic, Scalable, and Efficient Content Distribution Network Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy,
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
U NIVERSITY OF M ASSACHUSETTS, A MHERST – Department of Computer Science Quantifying the Benefits of Resource Multiplexing in On-Demand Data Centers Abhishek.
Energy Efficient Prefetching – from models to Implementation 6/19/ Adam Manzanares and Xiao Qin Department of Computer Science and Software Engineering.
U NIVERSITY OF M ASSACHUSETTS, A MHERST – Department of Computer Science Dynamic Resource Allocation for Shared Data Centers Using Online Measurements.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Virtualization in Data Centers Prashant Shenoy
A Hybrid Caching Strategy for Streaming Media Files Jussara M. Almeida Derek L. Eager Mary K. Vernon University of Wisconsin-Madison University of Saskatchewan.
Proteus: Power Proportional Memory Cache Cluster in Data Centers Shen Li, Shiguang Wang, Fan Yang, Shaohan Hu, Fatemeh Saremi, Tarek Abdelzaher.
U NIVERSITY OF M ASSACHUSETTS, A MHERST – Department of Computer Science Resource containers: A new facility for resource management in server systems.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Locality-Aware Request Distribution in Cluster-based Network Servers Presented by: Kevin Boos Authors: Vivek S. Pai, Mohit Aron, et al. Rice University.
Power Containers: An OS Facility for Fine-Grained Power and Energy Management on Multicore Servers Kai Shen, Arrvindh Shriraman, Sandhya Dwarkadas, Xiao.
Optimizing Cloud Resources for Delivering IPTV Services Through Virtualization.
Distributed Data Stores – Facebook Presented by Ben Gooding University of Arkansas – April 21, 2015.
Computer Science 1 Resource Overbooking and Application Profiling in Shared Hosting Platforms Bhuvan Urgaonkar Prashant Shenoy Timothy Roscoe † UMASS Amherst.
GreenHadoop: Leveraging Green Energy in Data-Processing Frameworks Íñigo Goiri, Kien Le, Thu D. Nguyen, Jordi Guitart, Jordi Torres, and Ricardo Bianchini.
Supporting Strong Cache Coherency for Active Caches in Multi-Tier Data-Centers over InfiniBand S. Narravula, P. Balaji, K. Vaidyanathan, S. Krishnamoorthy,
Consistent Hashing: Load Balancing in a Changing World
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2007 Eon: A language and runtime for perpetual systems Jacob Sorber, Alexander Kostadinov,
Steady and Fair Rate Allocation for Rechargeable Sensors in Perpetual Sensor Networks Zizhan Zheng Authors: Kai-Wei Fan, Zizhan Zheng and Prasun Sinha.
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Predicting Solar Generation from Weather Forecasts Using Machine Learning Navin.
OPTIMAL SERVER PROVISIONING AND FREQUENCY ADJUSTMENT IN SERVER CLUSTERS Presented by: Xinying Zheng 09/13/ XINYING ZHENG, YU CAI MICHIGAN TECHNOLOGICAL.
RAMCloud: A Low-Latency Datacenter Storage System Ankita Kejriwal Stanford University (Joint work with Diego Ongaro, Ryan Stutsman, Steve Rumble, Mendel.
Web Cache Replacement Policies: Properties, Limitations and Implications Fabrício Benevenuto, Fernando Duarte, Virgílio Almeida, Jussara Almeida Computer.
GreenSoftware: Managing Datacenters Powered by Renewable Energy Íñigo Goiri, William Katsak, Md E Haque, Kien Le, Ryan Beauchea, Jordi Guitart, Jordi Torres,
Building Green Cloud Services at Low Cost Josep Ll. Berral, Íñigo Goiri, Thu D. Nguyen, Ricard Gavaldà, Jordi Torres, Ricardo Bianchini.
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Computer Systems Principles Concurrency Patterns Emery Berger and Mark Corner University.
Architecture for Caching Responses with Multiple Dynamic Dependencies in Multi-Tier Data- Centers over InfiniBand S. Narravula, P. Balaji, K. Vaidyanathan,
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
A dynamic optimization model for power and performance management of virtualized clusters Vinicius Petrucci, Orlando Loques Univ. Federal Fluminense Niteroi,
Power Containers: An OS Facility for Fine-Grained Power and Energy Management on Multicore Servers Kai Shen, Arrvindh Shriraman, Sandhya Dwarkadas, Xiao.
Amar Phanishayee,LawrenceTan,Vijay Vasudevan
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
1 Virtual Machine Memory Access Tracing With Hypervisor Exclusive Cache USENIX ‘07 Pin Lu & Kai Shen Department of Computer Science University of Rochester.
1 Admission Control and Request Scheduling in E-Commerce Web Sites Sameh Elnikety, EPFL Erich Nahum, IBM Watson John Tracey, IBM Watson Willy Zwaenepoel,
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
Software Architecture for Dynamic Thermal Management in Datacenters Tridib Mukherjee Graduate Research Assistant IMPACT Lab ( Department.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
Optimizing Power and Energy Lei Fan, Martyn Romanko.
Scale up Vs. Scale out in Cloud Storage and Graph Processing Systems
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Sensor Networks and Platforms for Advancing Water Research Prashant Shenoy University.
ApproxHadoop Bringing Approximations to MapReduce Frameworks
MemcachedGPU Scaling-up Scale-out Key-value Stores Tayler Hetherington – The University of British Columbia Mike O’Connor – NVIDIA / UT Austin Tor M. Aamodt.
Tackling I/O Issues 1 David Race 16 March 2010.
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Energy.
Cloud Computing: Pay-per-Use for On-Demand Scalability Developing Cloud Computing Applications with Open Source Technologies Shlomo Swidler.
PACMan: Coordinated Memory Caching for Parallel Jobs Ganesh Ananthanarayanan, Ali Ghodsi, Andrew Wang, Dhruba Borthakur, Srikanth Kandula, Scott Shenker,
SizeCap: Efficiently Handling Power Surges for Fuel Cell Powered Data Centers Yang Li, Di Wang, Saugata Ghose, Jie Liu, Sriram Govindan, Sean James, Eric.
Evaluating and Optimizing Indexing Schemes for a Cloud-based Elastic Key- Value Store Apeksha Shetty and Gagan Agrawal Ohio State University David Chiu.
Dynamic Resource Allocation for Shared Data Centers Using Online Measurements By- Abhishek Chandra, Weibo Gong and Prashant Shenoy.
PA an Coordinated Memory Caching for Parallel Jobs
Department of Computer Science University of California, Santa Barbara
Edge computing (1) Content Distribution Networks
Zhen Xiao, Qi Chen, and Haipeng Luo May 2013
Admission Control and Request Scheduling in E-Commerce Web Sites
Cloud Computing Architecture
The Greening of IT November 1, 2007.
Department of Computer Science University of California, Santa Barbara
Presentation transcript:

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Blink: Managing Server Clusters on Intermittent Power Navin Sharma, Sean Barker, David Irwin, and Prashant Shenoy

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Energy’s Impact Datacenters are growing in size 100k servers + millions of cores possible Energy demands also growing Cost of energy is increasing Estimates of >30% of TCO and rising ≈ ½ the emissions of the airline industry

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Reducing Energy’s Impact Must regulate energy footprint Financial: optimize energy budget Regulate usage for variable prices Environmental: use green energy Leverage more renewables Solar Wind

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Challenge How do we design server clusters that run on intermittent power?  Power fluctuate independent of workload  Maximize performance subject to available energy

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Outline Motivation Overview: Blink Abstraction Application Example: Blinking Memcached Implemenation: Blink Prototype Evaluation: Power/workload Traces Related Work Conclusion

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Running Clusters on Intermittent Power Short term fluctuations (~minutes) Smooth power using UPSes Long term fluctuations Increase/decrease power consumption One approach: activate/deactivate servers But servers maintain memory/disk state… …that will be unavailable if not transferred/replicated

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Server Blinking Blinking == a duty cycle for servers Continuous active-to-inactive transitions Extends PowerNap (ASPLOS ‘09) Goal: cap energy use over short intervals Feasible Today: ACPI S3 (Suspend-to-RAM) Fast transitions (~seconds) Large power reductions (>90% peak) 100% power (0% duty cycle) 50% power (50% duty cycle) Blink Interval

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Blinking Abstraction Blinking policies: coordinate blinking across servers Activation: vary active servers Synchronous: blink servers in tandem Asymmetric: blink servers at different rates Node 1 (100%) Node 2 (100%)Node 3 (0%) Node 4 (0%) Node 1 (50%)Node 2 (50%)Node 3 (50%) Node 4 (50%) Node 1 (100%) Node 2 (50%)Node 3 (35%) Node 4 (15%)

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Proof-of-Concept Example: Memcached Distributed in-memory cache Popular optimization for web applications E.g., Facebook, LiveJournal, Flikr Smart Clients/Dumb Servers Simple client hash function maps keys  servers get(key) get_from_db(key) Web App DB Memcached Node #1 Memcached Node #2 Memcached Node #N Memcached Client Example: hash(key) = 2

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Activation for Memcached Initial approach: no memcached modifications Keys randomly distributed across servers Problem: which node to deactivate? Arbitrarily favor keys on active servers MCD Client Memcached Node #1 Memcached Node #2 get key1 obj1 get key2 miss key1 key2 node 1 node 2

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Reducing Activation’s Performance Penalty Popularity-based key migration Group similarly popular objects on same server Deactivate “least popular” servers Invalidates least popular objects Benefit: higher hit rates Problem: unfair if many keys have same popularity No server is “least popular” Still arbitrarily favors keys on active servers

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Synchronous for Memcached Benefits for Uniform Popularity Fairness: all keys equally available Performance: same hit rate as activation Problem: poor hit rate if keys not equally popular hit misshit miss hit miss hit miss Node #1Node #2 Synchronous Hit Rate = 50% (50% requests) hitmiss Node #1Node #2 Activation Hit Rate = 50% (50% requests) hit misshit miss hit miss hit miss Node #1Node #2 Synchronous Hit Rate = 50% (80% requests) (20% requests) hitmiss Node #1Node #2 Activation Hit Rate = 80% (80% requests)(20% requests)

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Best of Both Worlds: Load-proportional Blink servers in proportion to load Balance performance and fairness Works well for Zipf popularity distributions Few popular keys, many (equally) unpopular keys Fair for (mostly) synchronously blinking less popular servers High hit rate for (mostly) active popular servers

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Blink Prototype Low Power Node Power Manager Battery Programmable Power Supply + - Power trace via serial port Experimental Deployment Field Deployment solarwind

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 BlinkCache Implementation Place proxy between clients and servers Proxy maintains key  server table Tracks key popularity and migrates keys Modest implementation complexity No client/server memcached modifications Added ~300LOC to existing proxy PHP Server MCD Client Application Server PHP Server MCD Client Application Server MCD Proxy Power Manager UPS MCD Server Backend Server Power Client MCD Server Backend Server Power Client

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Experimental Setup Test Deployment Cluster of 10 low-power nodes AMD Geode LX (433MHz) CPU, 256 MB RAM Power consumption well-matched to production ~100 watts peak production/consumption Workloads and Metrics Solar + wind traces from deployment Zipf popularity distributions ( α = 0.6) Hit Rate (Performance), Standard Deviation (Fairness)

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 S3 Transition Overhead Blink Prototype

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Balancing Performance and Fairness Activation with key migration (green) Best hit rate Load-proportional (red) Slightly lower hit rate, but more fair

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Case Study: Tag Clouds in GlassFish GlassFish: Java application server that creates tag clouds Cache dynamically-generated HTML pages in memcached Each HTML page: 20 requests to a MySQL database

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Related Work Sensor and Mobile Research Use duty-cycling to reduce energy footprint Lexicographic (SenSys 09), AdaptiveCycle (SECON 07) Blink: power delivery infrastructure shared Energy-efficient Computing Minimize energy to satisfy a workload FAWN (SOSP 09), PowerNap (ASPLOS 09) Blink: optimize workload to satisfy energy budget Dealing with Variability Similar to churn in DHTs Chord (SIGCOMM 01), Bamboo (USENIX 04) Blink: introduce regulated/controllable churn

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Conclusions Blink: new abstraction for regulating energy footprint Blinking is feasible in modern servers Highlight differences in blinking policies Modify example application (Memcached) for blinking Modest implementation overhead Ongoing work Explore more applications Distributed storage is more important/challenging Explore more power profiles Variable pricing, battery capacities

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Questions?

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Activation for Memcached MCD Client Server #1 Server #2 get key1 obj1 get key2 obj2 key1 key2 node 1 node 2 key1 key2 node 1 Next approach: alter client hash function Add/remove servers from hash Problem: penalizes power fluctuations Invalidates keys on every change Consistent hashing: 1/n th keys for single addition/removal

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Uniform Popularity Synchronous Same hit rate as activation More fair than activation

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2011 Proxy Overhead Memcached Proxy Imposes modest overhead