Date: Thu, 30 Nov 2006 16:58:23 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-smp@freebsd.org Cc: Ashok TM <atmblr@gmail.com> Subject: Re: Setting CPU affinity to process( Freebsd smp kernel) Message-ID: <200611301658.23898.jhb@freebsd.org> In-Reply-To: <ef4898ff0611200324n72f30e64qbb2732f9ef0706d7@mail.gmail.com> References: <ef4898ff0611200324n72f30e64qbb2732f9ef0706d7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611301658.23898.jhb>