Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of this PR
This patch reverts PR #1127 .
Improve multicast performace by not sending multicast packets to conntrack. Rule
match=(eth.mcast), action=(next;)
is added to tablels_in_pre_lb
andls_out_pre_lb
in logical flows:Performance Testing
Create a subnet and two iperf2 Pods:
OVN trace result after applying the patch:
Performance comparison when two Pods are on the same node:
/ $ iperf -c 226.94.1.1 -u -T 32 -t 10 -i 1 -b 10G ------------------------------------------------------------ Client connecting to 226.94.1.1, UDP port 5001 Sending 1470 byte datagrams, IPG target: 1.10 us (kalman adjust) UDP buffer size: 256 KByte (default) ------------------------------------------------------------ [ 1] local 172.17.0.13 port 42302 connected with 226.94.1.1 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-1.00 sec 46.2 MBytes 388 Mbits/sec [ 1] 1.00-2.00 sec 47.1 MBytes 395 Mbits/sec [ 1] 2.00-3.00 sec 46.8 MBytes 392 Mbits/sec [ 1] 3.00-4.00 sec 44.5 MBytes 373 Mbits/sec [ 1] 4.00-5.00 sec 47.4 MBytes 398 Mbits/sec [ 1] 5.00-6.00 sec 45.2 MBytes 379 Mbits/sec [ 1] 6.00-7.00 sec 45.8 MBytes 384 Mbits/sec [ 1] 7.00-8.00 sec 45.1 MBytes 378 Mbits/sec [ 1] 8.00-9.00 sec 41.1 MBytes 345 Mbits/sec [ 1] 9.00-10.00 sec 48.1 MBytes 403 Mbits/sec [ 1] 0.00-10.00 sec 457 MBytes 384 Mbits/sec [ 1] Sent 326171 datagrams
/ $ iperf -c 226.94.1.1 -u -T 32 -t 10 -i 1 -b 10G ------------------------------------------------------------ Client connecting to 226.94.1.1, UDP port 5001 Sending 1470 byte datagrams, IPG target: 1.10 us (kalman adjust) UDP buffer size: 256 KByte (default) ------------------------------------------------------------ [ 1] local 172.17.0.3 port 49802 connected with 226.94.1.1 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-1.00 sec 205 MBytes 1.72 Gbits/sec [ 1] 1.00-2.00 sec 229 MBytes 1.92 Gbits/sec [ 1] 2.00-3.00 sec 226 MBytes 1.89 Gbits/sec [ 1] 3.00-4.00 sec 210 MBytes 1.76 Gbits/sec [ 1] 4.00-5.00 sec 219 MBytes 1.84 Gbits/sec [ 1] 5.00-6.00 sec 224 MBytes 1.88 Gbits/sec [ 1] 6.00-7.00 sec 212 MBytes 1.78 Gbits/sec [ 1] 7.00-8.00 sec 214 MBytes 1.80 Gbits/sec [ 1] 8.00-9.00 sec 214 MBytes 1.79 Gbits/sec [ 1] 9.00-10.00 sec 193 MBytes 1.62 Gbits/sec [ 1] 0.00-10.00 sec 2.10 GBytes 1.80 Gbits/sec [ 1] Sent 1530462 datagrams
Performance comparison when two Pods are on different nodes:
/ $ iperf -c 226.94.1.1 -u -T 32 -t 10 -i 1 -b 10G ------------------------------------------------------------ Client connecting to 226.94.1.1, UDP port 5001 Sending 1470 byte datagrams, IPG target: 1.10 us (kalman adjust) UDP buffer size: 256 KByte (default) ------------------------------------------------------------ [ 1] local 172.17.0.11 port 44717 connected with 226.94.1.1 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-1.00 sec 50.2 MBytes 421 Mbits/sec [ 1] 1.00-2.00 sec 54.9 MBytes 461 Mbits/sec [ 1] 2.00-3.00 sec 53.4 MBytes 448 Mbits/sec [ 1] 3.00-4.00 sec 48.3 MBytes 405 Mbits/sec [ 1] 4.00-5.00 sec 46.1 MBytes 387 Mbits/sec [ 1] 5.00-6.00 sec 49.5 MBytes 415 Mbits/sec [ 1] 6.00-7.00 sec 51.4 MBytes 431 Mbits/sec [ 1] 7.00-8.00 sec 52.8 MBytes 443 Mbits/sec [ 1] 8.00-9.00 sec 49.9 MBytes 419 Mbits/sec [ 1] 9.00-10.00 sec 58.4 MBytes 490 Mbits/sec [ 1] 0.00-10.00 sec 515 MBytes 432 Mbits/sec [ 1] Sent 367358 datagrams
/ $ iperf -c 226.94.1.1 -u -T 32 -t 10 -i 1 -b 10G ------------------------------------------------------------ Client connecting to 226.94.1.1, UDP port 5001 Sending 1470 byte datagrams, IPG target: 1.10 us (kalman adjust) UDP buffer size: 256 KByte (default) ------------------------------------------------------------ [ 1] local 172.17.0.9 port 36975 connected with 226.94.1.1 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-1.00 sec 103 MBytes 865 Mbits/sec [ 1] 1.00-2.00 sec 100 MBytes 839 Mbits/sec [ 1] 2.00-3.00 sec 111 MBytes 930 Mbits/sec [ 1] 3.00-4.00 sec 104 MBytes 875 Mbits/sec [ 1] 4.00-5.00 sec 109 MBytes 916 Mbits/sec [ 1] 5.00-6.00 sec 100 MBytes 839 Mbits/sec [ 1] 6.00-7.00 sec 94.8 MBytes 795 Mbits/sec [ 1] 7.00-8.00 sec 103 MBytes 862 Mbits/sec [ 1] 8.00-9.00 sec 104 MBytes 875 Mbits/sec [ 1] 9.00-10.00 sec 119 MBytes 1.00 Gbits/sec [ 1] 0.00-10.00 sec 1.02 GBytes 880 Mbits/sec [ 1] Sent 748058 datagrams