Date: Fri, 16 Apr 2021 04:43:55 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Michio Honda <micchie.gml@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: How to pin an interrupt thread to a specific CPU core? Message-ID: <8d0866f0-3eed-87cd-d6b6-ea7ed3e06ce4@grosbein.net> In-Reply-To: <CA%2BSc9E0w-MAfNHF1fzAFVGFTFfK8M%2BYLszwQssES7wPo35SNbA@mail.gmail.com> References: <CA%2BSc9E0w-MAfNHF1fzAFVGFTFfK8M%2BYLszwQssES7wPo35SNbA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d0866f0-3eed-87cd-d6b6-ea7ed3e06ce4>