Re: bogomips discrepancy on Intel Core2 Quad CPU

From: Bill Davidsen
Date: Mon Sep 03 2007 - 10:47:59 EST


Bauke Jan Douma wrote:
$> uname -a
Linux skyscraper 2.6.22.5 #7 SMP PREEMPT Sun Sep 2 12:12:25 CEST 2007 i686 GNU/Linux

$> cat /proc/cpuinfo | grep bogomips
bogomips : 4813.46
bogomips : 4810.91
bogomips : 4810.91
bogomips : 10583.94

The latter seems way off base.
Prod me for more info.

I see this occasionally on a dual, speedstep (or similar) finds a way to throttle down the cores under light load. I suspect that if you load the system:

for n in 1 2 3 4; do
nice -19 bash -c 'while true; do a=$RANDOM; done' &
done

Then you should see your bogomips rise on all cores.


bjd

[... copy of output snipped, see the O.P. ...]

--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/