Re: bogomips discrepancy on Intel Core2 Quad CPU

Bill Davidsen
2007-09-03T14:47:29Z

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@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot