Setting per processor (/core) affinity from within FreeBSD
josh.carroll at gmail.com
Mon Dec 15 19:21:33 PST 2008
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).
More information about the freebsd-questions