[ovs-dev] [PATCH v9 2/2] netdev-afxdp: NUMA-aware memory allocation for XSK related memory
u9012063 at gmail.com
Thu Jan 16 19:01:17 UTC 2020
On Fri, Jan 3, 2020 at 5:13 PM Yi-Hung Wei <yihung.wei at gmail.com> wrote:
> Currently, the AF_XDP socket (XSK) related memory are allocated by main
> thread in the main thread's NUMA domain. With the patch that detects
> netdev-linux's NUMA node id, the PMD thread of AF_XDP port will be run on
> the AF_XDP netdev's NUMA domain. If the net device's NUMA domain
> is different from the main thread's NUMA domain, we will have two
> cross-NUMA memory accesses (netdev <-> memory, memory <-> CPU).
> This patch addresses the aforementioned issue by allocating
> the memory in the net device's NUMA domain.
> Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Thanks for working on this!
Acked-by: William Tu <u9012063 at gmail.com>
More information about the dev