spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xTrade Assessory <xtr...@matik.com.br>
Subject Re: New versions of Perl are slower
Date Wed, 11 Apr 2012 06:09:20 GMT
Julian Yap wrote:
> I'm running SpamAssassin 3.3.2 port revision 6 (latest from FreeBSD
> ports) on FreeBSD 8.2-RELEASE 64-bit.
> 
> I recently upgraded my Perl from 5.10 to 5.14 but I needed to
> downgrade because SpamAssassin was crashing on a daily basis.  See
> bug:
> https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6745
> 
> I have since downgraded my servers to Perl 5.10 and Perl 5.12.


Hi

did you upgrade all perl related ports as well after perl upgrade?

I never saw this issue


> 
> I have noticed that Perl 5.12 runs noticeably slower compared to 5.10.
>  I think 5.14 was slow as well.
> 
> Average scan times are higher and there are often more 'longer
> running' scans.  This results in more output on servers running Perl
> 5.12:
> tail -f /var/log/maillog | grep 'identified spam .*[2-9][0-9].[0-9] seconds'
> 
> Have others experienced the same thing?
> 


this might be relative and depends on which tests you effectively run,
don't you agree?

specially network depending tests like dcc and others can influence this
times a lot

to say something exact, you probably need two different perl versions on
at least two identical machines with the same setup on the same network
running the same tests at the same time, getting the same messages
synchronously, and still, one may get faster response from a remote
resource than the other, kind of funny test for a perl comparison

Even doing so, I don't now if such a test or any mathematically average
scan time can say something at all about perl performance

IMO, if you really have scan times over 20 seconds (as you query your
log for) you may have other problems, not perl related problems

but as always, only my opinion

Hans



-- 
XTrade Assessory
International Facilitator
BR - US - CA - DE - GB - RU - UK
+55 (11) 4249.2222
http://xtrade.matik.com.br

Mime
View raw message