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

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



And the process I did with nptl 0.10

==============
Software in my box
==============
. kernel 2.5.49
. binutils-2.13.90.0.10-2
. gcc-3.2-10
. glibc-cvs
. glibc-linuxthreads-cvs
. nptl-0.10

========
Installation
========
. Install Redhat 8.0
. Rebuild the latest linux kernel and boot with it
. Update binutils and gcc to the required version
. Checkout the glibc-cvs and make a tarball "glibc-cvs.tar.gz"
. Under /path/to (whatever name you like), uncompress the tarballs and 
  build nptl along with glibc
   # tar xzvf /from/glibc-cvs.tar.gz
   # tar xjvf /from/nptl-0.10.tar.bz2 -C libc
   # mkdir -p libc/build
   # cd libc/build
   # ../configure --prefix=/usr --enable-add-ons=nptl --with-tls
   # make
   # ln -s /path/to/libc/build /path/to/glibc

=======
Run test
=======
# cd /whatever/pingpong
# GLIBCDIR=/path/to/glibc; \
gcc -O2 -o pp32 pingpong.c $GLIBCDIR/nptl/libpthread.so.0
$GLIBCDIR/libc.so.6 \
-Wl,-rpath,$GLIBCDIR:$GLIBCDIR/nptl:$GLIBCDIR/elf,\
-dynamic-linker,$GLIBCDIR/elf/ld-linux.so.2
# time ./pp32 -n 4000 -i 100 -S 32768


Bingwei Liu
My words stand for personal point of view


>-----Original Message-----
>From: Saurabh Desai [mailto:sdesai austin ibm com]
>Sent: 2002?12?7? 8:07
>To: phil-list redhat com
>Cc: Liu, Bing Wei
>Subject: Re: NPTL <=> NGPT performance test results with 
>pingpong benchmark
>
>
When I ran this program on a 4-way SMP system (4xPIII 700MHZ w/1GB) on 
top of 2.5.49 kernel, using NPTL 0.10 (latest glibc), the results are
real strange.

pp32 -n 128 -i 100 takes more than 40 sec
pp32 -n 128 -i 10 also takes 35sec
pp32 -n 4000 -i 100 -S 32768 didn't complete (hangs or takes long time)

As the iteration (-i) goes down, it behaves badly.
Am I missing something?


- Saurabh





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