[SATLUG] intel speedstep

Borries Demeler demeler at biochem.uthscsa.edu
Sun Jun 8 07:16:25 CDT 2008


> 
> And if you don't care about a graphical tool, you can do something like
> this. (Note the double output is from my laptop being dual-core)
> 
> 1. Find out what governors are available to you.
> 
> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors 
> ondemand userspace performance 
> ondemand userspace performance 

The directory structur in /sys/devices/system/cpu/cpu* is different on
my system:

./cpu0/topology
./cpu0/topology/core_siblings
./cpu0/topology/thread_siblings
./cpu0/topology/core_id
./cpu0/topology/physical_package_id
./cpu0/cache
./cpu0/cache/index2
./cpu0/cache/index2/shared_cpu_map
./cpu0/cache/index2/size
./cpu0/cache/index2/number_of_sets
./cpu0/cache/index2/ways_of_associativity
./cpu0/cache/index2/physical_line_partition
./cpu0/cache/index2/coherency_line_size
./cpu0/cache/index2/level
./cpu0/cache/index2/type
./cpu0/cache/index1
./cpu0/cache/index1/shared_cpu_map
./cpu0/cache/index1/size
./cpu0/cache/index1/number_of_sets
./cpu0/cache/index1/ways_of_associativity
./cpu0/cache/index1/physical_line_partition
./cpu0/cache/index1/coherency_line_size
./cpu0/cache/index1/level
./cpu0/cache/index1/type
./cpu0/cache/index0
./cpu0/cache/index0/shared_cpu_map
./cpu0/cache/index0/size
./cpu0/cache/index0/number_of_sets
./cpu0/cache/index0/ways_of_associativity
./cpu0/cache/index0/physical_line_partition
./cpu0/cache/index0/coherency_line_size
./cpu0/cache/index0/level
./cpu0/cache/index0/type
(the same for cpu1)
./sched_mc_power_savings

> 
> 2. Find out what your currently using
> 
> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 
> ondemand
> ondemand

That's not there.

> 3. Set the new governor
> 
> echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor performance
> 
> 4. Verify the new governor is set
> 
> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 
> performance
> performance
> 
> 5. Check the CPU speeds (output in Mhz)
> 
> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq 
> 2501000
> 2501000

Any other suggestions?

Thanks, -b.


More information about the SATLUG mailing list