I tried this trick and it worked on the odp-dpdk repository.
What will be the preferred method?
- ODP_PKTIO_DPDK_PARAMS="-m 512,512"
- the patch you mentioned.
Thanks & Regards,
P Gyanesh Kumar Patra
On Thu, Apr 12, 2018 at 4:42 AM, Elo, Matias (Nokia - FI/Espoo) <
matias@nokia.com> wrote
Hi,
I may have figured out the issue here. Currently, the ODP DPDK pktio
implementation configures DPDK to allocated memory only for socket 0.
Could you please try running ODP again with environment variable
ODP_PKTIO_DPDK_PARAMS="-m 512,512" set.
E.g.
sudo ODP_PKTIO_DPDK_PARAMS="-m 512,512"
Hi Matias,
The Mellanox interfaces are mapped to Numa Node 1. (device id: 81:00.x)
We have free hugepages on both Node0 and Node1 as identified below.
​root# cat
/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages
77
root# cat
/sys/devices/system/node/node1/hugepage
A second thing to try. Since you seem to have a NUMA system, the ODP
application should be run on the same NUMA socket as the NIC (e.g. using
taskset if necessary). In case of different sockets, both sockets should have
huge pages mapped.
-Matias
> On 29 Mar 2018, at 10:00, Elo, Matias (Nokia