[BUG] wrong bogomips values with kernel 2.6.16

From: Knut Petersen
Date: Tue Mar 21 2006 - 08:15:47 EST


Hi everybody!

System: AOpen i915GMm-HFS motherboard, kernel 2.6.16
CPU: Intel(R) Pentium(R) M processor 1.86GHz stepping 08

During startup a BogoMips value of 3730.21 is calculated. That
should be the correct value for the cpu running at full speed. But:

"cat /proc/cpuinfo" on the idle system displays the correct cpu speed, but
a wrong bogomips value:

cpu MHz : 800.000
bogomips : 3730.21

"cat /proc/cpuinfo" on the busy system displays the correct cpu speed too, but
again a wrong bogomips value:

cpu MHz : 1867.000
bogomips : 8705.38

The relevant snippets from .config:

CONFIG_X86_PC=y
CONFIG_MPENTIUMM=y

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=y

cu,
knut

-
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/