Giuseppe,

> I was wondering whether it would be possible to add in amavisd-agent
> more statistical output about performances. E.g. the number of messages
> per seconds achievable in a certain period of time,

You alerady have it: InMsgs gives a number of messages received
by amavisd, and its hourly mail rate. To measure a peak througput
with a given number of child processes, pause a MTA queue for
a while so that some mail accumulates in the queue, then restart
amavisd, flush the queue, and by the time a queue dries out
see what the InMsgs mail rate is.

> or the average size of a message, etc.;

You already have it:

InMsgsSize                            2151MB  130MB/h 100.0 % (InMsgsSize)
InMsgsSizeInbound                     1370MB   83MB/h  63.7 % (InMsgsSize)
InMsgsSizeInternal                     303MB   18MB/h  14.1 % (InMsgsSize)
InMsgsSizeOutbound                     568MB   34MB/h  26.4 % (InMsgsSize)

> I see for instance the opposite, e.g. TimeElapsedTotal, which sound the
> number of total time taken to process all the incoming messages
> since the start of the amavisd daemon.

Right.

> I also obtain strange values for this parameter. E.g. I get a value of
> 7-8 s/msg, mostly taken in TimeElapsedSpamCheck
> (which means around 0.1 msgs/s).

This arithmetic would only be valid if you only used one amavisd
child process. As usually there are dozens, especially on a
multiprocessor host, parallelism must be taken into account,
so mail rate would be about TimeElapsedTotal / $max_servers
during times when all child processes are busy.

> This sound an unbearable low value, as I achieve it in
> more or less a Dual-Quad Core Xeon 64bit with 12GB of memory,
> as well as a single core virtualized Athlon32 with 
> 384MB of memory. Are those reported values reliable?

The figures are reliable. But keep in mind what is being measured.

  Mark

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to