From owner-freebsd-arch Tue May 1 9:37:50 2001 Delivered-To: freebsd-arch@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id DA21837B43C for ; Tue, 1 May 2001 09:37:46 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id MAA07027; Tue, 1 May 2001 12:37:02 -0400 (EDT) Date: Tue, 1 May 2001 12:37:01 -0400 (EDT) From: Daniel Eischen To: Nate Williams Cc: Julian Elischer , Cedric Berger , Arch@FreeBSD.ORG Subject: Re: KSE threading support (first parts) In-Reply-To: <15086.57554.673831.601763@nomad.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 1 May 2001, Nate Williams wrote: > > > Sorry is I ask a stupid question, but I'm trying to make sense of this thread. > > > Here is my question: > > > - I've a server that runs a single big java application server (one process, > > > tons of threads like every Java app) > > > - With the new KSE and friends architecture, will I be able to scale > > > my app by adding CPUs? > > > > Using the linuxthreads port you can do that today > > using Pthreads today you can not. > > using the KSE scheme you can > > Only if the JVM is compiled using the above technologies. Linuxthreads > won't be used because the license is incompatible with the JDK license. And when we do get KSEs, what's the optimal way to map Java threads to KSEGs/KSEs? Should each Java thread be a PTHREAD_SCOPE_SYSTEM thread where each thread gets its own KSEG/KSE pair, or would it be better to run all threads as PTHREAD_SCOPE_PROCESS in one KSE/KSEG pair? -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message