[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NPTL <=> NGPT performance test results with pingpong benchmark



On Wed, 4 Dec 2002, Liu, Bing Wei wrote:

> Has anyone tried some performance tests to compare certain aspect of
> nptl and ngpt? I found a program named pingpong in a white paper at
> http://wwws.sun.com/software/whitepapers/solaris9/multithread.pdf, which
> was devised to evaluate the efficiency of lock/unlock operation and
> context switch.
> 
> With a SMP machine (2xPIII 933MHz w/ 512MB), on top of kernel 2.5.49, 
> I run a round of tests with both ngpt 2.0.4 and nptl 0.10.

i've organized your results into a bit more compact form:

                                NGPT 2.0.4     NPTL 0.10    ( speedup )
-----------------------------------------------------------------------
 pp32                             15.2 sec       4.5 sec    (   230%  )
 pp32 -s system                   16.3 sec       4.5 sec    (   260%  )
 pp32 -n 4                        54.0 sec      30.8 sec    (    70%  )
 pp32 -n 4 -p shared             174.1 sec      27.3 sec    (   530%  )
 pp32 -n 4000 -i 100 -S 32768    211.4 sec      10.1 sec    (  1990%  )
-----------------------------------------------------------------------

what you measured is in line with our preliminary tests, where we found a
4x speedup over NGPT. (and an 8x speedup over LinuxThreads.)

	Ingo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]