Skip to content

Instantly share code, notes, and snippets.

@John-Lin
Last active October 25, 2017 11:54
Show Gist options
  • Save John-Lin/fd6cdfa4d608e11fe503cc8a4e59f967 to your computer and use it in GitHub Desktop.
Save John-Lin/fd6cdfa4d608e11fe503cc8a4e59f967 to your computer and use it in GitHub Desktop.
Performance loss with VXLAN in OVS

Network performance testing tool

iperf

HOST to HOST

iperf -c 10.240.0.2 -p 12345 -i 1 -t 10 -w 20K

iperf -s -p 12345 -i 1 -M

[  3] local 10.240.0.3 port 49074 connected with 10.240.0.2 port 12345
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec   198 MBytes  1.66 Gbits/sec
[  3]  1.0- 2.0 sec   233 MBytes  1.96 Gbits/sec
[  3]  2.0- 3.0 sec   230 MBytes  1.93 Gbits/sec
[  3]  3.0- 4.0 sec   235 MBytes  1.97 Gbits/sec
[  3]  4.0- 5.0 sec   235 MBytes  1.97 Gbits/sec
[  3]  5.0- 6.0 sec   236 MBytes  1.98 Gbits/sec
[  3]  6.0- 7.0 sec   233 MBytes  1.95 Gbits/sec
[  3]  7.0- 8.0 sec   229 MBytes  1.92 Gbits/sec
[  3]  8.0- 9.0 sec   230 MBytes  1.93 Gbits/sec
[  3]  9.0-10.0 sec   232 MBytes  1.94 Gbits/sec
[  3]  0.0-10.0 sec  2.24 GBytes  1.92 Gbits/sec

HOST to POD (in different HOSTs)

(Container as a server)

iperf -c 10.244.1.32 -p 12345 -i 1 -t 10 -w 20K

iperf -s -p 12345 -i 1 -M

[  3] local 10.244.2.1 port 39370 connected with 10.244.1.32 port 12345
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec   149 MBytes  1.25 Gbits/sec
[  3]  1.0- 2.0 sec   170 MBytes  1.43 Gbits/sec
[  3]  2.0- 3.0 sec   153 MBytes  1.29 Gbits/sec
[  3]  3.0- 4.0 sec   158 MBytes  1.33 Gbits/sec
[  3]  4.0- 5.0 sec   157 MBytes  1.32 Gbits/sec
[  3]  5.0- 6.0 sec   161 MBytes  1.35 Gbits/sec
[  3]  6.0- 7.0 sec   156 MBytes  1.31 Gbits/sec
[  3]  7.0- 8.0 sec   156 MBytes  1.31 Gbits/sec
[  3]  8.0- 9.0 sec   151 MBytes  1.27 Gbits/sec
[  3]  9.0-10.0 sec   149 MBytes  1.25 Gbits/sec
[  3]  0.0-10.0 sec  1.52 GBytes  1.31 Gbits/sec

POD to POD (in different HOSTs)

iperf -c 10.244.1.32 -p 12345 -i 1 -t 10 -w 20K

iperf -s -p 12345 -i 1 -M

[  3] local 10.244.2.63 port 40266 connected with 10.244.1.32 port 12345
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec   138 MBytes  1.16 Gbits/sec
[  3]  1.0- 2.0 sec   155 MBytes  1.30 Gbits/sec
[  3]  2.0- 3.0 sec   155 MBytes  1.30 Gbits/sec
[  3]  3.0- 4.0 sec   159 MBytes  1.33 Gbits/sec
[  3]  4.0- 5.0 sec   158 MBytes  1.33 Gbits/sec
[  3]  5.0- 6.0 sec   156 MBytes  1.31 Gbits/sec
[  3]  6.0- 7.0 sec   158 MBytes  1.32 Gbits/sec
[  3]  7.0- 8.0 sec   163 MBytes  1.37 Gbits/sec
[  3]  8.0- 9.0 sec   167 MBytes  1.40 Gbits/sec
[  3]  9.0-10.0 sec   165 MBytes  1.38 Gbits/sec
[  3]  0.0-10.0 sec  1.54 GBytes  1.32 Gbits/sec

Performance loss with VXLAN in OVS

About 32%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment