Speeding up Spam Assassin

Peter L. Peres plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Fri Aug 6 02:54:55 UTC 2004


On Wed, 4 Aug 2004, Robert Brockway wrote:

> On Wed, 4 Aug 2004, Adil Kodian wrote:
>
>> If youve got a good amount of RAM on your machine (and it has a UPS
>> and is stable), create a tmpfs partition, and mount it as
>> /var/spool/postfix
>
> As a long time mail admin the idea of leaving the queue in ram caused me
> to develop a twitch just thinking about it :)
>
>> thus all spamassassin reading and writing will be done from memory.

It should be more beneficial to put the spamassasin binary and especially 
its tables in ram. The email is relatively small wrt. the tables and the 
major bottleneck is probably the table lookup (I presume it uses some sort 
of hash or advanced bits-and-mask to look inside the messages).

Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list