Date: Fri, 10 Dec 1999 11:43:04 -0800 From: Arun Sharma <adsharma@sharmas.dhs.org> To: Chuck Robey <chuckr@picnic.mat.net> Cc: freebsd-arch@freebsd.org Subject: Re: Thread scheduling Message-ID: <19991210114304.A3372@sharmas.dhs.org> In-Reply-To: <Pine.BSF.4.10.9912092336190.16082-100000@picnic.mat.net>; from Chuck Robey on Thu, Dec 09, 1999 at 11:40:40PM -0500 References: <Pine.BSF.4.10.9912092336190.16082-100000@picnic.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 09, 1999 at 11:40:40PM -0500, Chuck Robey wrote: > In scheduling multiple threads on a FreeBSD SMP system, is it just > important that if a thread asks for multiple processors, then it can > contend for multiple processors, or is it in any way important that these > multiple instances of execution from the same memory space actually occur > at the same point in time. A thread can't be scheduled on more than one processor simultaneously. Multiple threads in the same process can be. Assuming that this is what you meant... Is it desirable ? Yes. Can it be guaranteed ? Not easily. If you have a SMP machine dedicated to a particular task like web serving, the optimal use of the system would be to run multiple threads in the same address space on multiple processors. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991210114304.A3372>