[collectd] eMail/Spamassasin plugins create 20% Wait-IO

Florian Forster octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Fri Mar 30 21:41:59 CEST 2007


Hi Stefan,

On Mon, Mar 26, 2007 at 01:02:58PM +0200, bd.trailing-username(a)leading-domain.bc-bd.org wrote:
> after deactivating these plugins io dropped from 20% to almoust 0%.

I'm not very familiar with the email-plugin myself, but I don't see why
it generates so much Wait-IO from the code.. How many RRD-files do you
update with and without the plugin enabled?

I've found that updating a relatively small number of RRD-files (~160)
will increase the wait-IO of a reasonable fast machine (4x 3GHz) to
about 1%. I suspect the locking of RRDTool to be the cause of this. That
can be solved by caching the values and writing them to disk in a batch,
which is implemented in the upcoming version 4.

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070330/2ee852dc/attachment.pgp


More information about the collectd mailing list