Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2007 17:32:49 -0800
From:      "Kunze, Aaron" <aaron.kunze@intel.com>
To:        <freebsd-smp@freebsd.org>, <jhb@freebsd.org>
Cc:        atmblr@gmail.com
Subject:   Re: Setting CPU affinity to process( Freebsd smp kernel)
Message-ID:  <07DDDFCFB8BE0A43BCA52E743373DBDC030C5D5A@orsmsx416.amr.corp.intel.com>

next in thread | raw e-mail | index | archive | help
Hello!

Does anyone know if this will change any time soon?  For example, is
anyone working on exposing affinity to user-space applications via
extensions of the pthreads interface? =20

Sorry to reply to such an old thread...

Aaron

---------------

On Monday 20 November 2006 06:24, Ashok TM wrote:
> Hello,
>=20
> Is there a way to set   a process's CPU affinity  with  freebsd  smp
kernel.
>  By doing so a process is bound to and will only run on the processor
(where
> the affinity was set ) even though the other processors are free.
(similar
> to sched_setaffinity available on Linux kernel) .
>=20
> Does  freebsd smp scheduler supports setting affinity?

Yes, but currently only in the kernel.

--=20
John Baldwin


--------------------------
Aaron Kunze
aaron.kunze@intel.com
--PGP Key ID: 0x81124B7C--
--NOT SPEAKING FOR INTEL--
-------GO BOILERS!!-------




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