From owner-freebsd-arch Tue Nov 23 11:31:47 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id BDD4114A2D for ; Tue, 23 Nov 1999 11:31:39 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id UAA15528 for ; Tue, 23 Nov 1999 20:31:39 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id UAA28726 for freebsd-arch@freebsd.org; Tue, 23 Nov 1999 20:31:38 +0100 (MET) Received: from canonware.com (canonware.com [207.20.242.18]) by hub.freebsd.org (Postfix) with SMTP id B53B314A2D for ; Tue, 23 Nov 1999 11:31:28 -0800 (PST) (envelope-from jasone@canonware.com) Received: (qmail 10259 invoked by uid 1001); 23 Nov 1999 19:31:06 -0000 Date: Tue, 23 Nov 1999 11:31:06 -0800 From: Jason Evans To: Daniel Eischen Cc: freebsd-arch@freebsd.org Subject: Re: Threads Message-ID: <19991123113106.G301@sturm.canonware.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from eischen@vigrid.com on Tue, Nov 23, 1999 at 07:19:54AM -0500 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Nov 23, 1999 at 07:19:54AM -0500, Daniel Eischen wrote: > On Tue, 23 Nov 1999, Chuck Robey wrote: > > It seems to me that we're talking about, basically, changing the scheduler > > from being process-centric to being KSE-centric, right? I think that > > means that, excepting possible per-process limits, the scheduler wouldn't > > care what process was up, and it would be keeping KSE run-lists, > > wait-lists, etc, right? > > I think the sleep queues need to be KSEs, and perhaps someday they'll > become per-mutex or condvar queues :-). I think the run queue has to > remain process (or kernel thread) oriented. The KSE run-list would be > hung off each process. How do you see this working with KSE soft processor affinity? It seems to me that there would be difficulty in determining which of a set of KSEs associated with a process should be run on a given CPU, if the run queue is at the process granularity. Jason To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message