From owner-freebsd-arch Tue May 1 9:39:44 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 7485E37B43C for ; Tue, 1 May 2001 09:39:41 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (yogotech.nokia.com [4.22.66.156]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA22360; Tue, 1 May 2001 10:39:16 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA04588; Tue, 1 May 2001 10:39:11 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15086.59054.668961.132528@nomad.yogotech.com> Date: Tue, 1 May 2001 10:39:10 -0600 (MDT) To: Daniel Eischen Cc: Nate Williams , Julian Elischer , Cedric Berger , Arch@FreeBSD.ORG Subject: Re: KSE threading support (first parts) In-Reply-To: References: <15086.57554.673831.601763@nomad.yogotech.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > 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? I believe the latter, but tests would show us which works better for a mix. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message