[Dovecot] Dovecot waking every 50ms when doing nothing
Ross Burton
ross at burtonini.com
Sun Jun 3 21:13:21 EEST 2007
On Sun, 2007-06-03 at 11:54 -0500, Richard Laager wrote:
> On Sun, 2007-06-03 at 18:48 +0300, Timo Sirainen wrote:
> > I've used GLib before. The biggest problem I see with it is that it
> > doesn't support memory pools. That's why I duplicated most of its useful
> > functionality originally instead of just using it directly. So I think
> > it's much better to fix Dovecot's main loop code to work better instead
> > of adding a dependency to GLib and using only a tiny part of it.
>
> Are they against adding memory pools?
By pool do you mean memory regions which can be split into children, and
freeing the parent region also frees the children? That isn't in Glib.
It does have a slice allocator for rapid allocation of blocks though.
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
More information about the dovecot
mailing list