Hi Zoran,

Am Donnerstag, 2. Februar 2006 10:01 schrieb Zoran Vasiljevic:
> Am 01.02.2006 um 17:15 schrieb Vlad Seryakov:
> > On my machine with tcl 8.4.12
> >
> > starting 10 malloc threads...waiting....done:  0 seconds, 16003 usec
> > starting 10 ns_malloc threads...waiting....done:  0 seconds, 13207
> > usec
>
> I've been trying to see why I'm getting worse values with ns_malloc
> as with malloc and it turned out to be that only in 2+CPU box I was
> able to get ns_malloc outperform the malloc. On all single-cpu boxes
> the times were 2 up to 4 times better with plain malloc!

Single-CPU-box, Tcl 8.4.12; SuSE w/ Kernel 2.6.13-15.7-default.

starting 10 malloc threads...waiting....done:  0 seconds, 36667 usec
starting 10 ns_malloc threads...waiting....done:  0 seconds, 16620 usec

> Does anybody have a single AND multi-cpu box to try out?

Hyperthreading, but the Kernel sees 2 CPUs:
(Same compilation of NaviServer; Kernel 2.6.13-15.7-smp)

starting 10 malloc threads...waiting....done:  0 seconds, 13018 usec
starting 10 ns_malloc threads...waiting....done:  0 seconds, 10599 usec

Bernd.

Reply via email to