[Linux-ha-dev] make --enable-libc-alloc the default?

Alan Robertson alanr at unix.sh
Tue Feb 20 16:26:35 MST 2007


Lars Marowsky-Bree wrote:
> Andrew's measured 10% performance increase suggests that we should make
> this the default, IMHO, at least on Linux: apparently, our glibc
> allocators are better than heartbeats.
> 
> I've been running tests with it and not found any issues.
> 
> I'll probably make this the default on SLES, but think it'd make sense
> for upstream as well.

Heartbeat on the average on a real running system should take < 1% or
less of system resources.  Dropping that to .9% really doesn't excite me
at all.  And, my guess is that it makes the most difference for the CRM
-- which does LOTS more mallocs than anything else (as it must), and
usually does nothing most of the time on a real running system.  So, my
guess is that it drops it more like 5% or so rather than 10%.

Andrew has been having some trouble with use-after-frees recently.  Our
code catches that -- if it's enabled ;-).  If it's disabled, it doesn't
help anything.


-- 
    Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce


More information about the Linux-HA-Dev mailing list