[ovs-dev] [PATCH v2] dpif-netdev: Allow PMD auto load balance with cross-numa.

Pai G, Sunil sunil.pai.g at intel.com
Tue Mar 16 14:30:32 UTC 2021


> -----Original Message-----
> From: dev <ovs-dev-bounces at openvswitch.org> On Behalf Of Kevin Traynor
> Sent: Monday, March 15, 2021 9:14 PM
> To: dev at openvswitch.org
> Cc: david.marchand at redhat.com
> Subject: [ovs-dev] [PATCH v2] dpif-netdev: Allow PMD auto load balance
> with cross-numa.
> 
> Previously auto load balance did not trigger a reassignment when there was
> any cross-numa polling as an rxq could be polled from a different numa after
> reassign and it could impact estimates.
> 
> In the case where there is only one numa with pmds available, the same
> numa will always poll before and after reassignment, so estimates are valid.
> Allow PMD auto load balance to trigger a reassignment in this case.
> 
> Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
> Acked-by: Eelco Chaudron <echaudro at redhat.com>
> 
> ---
> v2:
> - Same logic as v1, combined two "ifs" as per David suggestion
> - Updated comments/logs
> - Updated the doc note that said it will not work for cross NUMA to
>   include new condition
> - Kept Eelco's Ack, as no logic changed
> ---
>  Documentation/topics/dpdk/pmd.rst |  9 ++++++---
>  lib/dpif-netdev.c                 | 16 +++++++++++++---
>  2 files changed, 19 insertions(+), 6 deletions(-)
> 
<snipped>


Tested-by: Sunil Pai G <sunil.pai.g at intel.com>





More information about the dev mailing list