> -----Original Message-----
> From: Julian Yap [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 25, 2007 2:58 AM
> To: users@spamassassin.apache.org
> Cc: [EMAIL PROTECTED]
> Subject: Spamassassin scanning slower on Linux compared to FreeBSD
> 
> 
> I have common hardware being Dual AMD64 CPU's with 4GB of 
> RAM. Running Spamassassin 3.0.4 with exactly the same rules 
> and setup. Running between 7 and 15 child processes.
> 
> I'm finding that using FreeBSD 6.2 (64-bit kernel) is having 
> much faster scan times then any GNU/Linux system I've run.
> 
> Here is what I'm typically seeing
> FreeBSD: 0.4-2 seconds an email
> GNU/Linux: 2.5-10 seconds an email.  Occasional emails with 
> ~20 second scans.

There should not be that much difference.

I like FreeBsd. (I currently maintain the SA port on
www.freebsd.org/ports ), so this isn't a bash on FreeBsd, I use
amavisd-new for SA, and the creator of that project uses Freebsd, so
lets not get into a religious flame war over it.


My assumptions are that Linux should be better/faster at disk access
(which includes spooling email, mime defang, virus scan, and sql access)

My other assumptions are that FBSD network drivers are faster, but in a
heavy email environment, SA (and your MTA) is mostly disk bound.

That said, are you sure you have 64bit linux? HTT or second processor
enables?  In SQL, my.cnf enabled?

For the mail spool partitions, are they something equivalent to the FBSD
Softupdates?

What about dns,  20 second scans usually mean DNS issues.

Are you using pyzor,razor or dcc?

Can you run both in debugging mode to record timing for all the SA
parts, find out which one is the problem?

And if you can't, Thanks.  This justifies our decision to use Freebsd
;-)  All you linites come over and give us a try.


> 
> I've tested disabling Bayes (to rule that out) on the 
> GNU/Linux system but I can't get the same timings as with the 
> FreeBSD systems.  Tested on CentOS 4.4 and on Fedora 6 
> GNU/Linux systems.
> 
> Even the older FreeBSD systems running 5.x (and worse 
> hardware) beat the pants off the GNU/Linux systems.
> 
Is FBSD 6.0 faster than 5.x?  Does 64 bit help?

-- 
Michael Scheidell, CTO
SECNAP Network Security Corporation
http://www.secnap.com
___________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(tm).
For Information please see http://www.spammertrap.com
___________________________________________________________________________

Reply via email to