Date: Mon, 15 Dec 2008 21:40:16 -0800 From: "Garrett Cooper" <yanefbsd@gmail.com> To: josh.carroll@gmail.com Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Setting per processor (/core) affinity from within FreeBSD Message-ID: <7d6fde3d0812152140u1a5985f6l5abe51f82f26fd73@mail.gmail.com> In-Reply-To: <8cb6106e0812151921w635a00c6o52112723c433fffb@mail.gmail.com> References: <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com> <8cb6106e0812151921w635a00c6o52112723c433fffb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 15, 2008 at 7:21 PM, Josh Carroll <josh.carroll@gmail.com> wrote: > On Mon, Dec 15, 2008 at 7:34 PM, Garrett Cooper <yanefbsd@gmail.com> wrote: >> Hi guys, >> 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). > > Regards, > Josh Ah, that's right! Forgot about that utility. I run 8-CURRENT so yeah, that's not really an issue :). Thanks! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0812152140u1a5985f6l5abe51f82f26fd73>