FreeBSD vs Windows 2000 "Advanced" Server
=?Big5?B?IkJyYW5rbyBGLiBHcmFjKG5hciI=?=
bfg at noviforum.si
Thu Aug 28 03:06:00 PDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
leafy wrote:
| 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.
|
$ 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-----
More information about the freebsd-java
mailing list