From: Vlad S. <vl...@cr...> - 2006-02-02 14:48:59
|
I modified memtest to exclude thread related timings. It is at the http://www.crystalballinc.com/vlad/tmp/memtest.c when i call it with memtest 100000 and +, mallocs gettting faster than Tcl alloc on my single CPU box Zoran Vasiljevic wrote: > > Am 02.02.2006 um 13:59 schrieb Andrew Piskorski: > >> >> Zoran, the boxes where you're tests show unexpectedly slow ns_malloc >> were all Mac PowerPC boxes running OS-X, is that right? If so, then >> the common thread here is OS-X, no? OS-X is known to be significantly >> less efficient than Linux in some areas, this is probably one of them? >> > > Oh no... > > I had tested Linux and Solaris boxes as well. > I have 2 Solaris boxes: one with 1 cpu and one with 2 cpu's. > The same goes for Mac OSX. > Unfortunaltey, I have only 1cpu linux boxes to test... > > What I saw is: 1cpu malloc better than ckalloc > 2cpu ckalloc better than malloc > > regardless which OS. > > Cheers > Zoran > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |