How to pin an interrupt thread to a specific CPU core?

Eugene Grosbein eugen at grosbein.net
Thu Apr 15 21:44:19 UTC 2021


16.04.2021 4:38, Michio Honda пишет:
> Hi,
> 
> Does anyone know how to do this? I want to ensure both my kqueue-based TCP
> server app thread and the interrupt thread for the NIC to run at the same
> CPU core.

cpuset -l $corenumber -x $irqnumber
cpuset -l 0 -x 259

This is documented in the cpuset(1) manual page.




More information about the freebsd-hackers mailing list