On 3/25/07, Michael Scheidell <[EMAIL PROTECTED]> wrote:
> -----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.
Yeah, that's what I thought.
That said, are you sure you have 64bit linux? HTT or second processor
enables? In SQL, my.cnf enabled?
That's right, running 64-bit kernel and userland. All CPUs enabled so
4 logical CPUs (2 physical).
For the mail spool partitions, are they something equivalent to the FBSD
Softupdates?
Not sure what this is but I've mounted the disk partitions with the
'noatime' option. No noticeable difference.
What about dns, 20 second scans usually mean DNS issues.
Yes, local DNS caching is set up.
Are you using pyzor,razor or dcc?
Razor and DCC. I should try disabling both of these.
Can you run both in debugging mode to record timing for all the SA
parts, find out which one is the problem?
I've tried doing some tests in debugging mode. How do you record
timings for the SA parts in debugging mode?
Is FBSD 6.0 faster than 5.x? Does 64 bit help?
From observing, FreeBSD 5.x i386 is on par with FreeBSD 6.x i386.
64-bit really helps.
Thanks,
Julian