Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2003 11:58:00 +0200
From:      =?Big5?B?IkJyYW5rbyBGLiBHcmFjKG5hciI=?= <bfg@noviforum.si>
To:        freebsd-java@freebsd.org
Subject:   Re: FreeBSD vs Windows 2000 "Advanced" Server
Message-ID:  <3F4DD228.20202@noviforum.si>
In-Reply-To: <20030828094833.GA82970@chihiro.leafy.idv.tw>
References:  <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

leafy wrote:

| 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.
|

$ time java TestThreads 50000 0
TestThreads: successfully fired 50000 threads
TestThreads: waited 0 milliseconds for all threads to complete

real    0m20.173s
user    0m16.739s
sys     0m1.909s

... which 2478,56 threads/second.

$ time java TestThreads 50000 10
TestThreads: successfully fired 50000 threads
TestThreads: waited 10 milliseconds for all threads to complete

real    0m22.295s
user    0m18.258s
sys     0m2.816s

2242,65 threads/second
This is a celeron 1700, 256 mb of ram, 5.1-p2. System is normaly
respondable during java execution. I have 1.4.1 native jdk.

Brane
-----BEGIN PGP SIGNATURE-----

iD8DBQE/TdIofiC/E+t8hPcRAi4YAJ9EwoX0n8JlFD3obCw/UeyQ750xzQCfVwNj
X6Q7hfOhpeUzD0Wg4sdzueU=
=sVOy
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4DD228.20202>