[CentOS] slow Perl on CentOS 5

Thu Aug 28 21:28:55 UTC 2008
Mark Pryor <tlviewer at yahoo.com>

hello All,


--- On Mon, 8/25/08, Florin Andrei <florin at andrei.myip.org> wrote:

> From: Florin Andrei <florin at andrei.myip.org>
> Subject: [CentOS] slow Perl on CentOS 5
> To: "CentOS mailing list" <centos at centos.org>
> Date: Monday, August 25, 2008, 1:30 PM
> If your Perl apps are unusually slow on CentOS 5, have a
> look at this blog:
> 
> http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/
> 
> In a nutshell: some Perl apps are 100x slower on RedHat /
> CentOS 5 
> compared to other distributions.
> 
> Bugzilla entry:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=379791
> 

ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS/perl-5.8.8-40.fc8.src.rpm

Using the above SRPM, I've updated perl on 2 LAMP boxes, i386 and multi-lib x86_64.

The bless/overload bug is absent and perl is improved overall, especially any CPAN test code that uses the Test-Harness. I'm seeing approx. 25% speed increase in all the test suites.

In case anyone else is looking for a quick solution to the bug in 5.8.8-10, I believe this is a good approach.

The only gotcha is that the Fedora perl suite uses a separate perl-CPAN, while the RH suite includes it in core perl.

-- 
Mark