<div dir="ltr">Fast:<br><br>time perl t.pl <br>Done<br>real 0m0.431s<br>user 0m0.416s<br>sys 0m0.016s<br><br>Slow<br><br>time /tmp/t.pl <br>Done<br>real 0m1.742s<br>user 0m0.864s<br>sys 0m0.008s<br><br><br>
<div class="gmail_quote">On Tue, Sep 8, 2009 at 5:04 PM, Shachar Shemesh <span dir="ltr"><<a href="mailto:shachar@shemesh.biz">shachar@shemesh.biz</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" bgcolor="#ffffff" text="#000000"><div class="im">
Noam Rathaus wrote:
<blockquote type="cite">
<div dir="ltr">Hi Noam,<br>
<br>
1) Both machines have 2GB of memory and are using 200Mb of it.. <br>
<br>
I think the problem is not memory<br>
</div>
</blockquote></div>
So it's probably not IO either.<div class="im"><br>
<blockquote type="cite">
<div dir="ltr"><br>
2) no weird errors, of any kind in the dmesg or /var/log<br>
<br>
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<br>
<br>
</div>
</blockquote></div>
Can you run "time" on the processes on both machines, see how much CPU
time they take?<br>
<br>
Shachar<br>
<pre cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a href="http://www.lingnu.com" target="_blank">http://www.lingnu.com</a>
</pre>
</div>
</blockquote></div><br></div>