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
Michael Sinz wrote:
>
> On Mon, 31 Aug 1998 14:14:21 +, Per Widerlund wrote:
> >
> >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
On Mon, 31 Aug 1998 14:14:21 +, Per Widerlund wrote:
>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 red