-
Notifications
You must be signed in to change notification settings - Fork 672
Connections going via FDP don't appear in conntrack #1577
Comments
This may be relevant https://lwn.net/Articles/633401/ |
Yes, seems so. Though there is the usual issue that it takes a while for kernel changes to propagate widely enough that we can rely on them. |
Is there anything we can do here, besides waiting for the kernel changes to propagate, that doesn't require Herculian effort? |
@dpw says we may be able to work around this by introducing an intermediary bridge. |
Does it break the same way when using Docker's new network, which is also using VXLAN? |
I wouldn't expect so. It's not due to vxlan. |
I have completed a simple performance test comparing existing fast datapath with fast datapath + intermediary bridge e.g.:
Tested on an Intel i7 5820K @ 3.3 GHz using two Ubuntu 15.04 Virtualbox VMs as Docker hosts. The performance results on the bare hosts:
Performance results via weave:
Performance with an intermediary bridge:
Based on these measurements the intermediary bridge restores conntrack functionality at the cost of a ~15% performance reduction. |
The use of the docker0 bridge may well skew the results here. It has a bunch of iptable rules hanging off it. |
Good point. I will re-run the tests once we've implemented with our own intermediary bridge. |
Test of #1712 using the same setup as before. Bare host performance:
Performance with
Performance with dedicated intermediary bridge + fastdp:
With a dedicated intermediary bridge lacking iptables rules, the performance difference is ~10%. |
Optional intermediary bridge netdev. Fixes #1577.
Which kinda breaks scope.
Repro:
Pre-1.2 (or with WEAVE_NO_FASTDP=true) you see conntrack events for the connections coming and going.
The text was updated successfully, but these errors were encountered: