On Tue, 25 Nov 2003 13:11:10 -0500, Roger Merchberger <[EMAIL PROTECTED]> writes:

> At 03:27 11/25/2003 -0600, Scott A Crosby wrote:

> >An automata based regexp engine is one that can compile a set of
> >regular expressionns down into an automata, then run the automata. The
> >advantage this has is that it can match any number of regexps with no
> >loss in performance. I previous prototype I had could match 200
> >regexps taken from SA about a thousand times faster than SA could
> >match them. Another scaling test with 5000 regexps was just as fast.
> 
> 3 orders of magnitude? I don't know who *wouldn't* have been
> interested in that before... I sure would have been...

The response was that at a half-second a message is enough. 

> ... except one caveat: What was the memory utilization like? That's
> *my* big problem with SA - I had to bump the RAM in my mailserver
> twice (256M ->

Its hard to say --- memory usage for the automata varies based on the
size and type of regexp. For regexp inputs that are primarily fixed
strings, its about 10 bytes/character. Generating it may require more
RAM, but that can be a one-time thing.

> 512M -> 1G) for SA alone, and it's still shakey to the point I cannot
> deploy it sitewide... :-/

Can you disable network tests? AFAIK, memory usage for SA is high
because it interleaves several emails while they block for DNS
queries.

> Not for me, anyway... I am actually looking for a full replacement
> right now for SA that might be deployable sitewide... my system is an
> Athlon 1800+ / 1G RAM / 2 9G SCSI HDs / 1 IDE HD (just backup
> shiznit)... and SA brings this down *regularly*, despite only using it
> on ~100 mailboxen... I'm not chancing 2500!

Thanks for the reference. What is the email volume?

Scott


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to