Re: IRQ-CPU affinity for AF_XDP TX?
Srivats P <[email protected]> Tue, 10 Sep 2024 19:50:12 +0530
| Newsgroups | org.kernel.vger.xdp-newbies |
|---|---|
| Message-ID | <CANzUK5-03uO95UFwh-oGO8=_L=GryOVPsCVT_myUfqNWW3KraA@mail.gmail.com> |
> For AF_XDP (in ZC or copy mode), the IRQ-CPU affinity plays a role in > the RX direction to bind a CPU core to a particular NIC queue (mapping > the CPU core to the NIC queue's IRQ). > > My question is does the IRQ or IRQ-CPU affinity play any role in the > TX direction? > > An xsk is specific to a NIC queue and assuming there is only one core > doing TX on that xsk, is there some IRQ/CPU configuration recommended > for better performance? > > Does the recommendation change if busy-polling mode is used or not > used? ZC or non-ZC? Any advice or recommendation about IRQ-CPU affinity or usage for AF_XDP TX path? Srivats