![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^4: Our perl/xs/c app is 30% slower with 64bit 5.24.0, than with 32bit 5.8.9. Why?by Anonymous Monk |
on Dec 23, 2016 at 16:05 UTC ( [id://1178436]=note: print w/replies, xml ) | Need Help?? |
Beyond those guesses, I'd need to see the profiler output.
Ok, I've found the issue. As with these things, a very unexpected source.. pthread_mutex_lock We use pthreads as our threading library and for some reason, the version of pthreads that comes with strawberry is massively slower than what we are currently using. Remove all the lock/unlocks, and the 64bit 5.24.0 is faster than 32bit 5.8.9. Now to figure out why this version of the library is so slow...
In Section
Seekers of Perl Wisdom
|
|