From owner-freebsd-performance@FreeBSD.ORG Wed Jun 25 05:41:44 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 4812837B401 for ; Wed, 25 Jun 2003 05:41:44 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1FC243FBD for ; Wed, 25 Jun 2003 05:41:42 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PETEX31 (gprs-prointernet-3e47d055.mobile.inet.fi [62.71.208.85]) by silver.he.iki.fi (8.12.9/8.11.4) with SMTP id h5PCfTsL083042; Wed, 25 Jun 2003 15:41:33 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <009901c33b17$1a5090c0$10d4473e@PETEX31> From: "Petri Helenius" To: "D. J. Bernstein" , References: <20030625060629.51087.qmail@cr.yp.to><20030625023621.N17881-100000@mail.chesapeake.net> <20030625094301.56349.qmail@cr.yp.to> Date: Wed, 25 Jun 2003 14:39:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 12:41:44 -0000 > or that use threads, or that allocate many file descriptors per 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 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īt think FreeBSD will run on anything with more than 16 CPUs at this time. Pete