by ysleepy · 5y ago · 0 comments
x32-glibc is about 10% faster than amd64-glibc, but surprisingly x32-musl is 40% slower than the glibc time.
Author mentions that it might just be stdout buffering, implicitly done by glibc but not by musl hinted at by 54min of kernel time vs 7min with glibc.
I'm actually more interested in memory usage.
CERN found that X32 saves between 10% to 20% memory, they found similar gains in execution speed due to better cache utilization
- https://twiki.cern.ch/twiki/pub/ITSDC/ProfAndOptExperimentsA...
- https://www.researchgate.net/publication/270980212_Evaluatio...
(Meaning time() and gettimeofday() turn into kernel syscalls instead of a simple memory access.)
Lots of nuance here that can have far-reaching consequences.