<div dir="ltr">I know the time difference doesn&#39;t look too bad, but take a bigger code set:<br><br>Fast:<br>real    0m1.682s<br>user    0m1.584s<br>sys    0m0.064s<br><br>Slow:<br>real    0m16.730s<br>user    0m9.345s<br>
sys    0m0.096s<br><br><br><div class="gmail_quote">On Tue, Sep 8, 2009 at 5:15 PM, Noam Rathaus <span dir="ltr">&lt;<a href="mailto:noamr@beyondsecurity.com">noamr@beyondsecurity.com</a>&gt;</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">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<div><div>
</div><div class="h5"><br><br><br>
<div class="gmail_quote">On Tue, Sep 8, 2009 at 5:04 PM, Shachar Shemesh <span dir="ltr">&lt;<a href="mailto:shachar@shemesh.biz" target="_blank">shachar@shemesh.biz</a>&gt;</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>
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&#39;s probably not IO either.<div><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&#39;t think its a hardware malfunction, but I could be wrong<br>
  <br>
  </div>
</blockquote></div>
Can you run &quot;time&quot; 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></div></div>
</blockquote></div><br></div>