> At 04:56 PM 9/5/2003 +0200, Jochen Tuchbreiter wrote: >>Is there a chance that I may significantly increase performance by >>omitting some rules that contain costly regexps? Is there an easy way to >>find out how much time spamassassin spends on each regexp? Do you think >>that changing spamd/spamc so that it can use a local socket instead of >>TCP/IP based communication will help? > > > I can tell you right off the bat that the 2.60 code base has support for > unix domain sockets for this very reason. 2.60 isn't final yet, but this > feature is in the works.
I'm testing the unix domain socket support of spamc and spamd on 2.60-rc3 on a test machine and it seems to work fine, although its a shame there isn't facility for a compiled in default socket location so that every spamc invocation script doesn't need updating.... (doesn't bother me too much since I use a global /etc/procmailrc but I can see it would be annoying to those who let their users control their own .procmailrc files, and who wanted to change spamd over to using unix sockets, its an all or nothing proposition where their users would all have to update their .procmailrc's at the same time, and know what the path should be....) Anyway my real reason for this message is to ask if anyone has done any benchmarking between tcp/ip and unix domain sockets and what aspect of scanning it might improve ? Presumably what it would do is reduce the initial communication setup latency between spamc and spamd, and also allow large messages to be transfered through to spamd and back again faster, but the actual scanning of the message would be the same as before. As this is likely to be the bulk of the scanning time I wonder whether there will be a worthwhile difference or not. Regards, Simon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk