how to set ondemand governor
I've got Core 2 Duo CPU and tried to set ondemand governor. result that I've got shows that only one core is affected:
Quoted 48 lines
titan old # echo -n "ondemand" >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governortitan old # cat/proc/cpuinfo
processor : 0vendor_id: GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
stepping : 11
cpu MHz : 2000.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yesfpu_exception: yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lmconstant_tscpni monitords_cplvmx smx est tm2 ssse3 cx16 xtprlahf_lm
bogomips : 4669.25
clflush size : 64cache_alignment: 64
address sizes : 36 bits physical, 48 bits virtual
power management:processor : 1
vendor_id: GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
stepping : 11
cpu MHz : 2333.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yesfpu_exception: yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lmconstant_tscpni monitords_cplvmx smx est tm2 ssse3 cx16 xtprlahf_lm
bogomips : 4666.81
clflush size : 64cache_alignment: 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Quoted 1 line
titan old #
does this mean that I should (and can) set different governors/variables for different cores of my CPU ?
Quoted 4 lines · Nebojsa Trpkovic
I've got Core 2 Duo CPU and tried to set ondemand governor. result that I've got shows that only one core is affected:
Quoted 1 line
titan old # echo -n "ondemand" >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Note that the path you're echoing into contains 'cpu0'...
Quoted 2 lines
does this mean that I should (and can) set different governors/variables for different cores of my CPU ?
I suppose you can, but its a little batty (never actually tried myself). In fedora-land, we have an initscript that defaults to setting ondemand for all cpus. Part of the setup is to essentially echo 'ondemand' into the scaling_governor sysfs file for each cpu on the system.
Signature · 2 lines
Jarod Wilson [email protected]
_______________________________________________
Cpufreq mailing list
[email protected]
http://lists.linux.org.uk/mailman/listinfo/cpufreq
Quoted 2 lines · Nebojsa Trpkovic
does this mean that I should (and can) set different governors/variables for different cores of my CPU ?
Unfortunately, yes.
Thomas