<div dir="ltr">Hi,<br><br>I tried them both (the profilers), they just tell me which modules take a lot of time load, not what the reason are, these modules are quite big, 1000 lines... which makes it harder to just start cutting through to understand why simply doing:<br>
"use MyModule"<br><br>Takes 0.5second to go through<br><br>The machine is Debian based, running the testing kernel 2.6.30-1<br><br>The redhat web site doesn't load to me :( so I can't check<br><br><div class="gmail_quote">
On Wed, Sep 9, 2009 at 5:14 AM, Amos Shapira <span dir="ltr"><<a href="mailto:amos.shapira@gmail.com">amos.shapira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div class="im">2009/9/8 Noam Rathaus <span dir="ltr"><<a href="mailto:noamr@beyondsecurity.com" target="_blank">noamr@beyondsecurity.com</a>></span><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<div class="im"><br><br>I have two machines, their hardware is not identical, but their installation is.<br><br>One is a 3 years old DELL server, while the other is a 1 year old server.<br><br>One is running 2.6.26-2-686 while the other 2.6.30-1-686<br>
</div></div></blockquote><div><br>Which distribution is this? The kernel versions don't suggest RHEL 5 but still this sounds like a similar problem:<br>
<br>
The following RHEL/CentOS bug haven't been closed until someone had the brains to submit the issue to slashdot:<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=379791" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=379791</a><br>
<br>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.<br>
<br>
Your time output suggests problem at the user code level to me.<br>
<br>What about trying to profile the perl script?<br><br><a href="http://www.perl.com/pub/a/2004/06/25/profiling.html" target="_blank">http://www.perl.com/pub/a/2004/06/25/profiling.html</a><br><a href="http://search.cpan.org/%7Ejaw/Devel-Profile-1.05/Profile.pm" target="_blank">http://search.cpan.org/~jaw/Devel-Profile-1.05/Profile.pm</a><br>
<br>And lots others from searching for "perl profile".<br><br>
--Amos<br><br></div></div></div>
</blockquote></div><br></div>