ACPI performance profile

Marco Mandl marco.mandl at gmx.at
Mon Nov 6 12:25:41 UTC 2006


Markus, thank you for the explanations.

> $ ls -l /sys/devices/system/cpu/cpu0/cpufreq
> insgesamt 0
> -r--r--r-- 1 root root 4096 2006-11-04 23:13 affected_cpus
> -r-------- 1 root root 4096 2006-11-04 23:13 cpuinfo_cur_freq
> -r--r--r-- 1 root root 4096 2006-11-04 23:10 cpuinfo_max_freq
> -r--r--r-- 1 root root 4096 2006-11-04 23:13 cpuinfo_min_freq
> drwxr-xr-x 2 root root    0 2006-11-04 23:13 ondemand
> -r--r--r-- 1 root root 4096 2006-11-04 23:13 scaling_available_frequencies
> -r--r--r-- 1 root root 4096 2006-11-04 23:13 scaling_available_governors
> -r--r--r-- 1 root root 4096 2006-11-04 23:13 scaling_cur_freq
> -r--r--r-- 1 root root 4096 2006-11-04 23:13 scaling_driver
> -rw-r--r-- 1 root root    0 2006-11-04 23:13 scaling_governor
> -rw-r--r-- 1 root root 4096 2006-11-04 23:11 scaling_max_freq
> -rw-r--r-- 1 root root 4096 2006-11-04 23:13 scaling_min_freq
> drwxr-xr-x 2 root root    0 2006-11-04 23:10 stats

There are parts miss on my system:
$ ls -l /sys/devices/system/cpu/cpu0/cpufreq
total 0
-r--r--r-- 1 root root 4096 2006-11-06 13:13 affected_cpus
-r-------- 1 root root 4096 2006-11-06 13:13 cpuinfo_cur_freq
-r--r--r-- 1 root root 4096 2006-11-06 13:13 cpuinfo_max_freq
-r--r--r-- 1 root root 4096 2006-11-06 13:13 cpuinfo_min_freq
-r--r--r-- 1 root root 4096 2006-11-06 13:13 scaling_available_frequencies
-r--r--r-- 1 root root 4096 2006-11-06 13:13 scaling_available_governors
-r--r--r-- 1 root root 4096 2006-11-06 13:13 scaling_cur_freq
-r--r--r-- 1 root root 4096 2006-11-06 13:13 scaling_driver
-rw-r--r-- 1 root root 4096 2006-11-04 13:18 scaling_governor
-rw-r--r-- 1 root root 4096 2006-11-06 12:13 scaling_max_freq
-rw-r--r-- 1 root root 4096 2006-11-06 13:13 scaling_min_freq

There is only the "performance" governor available:
$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
performance 

> If it doesn't exist, then the appropriate module that handles frequency
> selection is propably not loaded. For me it is 'p4-clockmod'. Guessing
> from the message above, the right one for you could be
> 'speedstep-centrino'. So maybe
> sudo modprobe speedstep-centrino
> brings '/sys/devices/system/cpu/cpu0/cpufreq' into existence. You should
> then be able to select the desired governor by 'echo'ing it's name to
> 'scaling_governor' as in the line you added to 'rc.local'. Of course,
> the modules implementing the governors you want to use have also to be
> loaded.

"sudo modprobe speedstep-centrino" did not change anything. I did not even
write anything to the kern.log.

The whole thing was working under Dapper. What has changed?

/m






More information about the ubuntu-users mailing list