Re: [CentOS] Re: slow Perl on CentOS 5

2008-09-18 Thread Tom Lanyon

On 27/08/2008, at 6:57 AM, Stephen John Smoogen wrote:

On Tue, Aug 26, 2008 at 3:11 PM, Scott Silva [EMAIL PROTECTED]  
wrote:

on 8-26-2008 2:08 PM Karanbir Singh spake the following:


Akemi Yagi wrote:


On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei [EMAIL PROTECTED] 


wrote:


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/


Summary: The Upstream Vendor version of Perl has a patch to the
bless[] function that makes it /extremely/ slow.


Reliable info heard on the grapevine indicates 5.3 would have the  
fix's

required.


So that means about 6 months away from a fix?



Unless upstream bundles a hotfix that is available for people...



Such a hotfix was released in the last couple of days. A big moment  
for RHEL/CentOS + Perl users. :)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: slow Perl on CentOS 5

2008-08-27 Thread Vnpenguin
On Wed, Aug 27, 2008 at 6:18 AM, Mark Pryor [EMAIL PROTECTED] wrote:

 Anyone want to try and get this built on C5.2?
 ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS/perl-5.8.8-40.fc8.src.rpm

 the above runs in about .4 sec, while on C5.2 it takes 8-12 seconds.


Can not wait for update, I have to build Perl 5.10.0 from src for my
work on CentOS 5.2. I installed this into /opt/perl for now, so there
is no impact on rpm Perl package.

Waiting for fixed rpm of Perl ...

-- 
http://vnoss.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: slow Perl on CentOS 5

2008-08-26 Thread Scott Silva

on 8-26-2008 2:08 PM Karanbir Singh spake the following:

Akemi Yagi wrote:
On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei 
[EMAIL PROTECTED] wrote:
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/

Summary: The Upstream Vendor version of Perl has a patch to the
bless[] function that makes it /extremely/ slow. 


Reliable info heard on the grapevine indicates 5.3 would have the fix's 
required.



So that means about 6 months away from a fix?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: slow Perl on CentOS 5

2008-08-26 Thread Stephen John Smoogen
On Tue, Aug 26, 2008 at 3:11 PM, Scott Silva [EMAIL PROTECTED] wrote:
 on 8-26-2008 2:08 PM Karanbir Singh spake the following:

 Akemi Yagi wrote:

 On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei [EMAIL PROTECTED]
 wrote:

 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/

 Summary: The Upstream Vendor version of Perl has a patch to the
 bless[] function that makes it /extremely/ slow.

 Reliable info heard on the grapevine indicates 5.3 would have the fix's
 required.

 So that means about 6 months away from a fix?


Unless upstream bundles a hotfix that is available for people...



-- 
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. The Merchant of Venice
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: slow Perl on CentOS 5

2008-08-26 Thread Mark Pryor
hello,


--- On Tue, 8/26/08, Stephen John Smoogen [EMAIL PROTECTED] wrote:

 From: Stephen John Smoogen [EMAIL PROTECTED]
 Subject: Re: [CentOS] Re: slow Perl on CentOS 5
 To: CentOS mailing list centos@centos.org
 Date: Tuesday, August 26, 2008, 2:27 PM
 On Tue, Aug 26, 2008 at 3:11 PM, Scott Silva
 [EMAIL PROTECTED] wrote:
  on 8-26-2008 2:08 PM Karanbir Singh spake the
 following:
 
  Akemi Yagi wrote:
 
  On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei
 [EMAIL PROTECTED]
  wrote:
 
  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/
 
  Summary: The Upstream Vendor version of Perl
 has a patch to the
  bless[] function that makes it
 /extremely/ slow.
 
  Reliable info heard on the grapevine indicates 5.3
 would have the fix's
  required.
 
  So that means about 6 months away from a fix?
 
 
 Unless upstream bundles a hotfix that is available for
 people...
 
 

Anyone want to try and get this built on C5.2?
ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS/perl-5.8.8-40.fc8.src.rpm

I've tested it out via the fc8 live CD and the bless/overload bug is absent. 

- bug test --
#!/usr/bin/perl
use overload q() = sub {};
my %h;
for (my $i=0; $i5; $i++) {
$h{$i} = bless [ ] = 'main';
print STDERR '.' if $i % 1000 == 0;
}
- end snip 

the above runs in about .4 sec, while on C5.2 it takes 8-12 seconds.

-- 
Mark


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos