• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6496: TWiki 5 configuration page wrongly complains "This version of Perl is likely to exhibit extremely slow performance for certain critical operations."

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor 5.1.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

On TWiki 5, the script
TWiki/lib/TWiki/Configure/Checkers/CGISetup.pm

warns wrongly about bad Perl performance on Fedora 13:

5.010001 (linux)

Note that by convention "Perl version 5.008" is referred to as "Perl version 5.8" and "Perl 5.008004" as "Perl 5.8.4" (i.e. ignore the leading zeros after the .)
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 may be because the code which checks this has its negations in a twist.

-- TWiki:Main/DavidTonhofer - 18 Jun 2010

OK, so Fedora 13 ships with Perl 5.10.1. Not sure why you get this error. The configure script checks for the bug if Perl version is smaller than 5.8.9:

        sub _possibly_has_bad_overload_performance {
            return $] < 5.008009 && ! _has_bug_34925();
        }

-- TWiki:Main.PeterThoeny - 18 Jun 2010

On your system, what output do you get from this shell command:

perl -e 'print "$]\n"'

-- TWiki:Main.PeterThoeny - 18 Jun 2010

Back on this bug after extreme delay (sorry about that)

This is still the case on Red Hat 6.1

$ perl -e 'print "$]\n"' 5.010001

-- TWiki:Main.DavidTonhofer - 2011-07-22

This is now fixed in SVN trunk by requiring Perl 5.8 (see Item6775) and removing the old & obsolete check for performance.

-- TWiki:Main.PeterThoeny - 2011-07-23

ItemTemplate
Summary TWiki 5 configuration page wrongly complains "This version of Perl is likely to exhibit extremely slow performance for certain critical operations."
ReportedBy TWiki:Main.DavidTonhofer
Codebase

SVN Range TWiki-5.0.0, Tue, 08 Jun 2010, build 18947
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:21811
TargetRelease minor
ReleasedIn 5.1.0
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2011-08-22 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback