I get :
>java -native pewi.lang.PoolTest 50
pool: 13 [ms]
regular: 39 [ms]
gain: 0.52 [ms]
>java pewi.lang.PoolTest 50
pool: 8 [ms]
regular: 16 [ms]
gain: 0.16 [ms]
So Solaris doesn't do much better than linux
(Solaris 2.5.1 245MB, dual 168 MHz ultra 2)
On Mon, 31 Aug 1998, Per Widerlund
>
> I just tried my test program using the native threads implementation
> on Linux available from OpenGroup. The result is indeed in favor of
> pooling - the gain is now around 0.6 ms. Still, this is not enough to
> convince me. (The results on Windows machines are of no interest to me
> sinc
chine (PII266/64) running jdk1.1.6-v2 (sbb),
> >I got a 0.15 ms/thread reduction in thread start-up overhead.
> >(The test was iterated 6 times.)
>
> I have been doing thread pooling for about as long as I have
> been doing Java. The main reason I started (and wrote my own
&
t;I got a 0.15 ms/thread reduction in thread start-up overhead.
>(The test was iterated 6 times.)
I have been doing thread pooling for about as long as I have
been doing Java. The main reason I started (and wrote my own
"thread" class that does the pooling automatically) is so tha
Hello all!
After reading and hearing about the performance that can
be gained by using thread pools, I made a simple thread
pool implementation.
On my Linux machine (PII266/64) running jdk1.1.6-v2 (sbb),
I got a 0.15 ms/thread reduction in thread start-up overhead.
(The test was iterated 6 t