[Spread-users] mod_log_spread: Multiple daemons versus single daemon

Joshua Goodall joshua at roughtrade.net
Fri Sep 14 06:22:33 EDT 2001

On Thu, 13 Sep 2001, Christian Robottom Reis wrote:

> I've done this now, and immediately I've noticed how high spread hits the
> CPU on each of the servers. I'm not entirely sure if the load is up or
> down from before, since our IP balancing solution balances the loads out,
> but I am wondering if this is expected or now. Right now the daemon eats
> up 30% CPU of a 500MHz machine, which isn't too little IMHO.

Looking at the code, there is quite a deal of memory copying going on,
especially at the protocol layer.  Without attempting to read minds, I do
suspect that the authors have been focusing on stability and portability
in recent releases, which I applaud.  That said, I don't find Spread slow.

(I suggest using BSDish mbufs as a packet structure, and *if* I have time,
might write it.)


More information about the Spread-users mailing list