From owner-freebsd-arch Mon Nov 20 23:35:47 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 8A6A037B479; Mon, 20 Nov 2000 23:35:42 -0800 (PST) Received: from pretoria-36.budapest.interware.hu ([195.70.53.100] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13y7xr-00015F-00; Tue, 21 Nov 2000 08:35:39 +0100 Message-ID: <3A1A25C6.99B1B8F3@elischer.org> Date: Mon, 20 Nov 2000 23:35:34 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Daniel Eischen Cc: Scott Hess , jasone@FreeBSD.ORG, arch@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: Threads (KSE etc) comments References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel Eischen wrote: > > With 2 CPUs, you could have 2 KSEs within the KSEG. Nothing changes > except that the KSEG workload is spread across 2 KSEs running on > different CPUs. The quantum for the KSEG, regardless of whether > there are 1 or more KSEs associated with it, remains the same > (I would advocate a separate quantum in this case, but I think > I'm outvoted on that front). not entirely I think a process using two KSEs in a KSEG should be charged for 2. > > This is all for PTHREAD_SCOPE_PROCESS threads. PTHREAD_SCOPE_SYSTEM > threads will be bound to their own KSEG with one KSE. These will > act more like LinuxThreads; when one of these threads block in > the kernel, another one will not be executed (because there are no > other threads allocated for that KSEG/KSE by the threads library). well, it WILL do the upcall but the UTS will respond with "No new thread to schedule, please yield" > > -- > Dan Eischen > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message