[YLUG] Why is this so much faster on an Opteron?

Paul Elliott omahns.home at gmail.com
Mon Sep 24 15:53:48 BST 2007


Hi Rob,

On 24/09/2007, Robert Hulme <rob at robhulme.com> wrote:
>
> > real    0m40.243s
> > user    0m39.450s
> > sys     0m0.024s
> WTF? Why does this take 20 times longer on a P4 compared to a Sempron,
> etc?


Pretty quick here too... Do you have any CPU frequency scaling enabled that
might not be ramping up quick enough?

pre500 at jumpjet:~/tmp$ gcc -O2 rhulme.c && time ./a.out

real    0m1.646s
user    0m1.640s
sys     0m0.000s

Dual-core Opteron 1218.

-- 
Paul Elliott (omahn)
Systems Engineer, Option-C Services
omahns.home at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/york/attachments/20070924/d7347b63/attachment.html


More information about the York mailing list