Date: Sat, 9 Aug 2003 14:22:05 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Paul Williams <pwillia@insightbb.com> Cc: freebsd-threads@freebsd.org Subject: Re: Processor affinity and KSE sample code Message-ID: <Pine.GSO.4.10.10308091418250.14168-100000@pcnet5.pcnet.com> In-Reply-To: <000501c35e9e$2bcacaa0$6801a8c0@insightbb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 9 Aug 2003, Paul Williams wrote: > Hello, > > I'm trying to pin a group of processes to a particular processor in FreeBSD > 5.1-CURRENT. I've seen some discussion on older mailing lists about KSE's > possibly supporting this, but I am not seeing how to do so using the current > interface. Is this possible now or planned for future work? Also, does It isn't implemented yet. I had always wanted to implement a kse_bind() though. > someone have examples of how to use KSEs? The test code included with the > kernel isn't too enlightening (at least not for a KSE novice). It's much easier just to use libpthread^Wlibkse and threads. Scope system threads get their own KSE, while scope process threads all run on a set of N kses (where N = kern.threads.virtual_cpu). -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10308091418250.14168-100000>