Setting per processor (/core) affinity from within FreeBSD
yanefbsd at gmail.com
Mon Dec 15 21:40:17 PST 2008
On Mon, Dec 15, 2008 at 7:21 PM, Josh Carroll <josh.carroll at gmail.com> wrote:
> On Mon, Dec 15, 2008 at 7:34 PM, Garrett Cooper <yanefbsd at 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).
Ah, that's right! Forgot about that utility.
I run 8-CURRENT so yeah, that's not really an issue :).
More information about the freebsd-questions