[ovs-dev] [PATCH 2/2] netdev-afxdp: Add need_wakeup supprt.

William Tu u9012063 at gmail.com
Thu Sep 5 16:21:29 UTC 2019


> Did some more testing and with PVP I see a performance decrease, with
> physical to physical I see an increase.
> Tests are performed with a port redirect open flow rule on an ixgbe
> (Xeon E5-2690 v4 2.60GHz):
>
> +-----------+-----------------+---------+---------+---------+---------+---------+---------+--------+
> |  PVP      | Number of flows |   64    |   128   |   256   |   512   |
>   768   |   1024  |  1514  |
> +-----------+-----------------+---------+---------+---------+---------+---------+---------+--------+
> | master    |            1000 |  737896 |  700643 |  682915 |  648386 |
> 621792 |  582821 | 527899 |
> | Patch     |            1000 |  734179 |  696515 |  676712 |  646536 |
> 619600 |  578546 | 519965 |
> +-----------+-----------------+---------+---------+---------+---------+---------+---------+--------+
>
> +-----------+-----------------+---------+---------+---------+---------+---------+---------+--------+
> | Port2Port | Number of flows |   64    |   128   |   256   |   512   |
>   768   |  1024   |  1514  |
> +-----------+-----------------+---------+---------+---------+---------+---------+---------+--------+
> | master    |            1000 | 3351114 | 3236581 | 3143710 | 2349598 |
> 1586276 | 1197304 | 814854 |
> | Patch     |            1000 | 3571733 | 3488697 | 3448908 | 2349593 |
> 1586276 | 1197304 | 814854 |
> +-----------+-----------------+---------+---------+---------+---------+---------+---------+--------+

Hi Eleco,

I'm wondering why you get only ~3.3Mpps for P2P test. Using ixgbe, I
usually get at
least 6Mpps using single flow (a single 64B UDP packet hitting single
OpenFlow rule)
Do you think it's due to have 1000 flows in your setup?

Another possible overhead is due to no rxhash in AF_XDP, so there is extra
overhead doing flow_hash_5tuple and dp_packet_set_rss_hash

Regards,
William


More information about the dev mailing list