Cache Contention Aware Virtual Machine Placement and Migration in Cloud Datacenters
Authors: Liuhua Chen, Haiying Shen and Stephen Platt Presenter: Haiying Shen
IEEE ICNP
November 8-11, 2016 Singapore
Machine Placement and Migration in Cloud Datacenters Authors: - - PowerPoint PPT Presentation
Cache Contention Aware Virtual Machine Placement and Migration in Cloud Datacenters Authors: Liuhua Chen, Haiying Shen and Stephen Platt Presenter: Haiying Shen IEEE ICNP November 8-11, 2016 Singapore 2 Objective An effective VM allocation
IEEE ICNP
November 8-11, 2016 Singapore
2
3
VM1 PM VM2 Last Level Cache
VM2 VM1
4
5
64KB L1 256KB L2
Core 1
8MB L3 Cache
64KB L1 256KB L2
Core 1
64KB L1 256KB L2
Core 1
64KB L1 256KB L2
Core 1
stack distance profile
6
The number of accesses
Cache Hits Cache Misses C1 CA C>A … Stack distance counters fi = {C1,C2,...,CA,C>A}, Cd counts the number of hits to the line in the dth LRU stack position and C>A counts the number of cache misses
7
Number of accesses Cache Hits Original Cache Misses C1 CA C>A … Stack distance counters Extra Cache Misses
8
9
10
11
Define it as an
Transform it to an integer linear programming Use lpsolve 5.5 tool to find optimal solution
12
13
14
20 40 60 80 100 5 10 15
Prediction error (%) CDF of prediction error (%)
15
0.0E+00 1.0E+05 2.0E+05 3.0E+05 4.0E+05 20 30 40
Total # of misses The number of VMs
Random Animal MissRate CacheVM Optimal 1.0E+06 1.0E+08 1.0E+10 1.0E+12 20 30 40
Total time (ns) The number of VMs
Random Animal Missrate CacheVM Optimal
16
0.0E+00 5.0E+06 1.0E+07 1.5E+07 2000 3000 4000
Total # of misses The number of VMs
Random Animal MissRate CacheVM 0.0E+00 2.0E+06 4.0E+06 6.0E+06 8.0E+06 1.0E+07 1.2E+07 1.4E+07 Scale 1 Scale 2 Scale 3
Total # of misses Different scales
Random Animal MissRate CacheVM
(1000 VMs, 750 PMs), (2000 VMs, 1500 PMs), (4000 VMs, 3000 PMs)
17
0.0E+00 5.0E+03 1.0E+04 1.5E+04 2.0E+04 20 60 90 120
The number of VMs
Random Animal MissRate CacheVM
Total execution time (s)
0.0E+00 1.0E+04 2.0E+04 3.0E+04 4.0E+04 5.0E+04 6.0E+04 20 60 90 120
The number of VMs
Random Animal MissRate CacheVM
Total throughput (Mop/s)
18
0.0 0.5 1.0 1.5 2.0 20 60 90 120
Normalized time
The number of VMs Random Animal MissRate CacheVM 0.0 0.3 0.6 0.9 1.2 1.5 20 60 90 120 The number of VMs Random Animal MissRate CacheVM
Normalized throughput
19
20
Haiying Shen hs6ms@v @virgin ginia.e .edu du Pervas asive ive Communi unica catio tion n Laborato tory ry Univers rsity ty of Virginia