[opensuse] Adjusting processor clock speed
I was reading the documentation on performance tuning, and did not see any mention of how the processor clock speed is changed, and if there is any way aside from rebuilding the kernel to adjust the default policy. I would prefer the processor to use a higher clock speed when the system gets busy. I tried adjusting the: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor but was not satisfied with my results. Thanks, Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat 21 Feb 2015 01:41:18 PM CST, don fisher wrote:
I was reading the documentation on performance tuning, and did not see any mention of how the processor clock speed is changed, and if there is any way aside from rebuilding the kernel to adjust the default policy. I would prefer the processor to use a higher clock speed when the system gets busy.
I tried adjusting the: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor but was not satisfied with my results.
Thanks, Don
Hi AMD, intel cpu? If not already installed you use cpupower to change the governor.... If it's a newer AMD cpu check if boost state is enabled/supported... -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default up 1 day 6:28, 4 users, load average: 0.02, 0.08, 0.15 CPU AMD A4-5150M APU @ 3.3GHz | GPU Richland Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 21 Feb 2015 13:41:18 -0700 don fisher <hdf3@comcast.net> пишет:
I was reading the documentation on performance tuning, and did not see any mention of how the processor clock speed is changed, and if there is any way aside from rebuilding the kernel to adjust the default policy.
What documentation were you reading? The files in Documentation/cpu-freq directory of Linux kernel sources provide quite extensive description of which CPU scaling governors are available and how to tune them. If you read them, it would help if you explained in more details what you want and why it cannot be achieved by tuning available governors.
I would prefer the processor to use a higher clock speed when the system gets busy.
Do you still want it to slow down when it is not busy? What do you mean "higher" - do you want to overclock it? Otherwise it is exactly what "ondemand" CPU governor does.
I tried adjusting the: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor but was not satisfied with my results.
It would help if you provided more details about what you have done, what you observe and what you expect to see, and why exactly you are not satisfied. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun 22 Feb 2015 08:58:06 AM CST, Andrei Borzenkov wrote:
В Sat, 21 Feb 2015 13:41:18 -0700 don fisher <hdf3@comcast.net> пишет:
I was reading the documentation on performance tuning, and did not see any mention of how the processor clock speed is changed, and if there is any way aside from rebuilding the kernel to adjust the default policy.
What documentation were you reading? The files in Documentation/cpu-freq directory of Linux kernel sources provide quite extensive description of which CPU scaling governors are available and how to tune them. If you read them, it would help if you explained in more details what you want and why it cannot be achieved by tuning available governors.
I would prefer the processor to use a higher clock speed when the system gets busy.
Do you still want it to slow down when it is not busy? What do you mean "higher" - do you want to overclock it? Otherwise it is exactly what "ondemand" CPU governor does.
I tried adjusting the: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor but was not satisfied with my results.
It would help if you provided more details about what you have done, what you observe and what you expect to see, and why exactly you are not satisfied. Hi On this setup here, ondemand suffices and boost states kick in to send it to 3.3GHz when monitoring via 'cpupower monitor -m Mperf' however boost states only work when using the fglrx driver (as in change to 'active') ...
-- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default up 2 days 1:46, 4 users, load average: 0.50, 0.51, 0.33 CPU AMD A4-5150M APU @ 3.3GHz | GPU Richland Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
don fisher
-
Malcolm