From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:48:39 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13DF016A4BF for ; Thu, 28 Aug 2003 02:48:39 -0700 (PDT) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52FBA43FDD for ; Thu, 28 Aug 2003 02:48:36 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=54314 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:1) id 19sJOM-0006vc-Uq for freebsd-java@FreeBSD.org; Thu, 28 Aug 2003 17:48:35 +0800 Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id 18D68347; Thu, 28 Aug 2003 17:48:33 +0800 (CST) Date: Thu, 28 Aug 2003 17:48:33 +0800 From: leafy To: freebsd-java@FreeBSD.org Message-ID: <20030828094833.GA82970@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030828090852.GC83970@starjuice.net> User-Agent: Mutt/1.5.4i Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:48:39 -0000 On Thu, Aug 28, 2003 at 11:08:52AM +0200, Sheldon Hearn wrote: > On (2003/08/28 11:05), Sheldon Hearn wrote: > > > The test class at the bottom of this message can fire about 1,800 [1] > > threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My > > box is a PIII with 1G of RAM. What is your sleep time settings? I can get to leafy@chihiro:~/tmp$ java TestThreads 50000 10 TestThreads: successfully fired 50000 threads TestThreads: waited 10 milliseconds for all threads to complete But my box is a P4-1.8G with 256MB RAM, lengthing the sleeptime to 10,000 ms also works, but drags my box down to nearly a halt. -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming