Perl slowness
Noam Rathaus
noamr at beyondsecurity.com
Tue Sep 8 18:32:50 IDT 2009
Comparing the two,
I can see that on the slower system
/ <0\.0[^0]
(in VI)
catches 505 read(), brk(), stat64 attempts which take more than 0.01seconds,
1 as high as 0.035575 while 22 taking between 0.019 and 0.30, and the rest
481 above 0.01 and under 0.02
On the other system, there are non that take more than 0.01, almost all take
0.0001 and below
Quite a difference
===
Can you explain what you mean by "my package"?
I have smaller packages, more isoloated that don't manifest this behaviour,
but they are tiny ones, with 6-10 functions...
So maybe its something that is in common with several packages?
How can I find out?
On Tue, Sep 8, 2009 at 6:17 PM, Shachar Shemesh <shachar at shemesh.biz> wrote:
> Noam Rathaus wrote:
>
> So I am stuck
>
> Did you try "strace -T -f" yet?
>
> Grrr
>
> Anyone with ideas on how I can understand why "my packages" are causing
> issues, while apparently, "perl-provided" packages such as LWP::UserAgent
> dont?
>
> Did you try an empty "my packages"^H?
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.http://www.lingnu.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090908/b5a98254/attachment.html>
More information about the Linux-il
mailing list