Re: Spamassassin runs slow with perl from source
On Fri, Nov 19, 2004 at 11:30:41AM -0800, Bryan Koschmann - GKT wrote: > > Both were perl 5.8.4. I cannot seem to track down what is causing this. > All the perl modules are the same as well. Is there some specific option > that perl needs to be compiled with to make this run properly? > Possibly due to difference in your network setup. Try re-running your tests with -L (local tests only) and see how it goes. Michael pgpZGlxbzfzVy.pgp Description: PGP signature
Re: Spamassassin runs slow with perl from source
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 check the settings for MULTIPLICITY, use of a perl shared lib, and the various threading options. turning those on will slow things down quite a lot. - --j. Bryan Koschmann - GKT writes: > Hello, > > I'm running a Slack 10 system with mostly self-compiled software. Using > SA version 3.0.1. Athlon 2600 w/ 512meg + 120gb SATA harddrive. > > Here is my problem. I downloaded and compiled a new version of perl. > running spamassassin against the sample-spam.txt and sample-nospam.txt > files yields scan times that are far more than they should: > > $ time spamassassin -t < sample-spam.txt > /dev/null > > real0m1.056s > > Now, I had this exact problem on another machine, identical setup. I > simply removed the new perl, installed the package from slackware, and it > runs much faster: > > $ time spamassassin -t < sample-spam.txt > /dev/null > > real0m0.518s > > spamc has the same problem: > > Packaged perl: > > time spamc < sample-spam.txt > /dev/null > > real0m0.046s > > perl from source: > > $ time spamc < sample-spam.txt > /dev/null > > real0m1.190s > > Both were perl 5.8.4. I cannot seem to track down what is causing this. > All the perl modules are the same as well. Is there some specific option > that perl needs to be compiled with to make this run properly? > > Thanks in advance, > > Bryan -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBnkn6MJF5cimLx9ARAuXCAKCvn/ej5IOL4gn+nEN3obWmRhFVTQCbBVYJ 7dQoNbHKHBZ6lg/T8MSYX+A= =Pck0 -END PGP SIGNATURE-
Spamassassin runs slow with perl from source
Hello, I'm running a Slack 10 system with mostly self-compiled software. Using SA version 3.0.1. Athlon 2600 w/ 512meg + 120gb SATA harddrive. Here is my problem. I downloaded and compiled a new version of perl. running spamassassin against the sample-spam.txt and sample-nospam.txt files yields scan times that are far more than they should: $ time spamassassin -t < sample-spam.txt > /dev/null real0m1.056s Now, I had this exact problem on another machine, identical setup. I simply removed the new perl, installed the package from slackware, and it runs much faster: $ time spamassassin -t < sample-spam.txt > /dev/null real0m0.518s spamc has the same problem: Packaged perl: time spamc < sample-spam.txt > /dev/null real0m0.046s perl from source: $ time spamc < sample-spam.txt > /dev/null real0m1.190s Both were perl 5.8.4. I cannot seem to track down what is causing this. All the perl modules are the same as well. Is there some specific option that perl needs to be compiled with to make this run properly? Thanks in advance, Bryan