lkml.org 
[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: Re: Re: [REGRESSION] [Linux 3.2] top/htop and all other CPU usage
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


\
 
 \ /
  Last update: 2011-11-29 14:55    [W:0.074 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site