Date: Thu, 28 Aug 2003 17:48:33 +0800 From: leafy <leafy@leafy.idv.tw> To: freebsd-java@FreeBSD.org Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server Message-ID: <20030828094833.GA82970@chihiro.leafy.idv.tw> In-Reply-To: <20030828090852.GC83970@starjuice.net> References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030828094833.GA82970>