Green Computing Omer Rana

Slides:



Advertisements
Similar presentations
Computer Abstractions and Technology
Advertisements

©2009 HP Confidential template rev Ed Turkel Manager, WorldWide HPC Marketing 4/7/2011 BUILDING THE GREENEST PRODUCTION SUPERCOMPUTER IN THE.
Beowulf Supercomputer System Lee, Jung won CS843.
Power Management (Application of Autonomic Computing Concepts) Omer Rana.
Introduction to Virtualization
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Bugnion et al. Presented by: Ahmed Wafa.
Network Implementation for Xen and KVM Class project for E : Network System Design and Implantation 12 Apr 2010 Kangkook Jee (kj2181)
Server Platforms Week 11- Lecture 1. Server Market $ 46,100,000,000 ($ 46.1 Billion) Gartner.
Disco Running Commodity Operating Systems on Scalable Multiprocessors.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Virtualization in Data Centers Prashant Shenoy
Hosted VMM Architecture Advantages: –Installs and runs like an application –Portable – host OS does I/O access –Coexists with applications running on.
© 2001 VMware, Inc. All rights reserved. The Future of Virtual Machines: A VMware Perspective Ed Bugnion Co-founder, VMware Inc. JUGS September 27, 2001.
Operating System Support for Virtual Machines Samuel King, George Dunlap, Peter Chen Univ of Michigan Ashish Gupta.
Chapter 21: Mobile Virtualization Infrastracture and Related Security Issues Guide to Computer Network Security.
Virtualization for Cloud Computing
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
Virtualization Performance H. Reza Taheri Senior Staff Eng. VMware.
Virtualization A way To Begin with Virtual Reality… - Rahul Khanwani.
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
Computer performance.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Basic Computer Structure and Knowledge Project Work.
Operating System Virtualization
Zen and the Art of Virtualization Paul Barham, et al. University of Cambridge, Microsoft Research Cambridge Published by ACM SOSP’03 Presented by Tina.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Virtualization Lab 3 – Virtualization Fall 2012 CSCI 6303 Principles of I.T.
The PC The PC is a standard computing platform, built around a EISA bus (1988) –IBM compatible –“Intel Architecture” from Intel or AMD or other companies.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2009 Seminar #1 VIRTUALIZATION EVERYWHERE.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Cloud Computing Energy efficient cloud computing Keke Chen.
Improving Network I/O Virtualization for Cloud Computing.
Last Time Performance Analysis It’s all relative
1 Using Multiple Energy Gears in MPI Programs on a Power- Scalable Cluster Vincent W. Freeh, David K. Lowenthal, Feng Pan, and Nandani Kappiah Presented.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology Sections 1.5 – 1.11.
Challenges towards Elastic Power Management in Internet Data Center.
1 High-Performance, Power-Aware Computing Vincent W. Freeh Computer Science NCSU
Headline in Arial Bold 30pt HPC User Forum, April 2008 John Hesterberg HPC OS Directions and Requirements.
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine, and Mendel Rosenblum Summary By A. Vincent Rayappa.
Server Virtualization
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Full and Para Virtualization
Virtualization Supplemental Material beyond the textbook.
Introduction Why are virtual machines interesting?
Operating-System Structures
Accounting for Load Variation in Energy-Efficient Data Centers
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
3/12/2013Computer Engg, IIT(BHU)1 PARALLEL COMPUTERS- 2.
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Presented by: Pierre LaBorde, Jordan Deveroux, Imran Ali, Yazen Ghannam, Tzu-Wei.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Exploiting Task-level Concurrency in a Programmable Network Interface June 11, 2003 Hyong-youb Kim, Vijay S. Pai, and Scott Rixner Rice Computer Architecture.
Tackling I/O Issues 1 David Race 16 March 2010.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
Running Commodity Operating Systems on Scalable Multiprocessors Edouard Bugnion, Scott Devine and Mendel Rosenblum Presentation by Mark Smith.
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
VU-Advanced Computer Architecture Lecture 1-Introduction 1 Advanced Computer Architecture CS 704 Advanced Computer Architecture Lecture 1.
Hardware Architecture
Virtualization for Cloud Computing
Virtualization.
Virtual Machine Monitors
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CLOUD COMPUTING
Architecture & Organization 1
Chapter 21: Virtualization Technology and Security
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Chapter 22: Virtualization Security
Architecture & Organization 1
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
The University of Adelaide, School of Computer Science
The University of Adelaide, School of Computer Science
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Presentation transcript:

Green Computing Omer Rana

The Need Bill St. Arnaud (CANARIE, Inc)

Impact of ICT Industry Bill St. Arnaud (CANARIE, Inc)

Virtualization Techniques Bill St. Arnaud (CANARIE, Inc)

Virtual Machine Monitors (IBM 1960s) A thin software layer that sits between hardware and the operating system— virtualizing and managing all hardware resources IBM Mainframe IBM VM/370 CMSMVS CMS App Ed Bugnion, VMWare

Old idea from the 1960s IBM VM/370 – A VMM for IBM mainframe –Multiple OS environments on expensive hardware –Desirable when few machine around Popular research idea in 1960s and 1970s –Entire conferences on virtual machine monitor –Hardware/VMM/OS designed together Interest died out in the 1980s and 1990s. –Hardware got cheap –Operating systems got more more powerful (e.g multi- user) Ed Bugnion, VMWare

A return to Virtual Machines Disco: Stanford research project (1996-): –Run commodity OSes on scalable multiprocessors –Focus on high-end: NUMA, MIPS, IRIX Hardware has changed: –Cheap, diverse, graphical user interface –Designed without virtualization in mind System Software has changed: –Extremely complex –Advanced networking protocols –But even today : Not always multi-user With limitations, incompatibilities, … Ed Bugnion, VMWare

The Problem Today Intel Architecture Operating System Ed Bugnion, VMWare

The VMware Solution Intel Architecture Operating System Intel Architecture Ed Bugnion, VMWare

VMware ™ MultipleWorlds ™ Technology A thin software layer that sits between Intel hardware and the operating system— virtualizing and managing all hardware resources Intel Architecture VMware MultipleWorlds Win 2000 Win NT Linux Win 2000 App Ed Bugnion, VMWare

MultipleWorlds Technology A world is an application execution environment with its own operating system World Intel Architecture VMware MultipleWorlds Win 2000 Win NT Linux Win 2000 App Ed Bugnion, VMWare

Virtual Hardware Floppy Disks Parallel Ports Serial/Com Ports Ethernet Keyboard Mouse Monitor (VMM) IDE ControllerSCSI Controller Sound Card Ed Bugnion, VMWare

Attributes of MultipleWorlds Technology Software compatibility –Runs pretty much all software Low overheads/High performance –Near “raw” machine performance Complete isolation –Total data isolation between virtual machines Encapsulation –Virtual machines are not tied to physical machines Resource management Ed Bugnion, VMWare

Hosted VMware Architecture VMware achieves both near-native execution speed and broad device support by transparently switching* between Host Mode and VMM Mode. Guest OS Applications Guest Operating System Host OS Apps Host OS PC Hardware DisksMemory CPUNIC VMware AppVirtual Machine VMware Driver Virtual Machine Monitor Host ModeVMM Mode VMware, acting as an application, uses the host to access other devices such as the hard disk, floppy, or network card The VMware Virtual machine monitor allows each guest OS to directly access the processor (direct execution) *VMware typically switches modes 1000 times per second Ed Bugnion, VMWare

Hosted VMM Architecture Advantages: –Installs and runs like an application –Portable – host OS does I/O access –Coexists with applications running on the host Limits: –Subject to Host OS: Resource management decisions OS failures Usenix 2001 paper: J. Sugerman, G. Venkitachalam and B.-H. Lim, “Virtualizing I/O on VMware Workstation’s Hosted Architecture”. Ed Bugnion, VMWare

Virtualizing a Network Interface Host OS PC Hardware Physical NIC VMApp VMDriver Guest OS VMM Physical Ethernet NIC Driver Virtual Bridge Virtual Network Hub Ed Bugnion, VMWare

The rise of data centers Single place for hosting servers and data ISP’s now take machines hosted at data centers Run by large companies – like BT Manage –Power –Computation + Data –Cooling systems –Systems Admin + Network Admin

Data Centre in Tokyo From: Satoshi Matsuoka

Martin J. Levy (Tier1 Research) and Josh Snowhorn (Terremark)

Requirements Power an important design constraint: –Electricity costs –Heat dissipation Two key options in clusters – enable scaling of: –Operating frequency (square relation) –Supply voltage (cubic relation) Balance QoS requirements – e.g.fraction of workload to process locally – with power management

From: Salim Hariri, Mazin Yousif

From: Justin Moore, Ratnesh Sharma, Rocky Shih, Jeff Chase, Chandrakant Patel, Partha Ranganathan (HP Labs)

Martin J. Levy (Tier1 Research) and Josh Snowhorn (Terremark)

The case for power management in HPC Power/energy consumption a critical issue –Energy = Heat; Heat dissipation is costly –Limited power supply –Non-trivial amount of money Consequence –Performance limited by available power –Fewer nodes can operate concurrently Opportunity: bottlenecks –Bottleneck component limits performance of other components –Reduce power of some components, not overall performance Today, CPU is: –Major power consumer (~100W), –Rarely bottleneck and –Scalable in power/performance (frequency & voltage) Power/performance “gears”

Is CPU scaling a win? Two reasons: 1.Frequency and voltage scaling Performance reduction less than Power reduction 2.Application throughput Throughput reduction less than Performance reduction Assumptions –CPU large power consumer –CPU driver –Diminishing throughput gains performance (freq) power application throughput performance (freq) (1) (2) CPU power P = ½ CVf 2

AMD Athlon-64 x86 ISA 64-bit technology Hypertransport technology – fast memory bus Performance –Slower clock frequency –Shorter pipeline (12 vs. 20) –SPEC2K results 2GHz AMD-64 is comparable to 2.8GHz P4 P4 better on average by 10% & 30% (INT & FP) Frequency and voltage scaling –2000 – 800 MHz –1.5 – 1.1 Volts From: Vincent W. Freeh (NCSU)

LMBench results LMBench –Benchmarking suite –Low-level, micro data Test each “gear” Gear Frequency (Mhz) Voltage From: Vincent W. Freeh (NCSU)

Operating system functions From: Vincent W. Freeh (NCSU)

Communication From: Vincent W. Freeh (NCSU)

The problem Peak power limit, P –Rack power –Room/utility –Heat dissipation Static solution, number of servers is –N = P/P max –Where P max maximum power of individual node Problem –Peak power > average power (P max > P average ) –Does not use all power – N * (P max - P average ) unused –Under performs – performance proportional to N –Power consumption is not predictable From: Vincent W. Freeh (NCSU)

Safe over provisioning in a cluster Allocate and manage power among M > N nodes –Pick M > N Eg, M = P/P average –MP max > P –P limit = P/M Goal –Use more power, safely under limit –Reduce power (& peak CPU performance) of individual nodes –Increase overall application performance time power P max P average P(t) time power P limit P average P(t) P max From: Vincent W. Freeh (NCSU)

Safe over provisioning in a cluster Benefits –Less “unused” power/energy –More efficient power use More performance under same power limitation –Let P be performance –Then more performance means: M P * > N P –Or P * / P > N/M or P * / P > P limit /P max time power P max P average P(t) time power P limit P average P(t) P max unused energy From: Vincent W. Freeh (NCSU)

When is this a win? When P * / P > N/M or P * / P > P limit /P max In words: power reduction more than performance reduction Two reasons: 1.Frequency and voltage scaling 2.Application throughput performance (freq) power application throughput P * / P < P average /P max P * / P > P average /P max performance (freq) (1) (2) From: Vincent W. Freeh (NCSU)

Feedback-directed, adaptive power control Uses feedback to control power/energy consumption –Given power goal –Monitor energy consumption –Adjust power/performance of CPU Several policies –Average power –Maximum power –Energy efficiency: select slowest gear (g) such that From: Vincent W. Freeh (NCSU)

A more holistic approach: Managing a Data Center From: Justin Moore, Ratnesh Sharma, Rocky Shih, Jeff Chase, Chandrakant Patel, Partha Ranganathan (HP Labs) CRAC: Computer Room Air Conditioning units

From: Justin Moore, Ratnesh Sharma, Rocky Shih, Jeff Chase, Chandrakant Patel, Partha Ranganathan (HP Labs)

Location of Cooling Units six CRAC units are serving 1000 servers, consuming 270 KW of power out of a total capacity of 600 KW

From: Justin Moore, Ratnesh Sharma, Rocky Shih, Jeff Chase, Chandrakant Patel, Partha Ranganathan (HP Labs)

From: Satoshi Matsuoka

From: Satoshi Matsuoka

From: Satoshi Matsuoka

From: Satoshi Matsuoka

From: Satoshi Matsuoka

From: Satoshi Matsuoka