1 CMG, 2006 Reno Yiping Ding and Ethan Bolker How Many Guests Can You Serve? - On the Number of Partitions.

Slides:



Advertisements
Similar presentations
Virtualisation From the Bottom Up From storage to application.
Advertisements

Scheduling Criteria CPU utilization – keep the CPU as busy as possible (from 0% to 100%) Throughput – # of processes that complete their execution per.
Virtualization and Cloud Computing. Definition Virtualization is the ability to run multiple operating systems on a single physical system and share the.
Page 15/4/2015 CSE 30341: Operating Systems Principles Allocation of Frames  How should the OS distribute the frames among the various processes?  Each.
Measuring and Modeling Hyper-threaded Processor Performance Ethan Bolker UMass-Boston September 17, 2003.
Performance Evaluation of Open Virtual Routers M.Siraj Rathore
VSphere vs. Hyper-V Metron Performance Showdown. Objectives Architecture Available metrics Challenges in virtual environments Test environment and methods.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice In search of a virtual yardstick:
Novell Server Linux vs. windows server 2008 By: Gabe Miller.
NoHype: Virtualized Cloud Infrastructure without the Virtualization Eric Keller, Jakub Szefer, Jennifer Rexford, Ruby Lee ISCA 2010 Princeton University.
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
Hosted VMM Architecture Advantages: –Installs and runs like an application –Portable – host OS does I/O access –Coexists with applications running on.
Xen and the Art of Virtualization. Introduction  Challenges to build virtual machines Performance isolation  Scheduling priority  Memory demand  Network.
Virtualization Performance H. Reza Taheri Senior Staff Eng. VMware.
PowerVM and VMware. What this presentation is Basic Terms that can be used to discuss multiple forms of virtualization Concepts common to virtualization.
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Hosting Virtual Networks on Commodity Hardware VINI Summer Camp.
Jamel Callands Austin Chaet Carson Gallimore.  Downloading  Recommended Specifications  Features  Reporting and Monitoring  Questions.
 Introduction, concepts, review & historical perspective  Processes ◦ Synchronization ◦ Scheduling ◦ Deadlock  Memory management, address translation,
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Improving Network I/O Virtualization for Cloud Computing.
Improving Disk Latency and Throughput with VMware Presented by Raxco Software, Inc. March 11, 2011.
Profile Driven Component Placement for Cluster-based Online Services Christopher Stewart (University of Rochester) Kai Shen (University of Rochester) Sandhya.
Embedded System Lab. 오명훈 Memory Resource Management in VMware ESX Server Carl A. Waldspurger VMware, Inc. Palo Alto, CA USA
A Measurement Based Memory Performance Evaluation of High Throughput Servers Garba Isa Yau Department of Computer Engineering King Fahd University of Petroleum.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
CPU Scheduling Basic Concepts. Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor.
1 Kansas City CMG, 2005 Ethan Bolker and Yiping Ding October, 2005 Virtual performance won't do : Capacity planning for virtual systems.
A Few Things You Don’t Know You Have To Worry About Yet David Boyes CMG Philadelphia, Nov 2008.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
Hyper-V Performance, Scale & Architecture Changes Benjamin Armstrong Senior Program Manager Lead Microsoft Corporation VIR413.
MEMORY RESOURCE MANAGEMENT IN VMWARE ESX SERVER 김정수
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 5 CPU Scheduling Slide 1 Chapter 5 CPU Scheduling.
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
CS 140 Lecture Notes: Virtual MachinesSlide 1 Process Abstraction Instruction Set Registers MMU I/O Devices Physical Memory Virtual Memory System Calls.
Exploiting Task-level Concurrency in a Programmable Network Interface June 11, 2003 Hyong-youb Kim, Vijay S. Pai, and Scott Rixner Rice Computer Architecture.
Memory Resource Management in VMware ESX Server By Carl A. Waldspurger Presented by Clyde Byrd III (some slides adapted from C. Waldspurger) EECS 582 –
Computer Performance. Hard Drive - HDD Stores your files, programs, and information. If it gets full, you can’t save any more. Measured in bytes (KB,
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
E Virtual Machines Lecture 5 Network Virtualization Scott Devine VMware, Inc.
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
VM Layout. Virtual Machine (Ubuntu Server) VM x.x You can putty into this machine from on campus. Or you can use vSphere to control the hardware.
Virtual Machine Monitors
Software Architecture in Practice
CPU SCHEDULING.
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Virtual Machines.
Chapter 6: CPU Scheduling
Virtualization Virtualization is the creation of substitutes for real resources – abstraction of real resources Users/Applications are typically unaware.
CS 140 Lecture Notes: Virtual Machines
Process management Information maintained by OS for process management
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Queuing models Basic definitions, assumptions, and identities
Outline Midterm results summary Distributed file systems – continued
Queuing models Basic definitions, assumptions, and identities
Chapter5: CPU Scheduling
Chapter 6: CPU Scheduling
CPU scheduling decisions may take place when a process:
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
CS 140 Lecture Notes: Virtual Machines
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Presentation transcript:

1 CMG, 2006 Reno Yiping Ding and Ethan Bolker How Many Guests Can You Serve? - On the Number of Partitions

2 CMG 06 Reno Why Consolidation and Virtualization?

3 CMG 06 Reno It is the power, space, …

4 CMG 06 Reno Common Sense “Figure out how many will fit around your dining room table even before you begin to think about how much they will eat.” Three questions follow: 1. What is the size of the dining room? 2. What is the size of the table? 3. How many tables can fit in the dining room?

5 CMG 06 Reno A huge table in a large dining room: no partition High Utilization

6 CMG 06 Reno Small tables in a large dining room: partition Low Overhead

7 CMG 06 Reno Large tables in a huge dining room: partition High Overhead

8 CMG 06 Reno A large table in … It’s all yours

9 CMG 06 Reno A Basic Computer System without Virtualization Applications Operating System Processors Network Interface I/O Subsystem Memory Hardware

10 CMG 06 Reno Single Server S

11 CMG 06 Reno Two Queues and Two Servers

12 CMG 06 Reno Vocabulary  Partition = guest = virtual partition  Server = processor

13 CMG 06 Reno Two virtual machines on one physical system Memory Processors Hardware Operating System Applications I/O Subsystem Network Interface MemoryProcessors, V1(P) Hardware I/O Subsystem Network Interface Virtualized Layer Hardware Operating System Applications MemoryProcessors, V2(P) I/O Subsystem Network Interface Virtualized Layer Virtualization Manager

14 CMG 06 Reno Memory Processors Hardware Operating System Applications I/O Subsystem Network Interface MemoryProcessors, V1(P) Hardware I/O Subsystem Network Interface Virtualized Layer Hardware Operating System Applications MemoryProcessors, V2(P) I/O Subsystem Network Interface Virtualized Layer Virtualization Manager A Queueing Model for Two Guests S

15 CMG 06 Reno Partition or not? You pay overhead for partition but it is easy to manage and results are more predictable. Without partition, you may serve more

16 CMG 06 Reno Two ways to serve guests  Each guest owns a (virtual) server Separate queues Supermarket model  Guests share the physical processor(s) Single queue Bank model

17 CMG 06 Reno Supermarket Model: (M/M/1) × m

18 CMG 06 Reno Supermarket Model: (M/M/1) × m

19 CMG 06 Reno Bank Model: M/M/m

20 CMG 06 Reno Bank Model: M/M/m

21 CMG 06 Reno How Many Guests Can You Serve? Memory Processors Operating System Applications I/O Subsystem Network Interface Memory Processors Hardware I/O Subsystem Network Interface Virtualized Layer Virtualization Manager Operating System Applications Memory Processors I/O Subsystem Network Interface Virtualized Layer … Operating System Applications Memory Processors I/O Subsystem Network Interface Virtualized Layer

22 CMG 06 Reno The Difference: Virtualized vs. Physical Memory Processors Operating System Applications I/O Subsystem Network Interface Memory Processors Hardware I/O Subsystem Network Interface Virtualized Layer Virtualization Manager Operating System Applications Memory Processors I/O Subsystem Network Interface Virtualized Layer … Operating System Applications Memory Processors I/O Subsystem Network Interface Virtualized Layer

23 CMG 06 Reno Model as M/M/m or M/M/1, with Overhead Memory Processors Operating System Applications I/O Subsystem Network Interface Memory Processors Hardware I/O Subsystem Network Interface Virtualized Layer Virtualization Manager Operating System Applications Memory Processors I/O Subsystem Network Interface Virtualized Layer … Operating System Applications Memory Processors I/O Subsystem Network Interface Virtualized Layer

24 CMG 06 Reno Three types of overhead Consolidate m (identical) separate physical servers each with utilization u as guests on a single machine n times as powerful as the individual servers  Constant Overhead for virtualization management: c 1. Overhead proportional to number m of guests: f0 per partition, m×f0 total 2. Overhead proportional to guest utilization u: f per second per guest, f×m×u total Total Utilization: U = (1+f)×m×u/n + m×f0 + c

25 CMG 06 Reno Example: consolidate 50 servers Server Distribution by Utilization Assuming Processing Power = 1 for each server

26 CMG 06 Reno Processing power needed for supporting the number of partitions (SLA = 2 seconds) Throughput per partition Relative Processing Power Max Number of Partitions Server Distribution by Utilization Assuming Processing Power = 1 for each server

27 CMG 06 Reno Throughput per partition Relative Processing Power Max Number of Partitions

28 CMG 06 Reno Overhead Reduces Number of Supportable Partitions for Same SLA Throughput per Partition Relative Proc. Power Max Number of Partition without Overhead Max Number of Partitions (10% Fixed Overhead)

29 CMG 06 Reno Throughput per Partition Relative Proc. Power Max Number of Partition without Overhead Max Number of Partitions (10% Fixed Overhead)

30 CMG 06 Reno Increase Processing Power to Compensate for Overhead to Support the Number of Partitions Throughput per Partition Relative Processing Power (10% more for Fixed Overhead) Relative Processing Power (without Overhead) Max Number of Partitions (10% Fixed Overhead) (  25) (  4) (  3) (  2) (  1) (  1) (  2) (  1)

31 CMG 06 Reno

32 CMG 06 Reno

33 CMG 06 Reno If we choose one type of sever to support all Relative Processing Power Min Number of Servers Needed How many do we need for each server type ? Server Distribution by Utilization Assuming Processing Power = 1 for each server

34 CMG 06 Reno SLA Matters Too Relative Power Min Number of Servers Needed (SLA = 1 Seconds) Min Number of Servers Needed (SLA = 2 Seconds) How many servers do we need?

35 CMG 06 Reno The impact of fixed overhead and overhead per partition for the Same SLA Throughput per Partition Relative Proc. Power Max Number of Partition without Overhead Max Number of Partitions (10% Fixed Overhead) Max Number of Partitions (10% Fixed Overhead and 2% Overhead per Partition) Max Number of Partitions (10% Fixed Overhead and 5% Overhead per Partition)

36 CMG 06 Reno The relationship between Memory Size and Paging Rate When you ask for what’s not in memory, paging occurs; the larger the memory, the higher the chance what you ask is in memory

37 CMG 06 Reno Example: VMware ESX Memory Management “… With ESX Server it is possible to have 10 virtual machines, each with 3.6GB of RAM available to their operating systems and applications, on a 2 CPU system with 16 GB of physical RAM.” - VMware White Paper: “Virtualization: Architectural Considerations And Other Evaluation Criteria” It that true?

38 CMG 06 Reno When average demand is low, virtualization is better A crossing point: average memory demand of 900MB

39 CMG 06 Reno WMware ESX Virtual Ethernet Switch Virtual Machines / Guests Outbound Adapter Virtual Network

40 CMG 06 Reno Virtual Machines / Guests Outbound Adapter Communication pattern determines how many guests it can support (communicate among guests)

41 CMG 06 Reno Virtual Machines / Guests Outbound Adapter Communication pattern determines how many guests it can support (communicate to outside world)

42 CMG 06 Reno How Many Guests Can You Serve?