Re: Can't set CPU freuqency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24/06/2023 19:16, Will Godfrey wrote:
On Sat, 24 Jun 2023 16:27:53 +0100
Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx> wrote:

I've been gifted an ASUS Republic of Gamers (ROG) G750JX laptop but am having a
problem with it. It seem to ignore:
	sudo /usr/bin/cpufreq-set -r -g performance
and instead always runs in ondemand mode.
It has a base speed of supposedly 2.4G, but actually runs at 2.3 or less and
very occasionally hits' 3.4G, just *after* Xruns.

There is nothing in the bios I can find regarding CPU frequency

Any suggestions?

Unfortunately neither of those suggestions worked.
What seems to be happening is that when idle the machine lets me set higher
frequencies, but as soon as it starts to do any work, the settings are changed
to lower values, and then may be increased again... too late!
It's more-or-less OK, running 48k 128frames 3buffers into a KA6
This is an intel i7. A considerably older intel i5 runs quite happily with the
same workload running 48k 64frames 3buffers (also KA6).

Will,

Could be "turbo" mode? The CPU is clocked at a speed that'll cause it to run too hot if fully loaded, and throttled back when the temperature rises. You can see the current state, and turn it off & on, via:

    /sys/devices/system/cpu/intel_pstate/no_turbo

Write '0' there to enable turbo mode, '1' to disable it. Disabling it makes my laptop run a lot cooler.

Attached the tiny shell script I use to see & change the setting, in case that's useful.

Hope that helps,
Colin.
#! /bin/sh
no_turbo=/sys/devices/system/cpu/intel_pstate/no_turbo
case $1 in
--on)
echo 0 | sudo tee $no_turbo > /dev/null
;;
--off)
echo 1 | sudo tee $no_turbo > /dev/null
;;
"")
cat $no_turbo | sed -e s/0/on/ -e s/1/off/
;;
*)
echo "usage: turbo [--on|--off|]"
;;
esac

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Linux-audio-user mailing list -- linux-audio-user@xxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to linux-audio-user-leave@xxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux