Skip to content

Network performance of OVS internal port #37685

@kevinsuo

Description

@kevinsuo

Hi,

I build a container network on two hosts using OVS + VXLAN. The first configuration I used is using veth for containers to connect with OVS. The second is using OVS internal port to connect the containers with OVS. I found the internal port has better performance and shared my results here.

Here are my results: using iperf3, docker version is 1.12

1, veth OVS:
[ 4] 81.00-82.00 sec 27.6 MBytes 232 Mbits/sec 56 96.9 KBytes
[ 4] 82.00-83.00 sec 29.9 MBytes 251 Mbits/sec 67 77.8 KBytes
[ 4] 83.00-84.00 sec 28.3 MBytes 237 Mbits/sec 42 90.1 KBytes
[ 4] 84.00-85.00 sec 29.3 MBytes 246 Mbits/sec 47 169 KBytes
[ 4] 85.00-86.00 sec 24.3 MBytes 204 Mbits/sec 59 137 KBytes
[ 4] 86.00-87.00 sec 28.0 MBytes 235 Mbits/sec 162 88.7 KBytes
[ 4] 87.00-88.00 sec 28.7 MBytes 241 Mbits/sec 80 126 KBytes
[ 4] 88.00-89.00 sec 31.6 MBytes 265 Mbits/sec 105 130 KBytes
[ 4] 89.00-90.00 sec 28.5 MBytes 239 Mbits/sec 51 127 KBytes
[ 4] 90.00-91.00 sec 27.8 MBytes 234 Mbits/sec 46 169 KBytes
[ 4] 91.00-92.00 sec 28.4 MBytes 238 Mbits/sec 3 192 KBytes
[ 4] 92.00-93.00 sec 28.9 MBytes 243 Mbits/sec 97 137 KBytes
[ 4] 93.00-94.00 sec 32.4 MBytes 272 Mbits/sec 61 122 KBytes
[ 4] 94.00-95.00 sec 28.6 MBytes 240 Mbits/sec 79 153 KBytes
[ 4] 95.00-96.00 sec 28.6 MBytes 240 Mbits/sec 94 126 KBytes
[ 4] 96.00-97.00 sec 23.1 MBytes 193 Mbits/sec 23 143 KBytes
[ 4] 97.00-98.00 sec 25.8 MBytes 217 Mbits/sec 0 243 KBytes
[ 4] 98.00-99.00 sec 28.8 MBytes 242 Mbits/sec 236 96.9 KBytes
[ 4] 99.00-100.00 sec 26.9 MBytes 225 Mbits/sec 35 91.5 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-100.00 sec 2.74 GBytes 236 Mbits/sec 6993 sender
[ 4] 0.00-100.00 sec 2.74 GBytes 236 Mbits/sec receiver

OVS internal port performance:
[ 4] 83.01-84.02 sec 54.2 MBytes 448 Mbits/sec 143 130 KBytes
[ 4] 84.02-85.00 sec 53.1 MBytes 453 Mbits/sec 138 134 KBytes
[ 4] 85.00-86.02 sec 58.3 MBytes 484 Mbits/sec 187 138 KBytes
[ 4] 86.02-87.01 sec 57.4 MBytes 483 Mbits/sec 89 113 KBytes
[ 4] 87.01-88.01 sec 56.2 MBytes 472 Mbits/sec 140 146 KBytes
[ 4] 88.01-89.01 sec 34.5 MBytes 289 Mbits/sec 123 126 KBytes
[ 4] 89.01-90.01 sec 57.5 MBytes 480 Mbits/sec 163 127 KBytes
[ 4] 90.01-91.01 sec 64.7 MBytes 544 Mbits/sec 159 131 KBytes
[ 4] 91.01-92.00 sec 59.4 MBytes 505 Mbits/sec 128 91.5 KBytes
[ 4] 92.00-93.00 sec 50.5 MBytes 422 Mbits/sec 29 145 KBytes
[ 4] 93.00-94.00 sec 57.3 MBytes 482 Mbits/sec 131 146 KBytes
[ 4] 94.00-95.01 sec 42.5 MBytes 352 Mbits/sec 160 138 KBytes
[ 4] 95.01-96.00 sec 55.7 MBytes 471 Mbits/sec 188 111 KBytes
[ 4] 96.00-97.02 sec 62.8 MBytes 519 Mbits/sec 88 130 KBytes
[ 4] 97.02-98.01 sec 59.8 MBytes 504 Mbits/sec 176 92.8 KBytes
[ 4] 98.01-99.02 sec 64.2 MBytes 536 Mbits/sec 38 141 KBytes
[ 4] 99.02-100.01 sec 58.3 MBytes 493 Mbits/sec 155 138 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-100.01 sec 4.99 GBytes 428 Mbits/sec 12010 sender
[ 4] 0.00-100.01 sec 4.99 GBytes 428 Mbits/sec receiver

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions