Setting CPU affinity to process( Freebsd smp kernel)

Kunze, Aaron aaron.kunze at intel.com
Thu Feb 22 02:01:26 UTC 2007


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?  

Sorry to reply to such an old thread...

Aaron

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

On Monday 20 November 2006 06:24, Ashok TM wrote:
> Hello,
> 
> 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) .
> 
> Does  freebsd smp scheduler supports setting affinity?

Yes, but currently only in the kernel.

-- 
John Baldwin


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



More information about the freebsd-smp mailing list