1 / 42

How Many Guests Can You Serve? - On the Number of Partitions

How Many Guests Can You Serve? - On the Number of Partitions. Yiping Ding and Ethan Bolker. Why Consolidation and Virtualization?. It is the power, space, …. 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.”

Download Presentation

How Many Guests Can You Serve? - On the Number of Partitions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Why Consolidation and Virtualization?

  3. It is the power, space, …

  4. 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: • What is the size of the dining room? • What is the size of the table? • How many tables can fit in the dining room?

  5. A huge table in a large dining room: no partition High Utilization

  6. Small tables in a large dining room: partition Low Overhead

  7. Large tables in a huge dining room: partition High Overhead

  8. A large table in … It’s all yours

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

  10. Single Server S

  11. Two Queues and Two Servers

  12. Vocabulary • Partition = guest = virtual partition • Server = processor

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

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

  15. 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. 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. Supermarket Model: (M/M/1) × m

  18. Supermarket Model: (M/M/1) × m

  19. Bank Model: M/M/m

  20. Bank Model: M/M/m

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

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

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

  24. 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 • Overhead proportional to number m of guests: f0 per partition, m×f0 total • 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. Example: consolidate 50 servers Server Distribution by Utilization 29 Assuming Processing Power = 1 for each server 5 4 3 3 2 2 2

  26. Processing power needed for supporting the number of partitions (SLA = 2 seconds) Server Distribution by Utilization 29 Assuming Processing Power = 1 for each server 5 4 3 3 2 2 2

  27. Overhead Reduces Number of Supportable Partitions for Same SLA

  28. Increase Processing Power to Compensate for Overhead to Support the Number of Partitions

  29. If we choose one type of sever to support all Server Distribution by Utilization How many do we need for each server type ? 29 Assuming Processing Power = 1 for each server 5 4 3 3 2 2 2

  30. SLA Matters Too How many servers do we need?

  31. The impact of fixed overhead and overhead per partition for the Same SLA

  32. 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

  33. 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?

  34. When average demand is low, virtualization is better A crossing point: average memory demand of 900MB

  35. Virtual Machines / Guests WMware ESX Virtual Ethernet Switch Outbound Adapter Virtual Network

  36. Virtual Machines / Guests Outbound Adapter Communication pattern determines how many guests it can support (communicate among guests)

  37. Virtual Machines / Guests Outbound Adapter Communication pattern determines how many guests it can support (communicate to outside world)

  38. How Many Guests Can You Serve?

More Related