Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 22:21:31 -0500
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Garrett Cooper" <yanefbsd@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Setting per processor (/core) affinity from within FreeBSD
Message-ID:  <8cb6106e0812151921w635a00c6o52112723c433fffb@mail.gmail.com>
In-Reply-To: <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com>
References:  <7d6fde3d0812151634n70e6f699n8178382c79dca36d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0812151921w635a00c6o52112723c433fffb>