Cannot set affinity - pthread_setaffinity_np - DPDK21

Kamaraj P pkamaraj at gmail.com
Tue Sep 20 15:26:39 CEST 2022


Thank you for the clarification.

On Mon, 19 Sep 2022, 10:34 pm Stephen Hemminger, <stephen at networkplumber.org>
wrote:

> On Sun, 18 Sep 2022 22:05:57 +0530
> Kamaraj P <pkamaraj at gmail.com> wrote:
>
> > Yes. The core mask we have aligned to separate cgroup. Probably this
> might
> > be an issue here. We will change the alignment in  our DPDK application.
> > BTW is there a way to check the cores affinity set to DPDK after
> > rte_eail_init ? Do we have to use the taskset command ?
>
> DPDK doesn't (and shouldn't) know about what cgroups has set.
> You need to align the cgroup and the startup flags of the application.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20220920/1af9f5b6/attachment.htm>


More information about the dev mailing list