Hi, 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: "use MyModule"
Takes 0.5second to go through The machine is Debian based, running the testing kernel 2.6.30-1 The redhat web site doesn't load to me :( so I can't check On Wed, Sep 9, 2009 at 5:14 AM, Amos Shapira <amos.shap...@gmail.com> wrote: > 2009/9/8 Noam Rathaus <no...@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<http://search.cpan.org/%7Ejaw/Devel-Profile-1.05/Profile.pm> > > And lots others from searching for "perl profile". > > --Amos > >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il