Date: Fri, 19 Jan 2018 11:03:35 -0800 From: Yuri <yuri@rawbw.com> To: Freebsd hackers list <freebsd-hackers@FreeBSD.org> Subject: Does the kernel assign CPU affinity automatically? Message-ID: <38c78eec-b598-dc44-8422-ab8fdec0a735@rawbw.com>
next in thread | raw e-mail | index | archive | help
I noticed that my particularly large process always runs on the same CPU through its lifetime (based on top). This process doesn't use cpuset(1) or cpuset(2), and cpuset(1) only shows the all-inclusive set: $ cpuset -g -p 11511 pid 11511 mask: 0, 1, 2, 3, 4, 5, 6, 7 Does the kernel assign CPU affinity automatically in some cases? There seems to be some factor besides 'cpuset' that determines affinity. Thanks, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38c78eec-b598-dc44-8422-ab8fdec0a735>