Date: Mon, 22 Dec 2008 12:14:47 +0100 From: =?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?= <laladelausanne@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Setting per processor (/core) affinity from within FreeBSD Message-ID: <811A0293-5825-4274-AAFA-559B1E5F78CD@gmail.com> In-Reply-To: <7d6fde3d0812152140u1a5985f6l5abe51f82f26fd73@mail.gmail.com> References: <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com> <8cb6106e0812151921w635a00c6o52112723c433fffb@mail.gmail.com> <7d6fde3d0812152140u1a5985f6l5abe51f82f26fd73@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
16 Dec 2008, at 06:40 , Garrett Cooper wrote: >>> I was wondering if anyone has written a utility for FreeBSD to tie >>> a particular process group to a processor / core, similar to what >>> Linux has done with taskset, so that affinity can be properly set >>> with >>> FreeBSD and the ULE scheduler. >> >> I believe cpuset(2) will do what you want. It is available starting >> with 7.1-RELEASE (which isn't released yet, but you can grab 7.1-RC1 >> to test it out). >> Hi, what I read from the documentation is that cpuset works on processes. Is it possible to pin a kthread to a particular core? Cheers, N.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?811A0293-5825-4274-AAFA-559B1E5F78CD>