Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: major
Applies To: Engine
Component: CGISetup.pm
Branches:
Using Perl v5.10.x, configure will always display the following warning:
This version of Perl is likely to exhibit extremely slow performance for certain critical operations.
Please consider recompiling Perl. For more information, see
http://twiki.org/cgi-bin/view/Codev/PerlOnRedHatIsSlow
https://bugzilla.redhat.com/show_bug.cgi?id=196836 and/or
http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/
http://lists.scsys.co.uk/pipermail/dbix-class/2007-October/005119.html.
This is due to a rather obfuscated part of code in
Foswiki/Configure/Checkers/CGISetup.pm
, lines 112-116:
sub _possibly_has_bad_overload_performance {
return $] < 5.008009 && !_has_bug_34925();
}
if ( !_possibly_has_bad_overload_performance() ) { (warning as mentioned above) }
The second negation in the last line is apparently wrong--not only is it confusing to issue a warning if the installation in question is
not possibly exhibiting bad performance, but this test will fail for Perl >5.008009 (i.e., all current distros--that's why I set this to priority "normal" instead of "low").
(According to Olivier,
_has_bug_34925
should also rather be called
_hasnt_bug_34925
)
Update: Kenneth suggested to remove the entire check and add a note in the documentation as (a) RedHat issued an update in the meantime and (b) his tests before/after that patch didn't show any differences for a Foswiki installation using the default plugins. Therefore, we shouldn't spend that much time to fix the warning as it shouldn't occur in the first place nowadays...
removed - I have to trust that you guys know whats best for RH users - I don't use RH often enough.