Initial Results on Provisioning Variation in Cloud Services
- M. Suhail Rehman
Research Analyst Cloud Computing Lab Carnegie Mellon University in Qatar
Supported By:
Collaborators: Prof. Majd F. Sakr, Jim Gargani Carnegie Mellon University
1
Initial Results on Provisioning Variation in Cloud Services M. - - PowerPoint PPT Presentation
Initial Results on Provisioning Variation in Cloud Services M. Suhail Rehman Research Analyst Cloud Computing Lab Carnegie Mellon University in Qatar Collaborators: Prof. Majd F. Sakr, Jim Gargani Carnegie Mellon University Supported By: 1
Supported By:
Collaborators: Prof. Majd F. Sakr, Jim Gargani Carnegie Mellon University
1
2
3
Virtualization
4
Virtualized and Multiplexed Hardware Multitenancy
Abstraction
Identical Requests are not guaranteed to give you Identical Hardware Simplified, Abstracted Hardware
5
Physical Host L3 RAM
4-core CPU
L2
L1 4-core CPU
L2
L1
Physical Host
L3 RAM
Disk
4-core CPU
L2L1 4-core CPU
L2L1
Physical Host
L3 RAM
Disk
4-core CPU
L2L1 4-core CPU
L2L1
6
Physical Host L3 RAM
4-core CPU
L2
L1 4-core CPU
L2
L1
Physical Host
L3 RAM
Disk
4-core CPU
L2L1 4-core CPU
L2L1
Physical Host
L3 RAM
Disk
4-core CPU
L2L1 4-core CPU
L2L1
7
VM VM VM VM VM VM VM VM
Physical Host L3 RAM
4-core CPU
L2
L1 4-core CPU
L2
L1
Physical Host
L3 RAM
Disk
4-core CPU
L2L1 4-core CPU
L2L1
Physical Host
L3 RAM
Disk
4-core CPU
L2L1 4-core CPU
L2L1
8
VM VM VM VM VM VM VM VM
9
10
11
12
I want 4 VMs each with 1 vCPU, 1 GB RAM and 80 GB Disk
Client
Physical Hardware Virtual Machine
Resource Request
Application
VMs from the Cloud Application Performance Variation
13 13
VM VM VM VM
layouts manually
Controlled Experimentation on a private cloud
V M V M V M V M
Client request for 4 VMs
Physical Host Physical Host Physical Host Physical Host
V M V M V M V M
Physical Host Physical Host
V M V M
Physical Host
V M V M V M V M V M V M
Layout 1: 4 VMs across 4 blades Layout 2: 4 VMs across 2 blades Layout 3: 4 VMs across 1 blade
Provisioned
cloud 14
Physical Host L3 RAM
Disk
4-core CPU
L2
L1 4-core CPU
L2
L1
CPU: 2 x Quad Xeon E5420 2.5 GHz w/ 12MB L2 Cache RAM: 8 GB ECC Front-Side Bus: 21.6 GB/sec Disk: 2 x 300 GB SAS Disk Bandwidth: 600 MB/sec Network Interface 2x Gigabit Interfaces to other blades IBM Bladecenter H with14 Blades
15
RHEL 5.1 Xen 3.0.3
Hadoop 0.20.1 RHEL 5.2
VM
Physical Host Physical Host Physical Host Physical Host
V M V M V M V M
Physical Host Physical Host
V M V M
Physical Host
V M V M V M V M V M V M
4 VMs across 4 blades 4 VMs across 1 blade 4 VMs across 2 blades
Executed on Synthetically Configured Infrastructure
16
17
Network
No Variation
RAM
25% drop in bandwidth for Layouts 2 and 3
Disk
60 – 80 % drop in bandwidth for Layouts 2 and 3
Physical Host Physical Host Physical Host Physical Host
V M V M V M V M
Physical Host Physical Host
V M V M
Physical Host
V M V M V M V M V M V M
Layout 1 Layout 3 Layout 2
CPU ~ 4x speedup for Layout 3
256 512 1024 2048 4096 Layout 3 38.5 99.6 287.1 1339.7 6644 Layout 2 30.3 44.3 113.7 527.6 2400.7 Layout 1 29.8 38.3 66.4 362.9 1311.3
1 10 100 1000 10000
Time in Seconds (Log Scale) Size (MB)
18
Layout 3 Layout 2 Layout 1
Physical Host Physical Host Physical Host Physical Host
V M V M V M V M
Physical Host Physical Host
V M V M
Physical Host
V M V M V M V M V M V M
Layout 1 Layout 3 Layout 2
19
0.000 5.000 10.000 15.000 20.000 25.000 30.000 35.000
1x4 2x2 4x1 Throughput (mb/sec) Layout (VMxHosts) Read Write Layout 3 Layout 2 Layout 1
Physical Host Physical Host Physical Host Physical Host
V M V M V M V M
Physical Host Physical Host
V M V M
Physical Host
V M V M V M V M V M V M
Layout 1 Layout 3 Layout 2
20
1 2 4 8 4Vx1B 182 339.9 660.2 1633.8 4Vx2B 167.2 321.9 620.4 1414.4 4Vx4B 167.1 317.2 631.5 1356.8 200 400 600 800 1000 1200 1400 1600 1800 Runtime (Seconds) Input Size (GB)
21
Layout 3 Layout 2 Layout 1
Physical Host Physical Host Physical Host Physical Host
V M V M V M V M
Physical Host Physical Host
V M V M
Physical Host
V M V M V M V M V M V M
Layout 1 Layout 3 Layout 2
22
Bound)
More Studies on other Applications
Application Profiling on the Cloud
Resource-aware Applications
We have only scratched the surface!
23
24