Hi,
Marcelo's dynamic module loading code for heartbeat is now in CVS.
Before I put it in, I couldn't lock all the heartbeat processes into memory
on my machine. (Linux didn't complain, it just didn't do it, as witnessed
by some of the processes not having an 'L' in ps).
Now, even though I have 3 heartbeat media defined on this cluster, it all
locks into memory just fine. (my machine has 128M of RAM)
This is great. Thanks Marcelo!
However, since heartbeat is dynamically linked and does an mlockall() call,
this locks *all* of libc into memory. I understand that to be a lot of
memory.
One option would be to statically link heartbeat, so that it didn't try and
lock all of libc into memory. This would decrease the amount of stuff
nailed into memory (perhaps significantly), since only the parts of libc
used by heartbeat would then be locked into memory.
On the other hand, other applications wouldn't benefit from this like they
would from nailing (shared) libc into memory.
Does anyone have any words of wisdom for this situation?
Thanks!
-- Alan Robertson
alanr@suse.com
Marcelo's dynamic module loading code for heartbeat is now in CVS.
Before I put it in, I couldn't lock all the heartbeat processes into memory
on my machine. (Linux didn't complain, it just didn't do it, as witnessed
by some of the processes not having an 'L' in ps).
Now, even though I have 3 heartbeat media defined on this cluster, it all
locks into memory just fine. (my machine has 128M of RAM)
This is great. Thanks Marcelo!
However, since heartbeat is dynamically linked and does an mlockall() call,
this locks *all* of libc into memory. I understand that to be a lot of
memory.
One option would be to statically link heartbeat, so that it didn't try and
lock all of libc into memory. This would decrease the amount of stuff
nailed into memory (perhaps significantly), since only the parts of libc
used by heartbeat would then be locked into memory.
On the other hand, other applications wouldn't benefit from this like they
would from nailing (shared) libc into memory.
Does anyone have any words of wisdom for this situation?
Thanks!
-- Alan Robertson
alanr@suse.com