Perl slowness

Perl slowness

Noam Rathaus noamr at beyondsecurity.com
Tue Sep 8 17:15:23 IDT 2009


Fast:

time perl t.pl
Done
real    0m0.431s
user    0m0.416s
sys    0m0.016s

Slow

time /tmp/t.pl
Done
real    0m1.742s
user    0m0.864s
sys    0m0.008s


On Tue, Sep 8, 2009 at 5:04 PM, Shachar Shemesh <shachar at shemesh.biz> wrote:

>  Noam Rathaus wrote:
>
> Hi Noam,
>
> 1) Both machines have 2GB of memory and are using 200Mb of it..
>
> I think the problem is not memory
>
> So it's probably not IO either.
>
>
> 2) no weird errors, of any kind in the dmesg or /var/log
>
> The newer machine is very new :) I wrote 1 year, it is actually 3 months, I
> don't think its a hardware malfunction, but I could be wrong
>
>  Can you run "time" on the processes on both machines, see how much CPU
> time they take?
>
> 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/0864977d/attachment.html>


More information about the Linux-il mailing list