On 17 Apr 2019, at 19:16, William Tu wrote:

Hi Eelco,
Thanks for trying this patchset!
<SNIP>

In addition you need to do “make install_headers” from kernel libbpf
and copy the libbpf_util.h manually.

I was able to do a simple physical port in same physical port out test
without crashing, but the numbers seem low:

This probably is due to some log printing.
I have a couple of optimizations, will share it soon.

I do not see any additional logging, and even with all logging disabled, I get the same numbers. Will continue my testing once back from PTO. If you want me to test something without sending a new patch set, just let me know what to change.


$ ovs-ofctl dump-flows ovs_pvp_br0
  cookie=0x0, duration=210.344s, table=0, n_packets=1784692,
n_bytes=2694884920, in_port=eno1 actions=IN_PORT

"Physical loopback test, L3 flows[port redirect]"
,Packet size
Number of flows,64,128,256,512,768,1024,1514
100,77574,77329,76605,76417,75539,75252,74617

The above is using two cores, but with a single DPDK core I get the
following (on the same machine):

"Physical loopback test, L3 flows[port redirect]"
,Packet size
Number of flows,64,128,256,512,768,1024,1514
100,9527075,8445852,4528935,2349597,1586276,1197304,814854

For the kernel datapath the numbers are:

"Physical loopback test, L3 flows[port redirect]"
,Packet size
Number of flows,64,128,256,512,768,1024,1514
100,4862995,5521870,4528872,2349596,1586277,1197305,814854

But keep in mind it uses roughly 550/610/520/380/180/140/110% of the CPU
for the respective packet size.

<SNIP>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to