OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: postfix & amavis performance

From: Bojan Zdrnja (b.zdrnjaauckland.ac.nz)
Date: Tue Jul 01 2003 - 15:48:27 CDT


> -----Original Message-----
> From: owner-postfix-userspostfix.org
> [mailto:owner-postfix-userspostfix.org] On Behalf Of Sascha Lucas
> Sent: Wednesday, 2 July 2003 12:46 a.m.
> To: postfix-userscloud9.net
> Subject: postfix & amavis performance
>
>
> Hi list,
>
> some weeks ago I read in this list to bay fast SCSI-disks
> with lots of cache to improve postfix performance. Ok, but
> in combination with amavis and spam-check I/O-time is very
> small against SA-check.
>
> Test-Setup is P4 2.4GHz, ATA100 disk, AV & SA-ckeck in
> tmpfs (no razor etc.).
>
> Average delay is 1.3s. SA needs often 90% of this time.
>
> So if a day as 60*60*24 seconds my throughput is poor.
>
> Does anybody have this experience too?
> Should I better invest in SMP-systems as in SCSI-disks?

Which version of amavisd and which anti-virus are you using?

Put amavis logging on a higher level - you'll see exactly which part takes
most of the time.

I have postfix, amavisd-new and sophie running and it's very fast, usually
delay is less than 1 second.
It is a dual CPU system with SCSI disks, but as I can see it doesn't take a
lot of CPU time.

Cheers,

Bojan