[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: How to pin an interrupt thread to a specific CPU core?
From:       Eugene Grosbein <eugen () grosbein ! net>
Date:       2021-04-15 21:43:55
Message-ID: 8d0866f0-3eed-87cd-d6b6-ea7ed3e06ce4 () grosbein ! net
[Download RAW message or body]

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.


_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic