Can you explain a bit what the nsthreadtest is doing?

The tclbench suite that I wrote has an experimental mode (IOW, only I have ever run it) that does threaded testing. You will find it in the tcllib SF project's cvs area (tclbench module). I can also assist with doing the runs, just a little pinched for time right now.

Jeff

Nathan Folkman wrote:
Couldn't resist looking at this... :-)

Linux localhost.localdomain 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 i686 i386 GNU/Linux

AOLserver 4.5 + Tcl 8.4.14 (USE_THREAD_ALLOC=0)

% bin/nsthreadtest

starting 10 malloc threads...waiting....done:  0 seconds, 159637 usec
starting 10 ns_malloc threads...waiting....done:  0 seconds, 102511 usec


AOLserver 4.5 + Tcl 8.4.14 (USE_THREAD_ALLOC=1)

% bin/nsthreadtest

starting 10 malloc threads...waiting....done:  0 seconds, 104061 usec
starting 10 ns_malloc threads...waiting....done:  0 seconds, 109929 usec


AOLserver 4.5 + Tcl 8.4.14 (USE_THREAD_ALLOC=0) + Google Perf Tools (tcmalloc) 0.8.1

% env -i LD_PRELOAD=lib/libtcmalloc.so bin/nsthreadtest

starting 10 malloc threads...waiting....done:  0 seconds, 91301 usec
starting 10 ns_malloc threads...waiting....done:  0 seconds, 107320 usec

Clearly we need a better set of tests... Anyone got any ideas? Seems like the two things we'd want to compare are performance and overall memory usage.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to