On 11/17/21 15:08, Aaron Conole wrote: > Mike Pattrick <[email protected]> writes: > >> Currently the ovs-tcpdump utility creates a virtual tunnel to send >> packets to. This method functions perfectly fine, however, it can >> greatly impact performance of the monitored port. >> >> It has been reported to reduce packet throughput significantly. I was >> able to reproduce a reduction in throughput of up 70 percent in some >> tests with a simple setup of two hosts communicating through a single >> bridge on Linux with the kernel module datapath. Another more complex >> test was configured for the usermode datapath both with and without >> DPDK. This test involved a data path going from a VM, through a port >> into one OVS bridge, out through a network card which could be DPDK >> enabled for the relevant tests, in to a different network interface, >> then into a different OVS bridge, through another port, and then into >> a virtual machine. >> >> Using the dummy driver resulted in the following impact to performance >> compared to no ovs-tcpdump. Due to intra-test variance and fluctuations >> during the first few seconds after installing a tap; multiple samples >> were taken over multiple test runs. The first few seconds worth of >> results were discarded and then results were averaged out. >> >> If the dummy driver isn't present, falls back on the existing tap code. >> >> Original Script >> =============== >> Category Impact on Throughput >> Kernel datapath - 65% >> Usermode (no DPDK) - 26% >> DPDK ports in use - 37% >> >> New Script >> ========== >> Category Impact on Throughput >> Kernel datapath - 5% >> Usermode (no DPDK) - 16% >> DPDK ports in use - 29% >> >> Signed-off-by: Mike Pattrick <[email protected]> >> --- >> utilities/ovs-tcpdump.in | 54 ++++++++++++++++++++++++++-------------- >> 1 file changed, 36 insertions(+), 18 deletions(-)
<snip> > Acked-by: Aaron Conole <[email protected]> Thanks, Mike and Aaron! Applied. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
