Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Zoran Vasiljevic
Am 13.01.2007 um 10:45 schrieb Gustaf Neumann: Fault was, that i did not read the README (i read the frist one) and compiled (a) without -DTCL_THREADS . In that case, fault was that on FreeBSD you need to explictly put "-pthread" when linking the test program, regardless of the fact that libt

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Mike
On 1/13/07, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote: Am 13.01.2007 um 06:17 schrieb Mike: > I'm happy to offer ssh access to a test > box where you can reproduce these results. Oh, that is very fine! Can you give me the access data? You can post me the login-details in a separate private m

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Zoran Vasiljevic
Am 13.01.2007 um 10:45 schrieb Gustaf Neumann: PPS: strangly, the only think making me supicious is the huge amount of improvement, especially on Mac OS X. Look... Running the test program unmodified (on Mac Pro box): Test Tcl allocator with 4 threads, 16000 records ... This allocator achiev

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Zoran Vasiljevic
Am 13.01.2007 um 10:45 schrieb Gustaf Neumann: correcting these configuration isses, the program works VERY well i tried on 32bit and 64bit machines (a minor complaint in the memtest program, casting 32bit int to ClientData and vice versa) Where exactly so I can fix that? -gustaf PS:

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Gustaf Neumann
I downloaded the code in the previous mail. After some minor path adjustments, I was able to get the test program to compile and link under FreeBSD 6.1 running on a dual-processor PIII system, linked against a threaded tcl 8.5a. I could get this program to consistently do one of two things: -

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Zoran Vasiljevic
Am 13.01.2007 um 06:17 schrieb Mike: Running this program under the latest version of valgrind (using memcheck or helgrind tools) reveals numerous errors from valgrind, which I suspect (although I did not confirm) are the reason for the core dumps and infinite hangs when it is run on its own.

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Zoran Vasiljevic
Am 13.01.2007 um 06:17 schrieb Mike: I'm happy to offer ssh access to a test box where you can reproduce these results. Oh, that is very fine! Can you give me the access data? You can post me the login-details in a separate private mail. Thanks, Zoran

Re: [naviserver-devel] Quest for malloc

2007-01-13 Thread Zoran Vasiljevic
Am 13.01.2007 um 06:17 schrieb Mike: I downloaded the code in the previous mail. After some minor path adjustments, I was able to get the test program to compile and link under FreeBSD 6.1 running on a dual-processor PIII system, linked against a threaded tcl 8.5a. I could get this program to