design and evaluation of a virtual experimental ... · user interfaces command-line interface –...
TRANSCRIPT
![Page 1: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/1.jpg)
.
......
Design and Evaluation of a Virtual ExperimentalEnvironment for Distributed Systems
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum
.....
Grid’5000
27/02/2013PDP 2013, Belfast
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 1 / 27
![Page 2: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/2.jpg)
.. Study of distributed systems
Many objects of study:
Response timeThroughputPerformance
ScalabilityRobustnessComplexity
Fault-toleranceFairnessetc.
Many experimental methodologies:In-situ: real applications on real platformsGrid’5000, FutureGrid, PlanetLab, etc.Simulation: modeled applications on modeled systemsSimGrid, ns-2, OMNET++, etc.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 2 / 27
![Page 3: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/3.jpg)
.. Different methodologies
In-situ methodology:☺ more realistic
☺ uses real implementation
☹ limited to available environmental conditions
☹ usually unreproducible
Simulation:☺ enables unprecedented experiments
☺ perfectly reproducible
☹ simplified assumptions
☹ lower realism
Is there a middle ground methodology?
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 3 / 27
![Page 4: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/4.jpg)
.. Emulation
Technique used to efficiently simulate the behavior of acomputer on another one, usually more powerful
Idea:...1 Use an existing platform...2 Model your desired platform...3 Efficiently emulate the desired platform using the real platform
... →.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 4 / 27
![Page 5: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/5.jpg)
.. Emulation (cont.)
Advantages:Combines advantages of simulation and in-situ approaches:
allows to use real applications and infrastructureenables complicated experiments
Paves the way to reproducibility
Answers following type of questions:How can I reproduce an experiment published in 2001 even if 1.5GHzprocessors do not exist anymore?How can I evaluate my new P2P software designed for DSL networks?How does this runtime with advanced load-balancing capabilities performon highly hierarchical networks?
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 5 / 27
![Page 6: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/6.jpg)
.. Plan of the talk
During the rest of the talk I will:...1 present our emulation-based solution...2 describe its architecture...3 show and discuss evaluation results...4 conclude and outline future work
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 6 / 27
![Page 7: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/7.jpg)
.. Distem - DISTributed systems EMulator
Distem is a (freely available) software to build virtual distributedexperimental environments.
... +.. =.Heterogeneous nodes,
Long distance networks,Grid, Cloud, P2P,
…
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 7 / 27
![Page 8: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/8.jpg)
.. What can Distem do for you?
Features of Distem include:Introducing heterogeneity in otherwise homogeneous cluster:
CPU heterogeneityHow does your solution perform when some nodes are slower?Network heterogeneityDoes your solution work in Internet-like infrastructure?
Emulating complex network topologiesHow does your solution perform on a Grid?
Enlarging the scale of the experimentHow does your solution perform on several thousands of nodes?User-friendliness
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 8 / 27
![Page 9: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/9.jpg)
.. CPU heterogeneity
Distem can host multiple virtual nodes on one physical node:with a different number of coreswith different CPU performance
There are 2 strategies for degrading performance:CPU-Gov – based on hardware CPU throttlingCPU-Hogs – advanced CPU burning
..
0
.
1
.
2
.
3
.
4
.
5
.
6
.
7
.VN 1.
VN 2.
VN 3.
Virtual node 4.
CPU cores
.CPU
perfo
rman
ce
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 9 / 27
![Page 10: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/10.jpg)
.. Network heterogeneity
Distem can emulate properties of network links between nodes.Each link can have a different:
maximum bandwidthlatency
They can be set for incoming and outgoing traffic independently.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 10 / 27
![Page 11: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/11.jpg)
.. Complex network configuration
Define properties of network links using network heterogeneityUse them to emulate several local networks linked together
..n3..
n1
.
n2
.5 Mbps10 ms .5 ms
10 Mbps
.if0 .
1 Mbps
30 ms
.
30 ms
1 Mbps
.
if0
.
100 Mbp
s3 ms
.
1 ms10
0 Mbps
.
if0
..
n4
.
n5
.4 Mbps12 ms.16 ms
6 Mbps
. if1.
100 kb
ps25
ms
.
30ms
256 kb
ps
.
if0
.
200 kbps
30 ms
.
40 ms
512 kbps
.
if0
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 11 / 27
![Page 12: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/12.jpg)
.. Scale of the experiment
Distem uses a lightweight virtualization to:share resources between nodes:
CPUnetworkfilesystem
host many instances of virtual nodes on a single node
This powerful feature:enables challenging experiments of unprecedented scalesaves resources and energy
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 12 / 27
![Page 13: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/13.jpg)
.. User-friendliness
Distem strives to be user-friendly:complex and tedious tasks are automated:
configuring network interfacespopulating routing tablesdistributing system imagesetc.
3 interfaces with increasing complexity and feature-set are offered:command-lineRuby libraryREST interface (with JSON to represent data)
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 13 / 27
![Page 14: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/14.jpg)
.. User interfaces
Command-line interface – distem command☺ Easy to use☹ Hard to automate☹ No access to more advanced features
Ruby library☺ Easy to automate☺ Access to all features☺ Easy to use (if you know Ruby)☹ Requires Ruby
REST API☺ Language agnostic☹ Requires REST knowledge
..User.
REST API
.
Ruby
.
CLI
CLI example:distem --create-vnetwork vnetwork=net,address=10.144.0.0/22distem --create-vnode vnode=node-1,rootfs=file:///image.tgzdistem --create-viface vnode=node-1,iface=if0,vnetwork=netdistem --start-vnode node-1distem --execute vnode=node-1,command="hostname"
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 14 / 27
![Page 15: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/15.jpg)
.. Distem internals
Distem uses modern Linux features:Control Groups and Linux containers (LXC)CPU frequency scalingadvanced networking (network bridging)network traffic control (packet schedulers and shapers)
Note that it limits the scope of experiments to Linux/Unix.
..Node 1.
Node 2
.
Node 3
.
Switch
.
+
..
=
.Node 1
.
Node 2
.
Node 3
.
Switch
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 15 / 27
![Page 16: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/16.jpg)
.. Communication architecture
..
User’s machine
.Uses the command lineinterface, the Ruby client library
or a REST client.
Pnode 2
.
distemd
....Pnode 3
.
distemd
....
Coordinator& Pnode 1
.
Starts and controls otherPnodes, keeps the global stateof the platform and acts as thegateway to Pnodes and Vnodes
.
distemd
....
REST
.
REST
.REST.
Vnodes
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 16 / 27
![Page 17: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/17.jpg)
.. Evaluation
To evaluate Distem we designed a few experiments concerned with:network emulation:
precision of latency emulationlatency emulation over timeprecision of bandwidth emulationemulation of a simple topologybasic performance analysis of scp and rsync tools
CPU emulation (Linpack, DGEMM and FFT benchmarks)scalability (by performing a large deployment with Distem)
Each measurement was repeated many times and results are averaged.We used the Grid’5000 testbed.
Grid’5000
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 17 / 27
![Page 18: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/18.jpg)
.. Precision of latency emulation
Purpose: test if latency is properly emulatedSetup:
2 physical nodes, 1 virtual node on eachEmulated latencies from 1 ms to 100 ms
Data point: RTT (custom ping tool) between two virtual nodes
... ..100
.101
.102
.100 .
101
.
102
.
Emulated latency (ms)
.Mea
sure
dla
tenc
y(m
s)
.
. ..Measured latency (in)
. ..Measured latency (out)
. ..Expected latency
.Conclusion..
......Emulation is accurate, especially for values above real network latency (0.3 ms).
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 18 / 27
![Page 19: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/19.jpg)
.. Latency emulation over time
Purpose: test if latency is constant over timeSetup:
2 physical nodes, 1 virtual node on each
Data point: result of high-frequency RTT probing
... ..0.
1.
2.
3.
4.9.8 .
10
.
10.2
.
10.4
.
Time (ms)
.
Late
ncy
(ms)
.
. ..Measured latency
. ..Emulated latency
.Conclusion..
......Emulation is stable and correct during the measurement.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 19 / 27
![Page 20: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/20.jpg)
.. Precision of bandwidth emulation
Purpose: test if bandwidth emulation is correctSetup:
2 physical nodes, 1 virtual node on eachTwo bandwidth ranges: [ 56 Kbps, 1Mbps ] and [ 50 Mbps, 1Gbps ]
Data point: bandwidth between two nodes (using iperf)
.....128
.256
.512
.768
.1,024
.0
.
500
.
1,000
.....
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..... .. ..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Emulated bandwidth (kbps)
.Mea
sure
dba
ndwi
dth
(kbp
s)
.
. ..Measured bandwidth (in)
. ..Measured bandwidth (out)
. ..Expected bandwidth
.....
100
.300
.500
.700
.900
.0 .
500
.
1,000
.....
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.....
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Emulated bandwidth (Mbps)
.Mea
sure
dba
ndwi
dth
(Mbp
s)
.
. ..Measured bandwidth (in)
. ..Measured bandwidth (out)
. ..Expected bandwidth
.Conclusion..
......Bandwidth emulation is accurate in both situations.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 20 / 27
![Page 21: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/21.jpg)
.. Emulation of a simple topology
Purpose: test if Distem properly emulates non-trivial networkSetup:
simple topology created with Distemheterogeneous network links
Data point: bandwidth and RTT between each pair of nodes
..n3..
n1
.
n2
.5 Mbps10 ms .5 ms
10 Mbps
.if0 .
1 Mbps
30 ms
.
30 ms
1 Mbps
.
if0
.
100 Mbp
s3 ms
.
1 ms10
0 Mbps
.
if0
..
n4
.
n5
.4 Mbps12 ms.16 ms
6 Mbps
. if1.
100 kb
ps25
ms
.
30ms
256 kb
ps
.
if0
.
200 kbps
30 ms
.
40 ms
512 kbps
.
if0
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 21 / 27
![Page 22: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/22.jpg)
.. Emulation of a simple topology (cont.)
..n3..
n1
.
n2
.5 Mbps10 ms .5 ms
10 Mbps
.if0 .
1 Mbps
30 ms
.
30 ms
1 Mbps
.
if0
.
100 Mbp
s3 ms
.
1 ms10
0 Mbps
.
if0
..
n4
.
n5
.4 Mbps12 ms.16 ms
6 Mbps
. if1.
100 kb
ps25
ms
.
30ms
256 kb
ps
.
if0
.
200 kbps
30 ms
.
40 ms
512 kbps
.
if0
From \ To n1 n2 n3 n4 n5n1 - 0.06 s / 1.07 Mbps 0.08 s / 1.07 Mbps 0.16 s / 0.29 Mbps 0.17 s / 0.55 Mbpsn2 0.06 s / 1.04 Mbps - 0.02 s / 9.57 Mbps 0.10 s / 0.29 Mbps 0.12 s / 0.55 Mbpsn3 0.08 s / 1.05 Mbps 0.02 s / 4.92 Mbps - 0.08 s / 0.30 Mbps 0.10 s / 0.57 Mbpsn4 0.16 s / 0.17 Mbps 0.10 s / 0.16 Mbps 0.08 s / 0.15 Mbps - 0.13 s / 0.15 Mbpsn5 0.17 s / 0.26 Mbps 0.12 s / 0.27 Mbps 0.10 s / 0.27 Mbps 0.13 s / 0.26 Mbps -
RTTn3→n5 = RTTn5→n3 = (16 ms + 40 ms) + (30 ms + 12 ms) = 98 ms ≈ 0.1 s
BWn3→n5 = min {6 Mbps, 512 kbps} ≈ 0.57 Mbps BWn5→n3 = min {200 kbps, 4 Mbps} ≈ 0.27 Mbps
.Conclusion..
......Emulation is correct: bandwidth between each pair of nodes is a minimum of linkbandwidths, and RTT is a sum of all latencies on the path.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 22 / 27
![Page 23: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/23.jpg)
.. Performance analysis of scp and rsync tools
Purpose: compare scp and rsync when transferring Distem sourcesSetup:
2 physical nodes, 1 virtual node on eachEmulated latency (from 0 to 100 ms) and bandwidth (from 1 to 5 Mbps)scp and rsync are unchanged
Data point: time needed to transfer 700 KBs (small files)
...
..
0
.
20
.
40
.
60
.
80
.100
.
1
.
2
.
3
.
4
.
5
.100 .
101
.
102
.
Latency (ms)
.
Bandwidth (Mbps)
.
Tim
e(s
)
.
. ..scp
. ..rsync
.Conclusion..
......rsync outperforms scp thanks to a more efficient transfer of many files.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 23 / 27
![Page 24: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/24.jpg)
.. CPU emulation
Purpose: compare CPU emulation strategies available in DistemSetup:
1 physical node with 1 virtual node, 1 or 4 coresEmulated frequencies from [ 1.2 GHz, 2.54 GHz ] range
Data point: each benchmark result
1 core 4 cores
.....
1,200
.
1,333
.
1,467
.
1,600
.
1,733
.
1,867
.
2,000
.
2,133
.
2,267
.
2,400
.
2,534
.0
.2
.
4
.
6
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..... .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...... .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Frequency (Ghz)
.
GFlo
ps
.
. ..HPL/CPU-Hogs
. ..HPL/CPU-Gov
. ..DGEMM/CPU-Hogs
. ..DGEMM/CPU-Gov
. ..FFT/CPU-Hogs
. ..FFT/CPU-Gov
.....
1,200
.
1,333
.
1,467
.
1,600
.
1,733
.
1,867
.
2,000
.
2,133
.
2,267
.
2,400
.
2,534
.0
.
10
.
20
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.....
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..... .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...... .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
Frequency (Ghz)
.
GFlo
ps
.
. ..HPL/CPU-Hogs
. ..HPL/CPU-Gov
. ..DGEMM/CPU-Hogs
. ..DGEMM/CPU-Gov
. ..FFT/CPU-Hogs
. ..FFT/CPU-Gov
.Conclusion..
......Even with real benchmarks (CPU & memory usage), the CPU-Hogs strategy (usablewithout any hardware support) behaves as expected.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 24 / 27
![Page 25: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/25.jpg)
.. Scalability
Purpose: test scalability of DistemSetup: 25 or 100 physical nodesData point: time required to deployfrom 500 to 5000 virtual nodes and tolaunch a taktuk command (commandexecution tool using tree topology)
Disteminstallation (s)
Virtual nodesdeployment (s)
TakTukcommand (s)
# Vnodes# Pnodes 25 100 25 100 25 100
500 56.9 95.4 53.7 51.7 2.4 2.11000 56.4 94.7 94.3 91.1 3.4 3.82500 59.7 95.8 219.2 207.7 10.3 95000 64 97.1 445.5 410.7 21.3 21.3
TakTuk communicationtopology with 2560 virtualnodes (10 physical nodes)
.Conclusion..
......
Deploying 5000 virtual nodes takes less than 10 minutesOne physical node can host many virtual nodes efficiently
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 25 / 27
![Page 26: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/26.jpg)
.. Related work
Networkemulation
CPUemulation Complexity Maintained
/ Available
Emulab ☺ ☹ ☹ ☺Wrekavoc ☺ 😐 ☺ ☹PlanetLab 😐 ☹ ☹ ☺ModelNet ☺ ☹ 😐 ☹DieCast ☺ ☺ ☹ ☹Distem ☺ ☺ ☺ ☺
Distem is the only tool offering advanced emulation and low complexity.Moreover it is freely available and actively maintained.
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 26 / 27
![Page 27: Design and Evaluation of a Virtual Experimental ... · User interfaces Command-line interface – distem command ☺ Easy to use ☹ Hard to automate ☹ No access to more advanced](https://reader034.vdocuments.mx/reader034/viewer/2022052018/6031e0e324e6ed007240f4bb/html5/thumbnails/27.jpg)
.. Conclusion and future works
In this talk I presented Distem. It features:Emulation of resources:
Network parameters and topologyCPU performance
Scalability and efficiency:Sharing of resources using virtualizationThousands of nodes can be deployed in a few minutes
Easy way to design and run advanced experiments:Supports reproducibility (by saving topology information)Ready to use on Grid’5000
In the near future we plan to:Push scalability even furtherEmulate more properties: memory, advanced CPU features
More information on http://distem.gforge.inria.fr/
L. Sarzyniec, T. Buchert, E. Jeanvoine, L. Nussbaum Distem - Design and Evaluation 27 / 27