From owner-freebsd-performance@FreeBSD.ORG Wed Jun 25 15:52:36 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5BC937B401 for ; Wed, 25 Jun 2003 15:52:36 -0700 (PDT) Received: from possum.cryptohill.net (cambist.cryptohill.net [24.244.145.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD19643FE5 for ; Wed, 25 Jun 2003 15:52:35 -0700 (PDT) (envelope-from jeroen@vangelderen.org) Received: from vangelderen.org (grolsch.cryptohill.net [24.244.145.13]) by possum.cryptohill.net (Postfix) with ESMTP id D24BCAE0E3; Wed, 25 Jun 2003 18:52:33 -0400 (EDT) Date: Wed, 25 Jun 2003 18:52:31 -0400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: "Petri Helenius" From: "Jeroen C. van Gelderen" In-Reply-To: <009901c33b17$1a5090c0$10d4473e@PETEX31> Message-Id: Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: freebsd-performance@freebsd.org cc: "D. J. Bernstein" Subject: Re: ten thousand small processes X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 22:52:37 -0000 On Wednesday, Jun 25, 2003, at 08:39 US/Eastern, Petri Helenius wrote: >> or that use threads, or that allocate many file descriptors per=20 >> process. >> >> I'm talking about _small_ processes. I'm talking about programs that >> might have quite a bit of code, and might read and write quite a lot=20= >> of >> data, but that don't use much memory per process. The problem is that >> I'm talking about ten thousand of these processes running at once. >> > > Why you want processes and not use threads? Running 10000 processes > "at once" requires 10000 execution units, I don=B4t think FreeBSD will=20= > run on > anything with more than 16 CPUs at this time. Fault isolation? -J --=20 Jeroen C. van Gelderen - jeroen@vangelderen.org A single glass of beer was passed, from which I was the last one to sip - a ritual signifying that I was not to be poisoned.