Try malloctest, tclalloctest is not real test, it just calls
TclThreadAllocObj to see how fast is local linked list, really does not test
Zoran Vasiljevic wrote:
On 22.12.2006, at 15:39, Vlad Seryakov wrote:
Try to uncomment -DUSE_MALLOC in Makefile, looks like Solaris/OSX
do not
like too many mmap-ed pages
Yep,
iMac with 1.83GHz Intel
iMac1:~/vmalloc zoran$ ./vmalloctest
vmalloc: threads 4, loops 50000, buffer 16384: 0 seconds, 380372 usec
iMac1:~/vmalloc zoran$ ./ckalloctest
ckalloc: threads 4, loops 50000, buffer 16384: 0 seconds, 378784 usec
iMac1:~/vmalloc zoran$ ./tclalloctest
tclalloc: threads 4, loops 50000, buffer 16384: 0 seconds, 23686 usec
Solaris x86 box (pretty fast one):
-bash-3.00$ ./vmalloctest
vmalloc: threads 4, loops 50000, buffer 16384: 0 seconds, 86934 usec
-bash-3.00$ ./ckalloctest
ckalloc: threads 4, loops 50000, buffer 16384: 0 seconds, 81644 usec
-bash-3.00$ ./tclalloctest
tclalloc: threads 4, loops 50000, buffer 16384: 0 seconds, 37836 usec
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/