Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2003 12:59:10 +0200
From:      =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= <bfg@noviforum.si>
To:        freebsd-java@freebsd.org
Subject:   Re: FreeBSD vs Windows 2000 "Advanced" Server
Message-ID:  <3F4DE07E.6020306@noviforum.si>
In-Reply-To: <20030828101714.GF83970@starjuice.net>
References:  <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> <3F4DD228.20202@noviforum.si> <20030828101714.GF83970@starjuice.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



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