Perl slowness

Perl slowness

Amos Shapira amos.shapira at gmail.com
Wed Sep 9 05:14:41 IDT 2009


2009/9/8 Noam Rathaus <noamr at beyondsecurity.com>

> Hi,
>
> I have two machines, their hardware is not identical, but their
> installation is.
>
> One is a 3 years old DELL server, while the other is a 1 year old server.
>
> One is running 2.6.26-2-686 while the other 2.6.30-1-686
>

Which distribution is this? The kernel versions don't suggest RHEL 5 but
still this sounds like a similar problem:

The following RHEL/CentOS bug haven't been closed until someone had the
brains to submit the issue to slashdot:
https://bugzilla.redhat.com/show_bug.cgi?id=379791

This was a bug introduced by RedHat themselves so not cross-platform, but as
far as I remember it was introduced due to wrong patching of a problem in
vanilla perl, so maybe other distro's/versions had similar problems.

Your time output suggests problem at the user code level to me.

What about trying to profile the perl script?

http://www.perl.com/pub/a/2004/06/25/profiling.html
http://search.cpan.org/~jaw/Devel-Profile-1.05/Profile.pm

And lots others from searching for "perl profile".

--Amos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090909/f49b6528/attachment.html>


More information about the Linux-il mailing list