Power Efficiency of Hypervisor and Container-based Virtualization
University of Amsterdam
- MSc. System & Network Engineering
Research Project II
Jeroen van Kessel 02-02-2016 Supervised by:
- dr. ir. Arie Taal
- dr. Paola Grosso
Container-based Virtualization University of Amsterdam MSc. System - - PowerPoint PPT Presentation
Power Efficiency of Hypervisor and Container-based Virtualization University of Amsterdam MSc. System & Network Engineering Research Project II Jeroen van Kessel 02-02-2016 Supervised by: dr. ir. Arie Taal dr. Paola Grosso Significance
University of Amsterdam
Research Project II
Jeroen van Kessel 02-02-2016 Supervised by:
Cisco claims: "by 2019, more than 86 percent of all workload will be processed by cloud data centers"
Docker became very popular in a relative short time
2/26
Empirical Investigation of power consumption of virtualization platforms
in idle state and in CPU/Memory stress test
Figure 1: Power Measurement Device
Image source: http://media.bestofmicro.com/green-power-cpu-performance,E-0-228600-13.jpg
3/26
Figure 2: LINPACK CPU performance
Source: Ericsson, Hypervisors vs. Lightweight Virtualization: a Performance Comparison [2015]
4/26
5 /26
virtualization
Figure 3: Image source: http://gordonsun-blog.s3.amazonaws.com/wp-content/uploads/2015/05/docker-containers-vs-vms.png
Xen 4.5.1 Docker 1.9.1
6 /26
Figure 4: Power Measurement Setup
7 /26
Running Ubuntu 15.10 x64
Table 1: IBM 1U Server Specifications
8 /26
9 /26
(1) Power Usage Sensor (2) Data Acquisition Interface Board
Image source: eurocircuits.com blueprints
11 /26
Table 2: Dominant components and their synthetics benchmark applications
12 /26
13 /26
7.73 7.39 7.27 6.91 6.63 6.56 4.93 4.87 4.86 1 2 3 4 5 6 7 8 9 Xen running 1 Virtual Node Docker running 1 Container Native OS
Average Power Usage in Watt (W)
CPU Memory HDD
7.73 7.38 7.27 6.91 6.63 6.55 4.93 4.87 4.86
2 4 6 8 10 12 14 16 18 20 Xen running 1 Virtual Node Docker running 1 Container Native OS
Total Power Usage in Watt (W)
HDD Memory CPU
19.57 18.88 18.68
14 /26
Experiment 1: 4 cores on CPU1 Experiment 2: 2 cores both CPU1 and CPU2
Image source: http://img.tomshardware.com/us/2007/10/29/hitting_4ghz_with_air_cooling/intel_penryn_45_nm_octo_core.jpg
CPU1 CPU2
15 /26
CPU1 CPU2
(1) Docker: All 4 cores used on physical CPU1
1 2 3
(2) Xen: All 4 cores used on physical CPU1
16 /26
(1) Docker: 2 cores used of each CPU1 and CPU2 (2) Xen: 2 cores used of each CPU1 and CPU2
17 /26
18 /26
19 /26
1397 1341 1581 1502 200 400 600 800 1000 1200 1400 1600 1800 Xen 1 CPU Xen 2 CPUs Docker 1 CPU Docker 2 CPUs
Power Efficiency in MFLOPS / W
Power Usage of all memory banks (1) Power Usage of all memory banks (2)
20 /26
21 /26
100.661 101.560 104.411 0.000 20.000 40.000 60.000 80.000 100.000 120.000 Xen Memory Docker Memory Native OS Memory
Power Efficiency in (Ops/sec) / W
22 /26
23 /26
11.555 12.252 12.140 0.000 2.000 4.000 6.000 8.000 10.000 12.000 14.000 Xen HDD Docker HDD Native OS HDD
Power Efficiency in (Kb/sec) / W (Sequential Write)
Research question: Is there a difference in power efficiency under a traditional hypervisor-based virtualization versus Linux containers? Performance results match with the Ericsson research Power Efficiency results: CPU: Docker is more efficient in terms of power Memory, HDD (Writes) and IDLE: Docker is more efficient but almost negligible
24 /26
25 /26