FreeBSD vs Windows 2000 "Advanced" Server
leafy
leafy at leafy.idv.tw
Thu Aug 28 02:48:39 PDT 2003
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 at 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
More information about the freebsd-java
mailing list