Hi Rob,<br><br><div><span class="gmail_quote">On 24/09/2007, <b class="gmail_sendername">Robert Hulme</b> <<a href="mailto:rob@robhulme.com">rob@robhulme.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> real 0m40.243s<br>> user 0m39.450s<br>> sys 0m0.024s<br>WTF? Why does this take 20 times longer on a P4 compared to a Sempron, etc?</blockquote><div><br>Pretty quick here too... Do you have any CPU frequency scaling enabled that might not be ramping up quick enough?
<br></div></div><br>pre500@jumpjet:~/tmp$ gcc -O2 rhulme.c && time ./a.out<br><br>real 0m1.646s<br>user 0m1.640s<br>sys 0m0.000s<br><br>Dual-core Opteron 1218.<br><br>-- <br>Paul Elliott (omahn)<br>Systems Engineer, Option-C Services
<br><a href="mailto:omahns.home@gmail.com">omahns.home@gmail.com</a>