Measuring the Impact of Docker on Network I/O Performance - - PowerPoint PPT Presentation

measuring the impact of docker on network i o performance
SMART_READER_LITE
LIVE PREVIEW

Measuring the Impact of Docker on Network I/O Performance - - PowerPoint PPT Presentation

University of Amsterdam Masters Programme in System and Network Engineering Measuring the Impact of Docker on Network I/O Performance Author: Rohprimardho


slide-1
SLIDE 1

Measuring ¡the ¡Impact ¡of ¡Docker ¡on ¡ Network ¡I/O ¡Performance ¡

Author: ¡Rohprimardho ¡ 2 ¡July ¡2015 ¡

Master’s ¡Programme ¡in ¡System ¡and ¡Network ¡Engineering ¡ University ¡of ¡Amsterdam ¡

slide-2
SLIDE 2

Research ¡Question ¡

¡ ¡ How ¡big ¡is ¡the ¡impact ¡of ¡Docker ¡on ¡ network ¡I/O ¡performance? ¡

2 ¡

slide-3
SLIDE 3

Docker ¡

  • Docker ¡containers ¡wrap ¡so=ware ¡in ¡a ¡complete ¡filesystem ¡

that ¡contains ¡everything ¡it ¡needs ¡to ¡run. ¡ ¡

3 ¡

slide-4
SLIDE 4

Docker ¡vs ¡VM ¡Comparison ¡

Source: ¡hDp://www.zdnet.com/arGcle/what-­‑is-­‑docker-­‑and-­‑why-­‑is-­‑it-­‑so-­‑darn-­‑popular/ ¡

4 ¡

slide-5
SLIDE 5

Docker ¡Networking ¡Mode ¡

Source: ¡hDp://www.slideshare.net/adrienblind/ docker-­‑networking-­‑basics-­‑using-­‑so=ware-­‑defined-­‑ networks ¡

Network ¡ C1 ¡ C2 ¡ Host ¡

Bridge ¡ Host ¡

5 ¡

slide-6
SLIDE 6

Topology ¡

Data ¡ CollecGon ¡ Packet ¡ Generator ¡ System ¡ Under ¡ Test ¡ ¡ ¡ ¡ ¡ Switch ¡ 6 ¡ (Fast ¡ machine) ¡

slide-7
SLIDE 7

Density ¡Functions ¡

7 ¡

Histogram ¡ ¡ ¡ ¡ ¡ ¡ CDF ¡

Source: ¡hDp://howtohop.blogspot.be ¡

slide-8
SLIDE 8

Results: ¡Baseline ¡

Number ¡of ¡Probes: ¡1 ¡million ¡packets ¡ 8 ¡

in ¡µs ¡ Median ¡ 95% ¡ 99.9% ¡ No ¡Docker ¡ 6.11 ¡ 8.65 ¡ 16.22 ¡ Docker ¡bridge ¡ 6.52 ¡ 9.12 ¡ 19.40 ¡ Docker ¡host ¡ 6.42 ¡ 10.08 ¡ 23.60 ¡

No_Docker ¡ With ¡Docker ¡

slide-9
SLIDE 9

Optimizations ¡ ¡

  • Affinity: ¡dedicate ¡a ¡single ¡core ¡to ¡run ¡the ¡applicaGon ¡(to ¡

reduce ¡cache ¡corrupGon) ¡

  • Spinning: ¡conGnuously ¡check ¡for ¡the ¡arrival ¡of ¡new ¡packets ¡

9 ¡

slide-10
SLIDE 10

Results: ¡Optimized ¡

Number ¡of ¡Probes: ¡1 ¡million ¡packets ¡ 10 ¡

in ¡µs ¡ Median ¡ 95% ¡ 99.9% ¡ No ¡Docker ¡ 4.08 ¡ 4.56 ¡ 7.22 ¡ Docker ¡bridge ¡ 4.94 ¡ 5.51 ¡ 6.33 ¡ Docker ¡host ¡ 4.11 ¡ 4.55 ¡ 6.68 ¡

No_Docker ¡ Docker ¡Bridge ¡ Docker ¡Host ¡

slide-11
SLIDE 11

Conclusions ¡

  • Network ¡I/O ¡performance ¡of ¡an ¡applicaGon ¡is ¡degraded ¡if ¡it ¡

runs ¡inside ¡a ¡Docker ¡container ¡ ¡

  • However, ¡by ¡finely ¡tuning ¡the ¡applicaGon ¡and ¡using ¡“host” ¡

networking ¡– ¡we ¡avoid ¡this ¡performance ¡degradaGon ¡

11 ¡

slide-12
SLIDE 12

Questions? ¡

12 ¡