FreeBSD vs Windows 2000 "Advanced" Server

"Branko F. Grac(nar" bfg at noviforum.si
Thu Aug 28 04:06:07 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

|
| These are not meaningful numbers.  The program wasn't designed to test
| thread instantiation performance, and is pretty much guaranteed to do a
| shit job of it. :-)
|
| You need enough sleep time to ensure that all the threads are active at
| once.

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

real    2m41.536s
user    2m8.008s
sys     0m5.261s


last pid: 14356;  load averages:  0.86,  0.28,  0.13
~                                                              up
0+22:54:54  13:01:33
9 processes:   2 running, 7 sleeping
CPU states: 86.8% user,  0.0% nice, 12.5% system,  0.8% interrupt,  0.0%
idle
Mem: 161M Active, 19M Inact, 56M Wired, 8712K Cache, 35M Buf, 656K Free
Swap: 512M Total, 123M Used, 389M Free, 24% Inuse, 328K In, 1764K Out

PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
14353 branko   126    0  1005M   112M RUN      0:22 82.81% 61.38% java


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

iD8DBQE/TeB+fiC/E+t8hPcRAoZhAJ467CAFW4idtqZP5UWiTboKxCka9ACeNPBF
ZKQlHgT3iD1IumU4vOIpA8E=
=CUvH
-----END PGP SIGNATURE-----



More information about the freebsd-java mailing list