Re: Re: Re: Re: [REGRESSION] [Linux 3.2] top/htop and all other CPU usage

Artem S. Tashkinov
2011-11-29T13:51:54Z

On Nov 29, 2011, Michal Hocko wrote:

> It seems that this is cannot be set in runtime:
> SYSDEV_CLASS_ATTR(current_driver, 0444, show_current_driver, NULL);
>
> Or maybe you need to boot with cpuidle_sysfs_switch. According to the
> documentation you might be able to change the governor. I have no idea
> whether this can help somehow but let's try that.
>
> I haven't found any intel_idle machine in my lab so far and all other
> acpi_idle machines seem to work (or at least randomly selected ones) so
> this smells like a major difference in the setup.

# echo acpi_idle > /sys/devices/system/cpu/cpuidle/current_driver
bash: /sys/devices/system/cpu/cpuidle/current_driver: Permission denied

BTW

# cat /sys/devices/system/cpu/cpuidle/available_governors
ladder menu

dmesg | grep -i idle
[ 0.000000] Kernel command line: root=/dev/sda1 ro cpuidle_sysfs_switch
[ 0.000126] using mwait in idle threads.
[ 1.083872] intel_idle: MWAIT substates: 0x1120
[ 1.083873] intel_idle: v0.4 model 0x2A
[ 1.083874] intel_idle: lapic_timer_reliable_states 0xffffffff
[ 1.159043] cpuidle: using governor ladder
[ 1.168842] cpuidle: using governor menu