https://bugzilla.novell.com/show_bug.cgi?id=579932
https://bugzilla.novell.com/show_bug.cgi?id=579932#c87
--- Comment #87 from Andreas Nordal 2011-04-30 19:50:34 UTC ---
In OpenSuse 11.4:
I zypper-installed kernel-source, took the .config from /proc/config.gz and did
the necessary modifications (nothing else) using make nconfig, so that:
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_HZ_250=y
CONFIG_HZ=250
# CONFIG_DEBUG_INFO is not set
I forgot to make oldconfig, but hey, it compiled. Installed it according to
README.SUSE. I am now running 2.6.37.6-1.2-desktop instead of
2.6.37.1-1.2-desktop. This config is "good". I can not hang the kernel with
rt-benchmark.
Why this is different from booting with "highres=off nohz=off" is beyond me,
but I did get some surprises:
* No sound. Tried mplayer with alsa, oss, pulse.
* Xorg failed to start, not only because of the disappearance of the
proprietary nvidia kernel module, but I had to chmod 4755 /usr/bin/Xorg.
* Rt-benchmark succeeds to set scheduling parameters. This had been a problem
unique to OpenSuse 11.4.
* Powertop works flawlessly. (shouldn't it require CONFIG_NOHZ to be enabled?)
* The mouse pointer disappeared while writing this. The "Commit" button is
therefore hard to hit. Sorry for the long post.
You are probably wondering whether C2-C3 states are used. I think they are:
Excerpt from powertop:
C1 mwait 0,0ms ( 0,0%)
C2 mwait 1,2ms ( 6,3%)
C6 mwait 1,9ms (89,4%)
grep . -r /sys/devices/system/cpu/cpu0/cpuidle/
/sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
/sys/devices/system/cpu/cpu0/cpuidle/state0/desc:CPUIDLE CORE POLL IDLE
/sys/devices/system/cpu/cpu0/cpuidle/state0/latency:0
/sys/devices/system/cpu/cpu0/cpuidle/state0/power:4294967295
/sys/devices/system/cpu/cpu0/cpuidle/state0/usage:0
/sys/devices/system/cpu/cpu0/cpuidle/state0/time:0
/sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1
/sys/devices/system/cpu/cpu0/cpuidle/state1/desc:ACPI FFH INTEL MWAIT 0x0
/sys/devices/system/cpu/cpu0/cpuidle/state1/latency:1
/sys/devices/system/cpu/cpu0/cpuidle/state1/power:4294967294
/sys/devices/system/cpu/cpu0/cpuidle/state1/usage:6099
/sys/devices/system/cpu/cpu0/cpuidle/state1/time:5092863
/sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2
/sys/devices/system/cpu/cpu0/cpuidle/state2/desc:ACPI FFH INTEL MWAIT 0x10
/sys/devices/system/cpu/cpu0/cpuidle/state2/latency:1
/sys/devices/system/cpu/cpu0/cpuidle/state2/power:4294967293
/sys/devices/system/cpu/cpu0/cpuidle/state2/usage:297998
/sys/devices/system/cpu/cpu0/cpuidle/state2/time:489357083
/sys/devices/system/cpu/cpu0/cpuidle/state3/name:C3
/sys/devices/system/cpu/cpu0/cpuidle/state3/desc:ACPI FFH INTEL MWAIT 0x50
/sys/devices/system/cpu/cpu0/cpuidle/state3/latency:162
/sys/devices/system/cpu/cpu0/cpuidle/state3/power:4294967292
/sys/devices/system/cpu/cpu0/cpuidle/state3/usage:4559404
/sys/devices/system/cpu/cpu0/cpuidle/state3/time:10327850075
Small correction to my previous post: It should of course be "258ms", not
"25Bms". I used tesseract to convert the screenshot taken by my phone camera
into text.
I also tried biosbits on two desktop computers, both with Intel processors
(Pentium 4 and Pentium D). The Pentium D failed both tests very similarly (with
4 MSR inconsistencies). The uniprocessor Pentium 4 did not have MSR
inconsistencies and only marginally failed the SMI test with a latency of
191µs.
Maybe it is difficult to pass these tests...
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.