You are not logged in.
Pages: 1
Today, I add a rule to set cpu governor to "performance" in /etc/udev/rule.d/50-scaling-governor.rules like this
SUBSYSTEM=="module", ACTION=="add", KERNEL=="acpi_cpufreq", RUN+=" /bin/sh -c ' echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor ' "
SUBSYSTEM=="module", ACTION=="add", KERNEL=="acpi_cpufreq", RUN+=" /bin/sh -c ' echo performance > /sys/devices/system/cpu/cpufreq/policy1/scaling_governor ' "
SUBSYSTEM=="module", ACTION=="add", KERNEL=="acpi_cpufreq", RUN+=" /bin/sh -c ' echo performance > /sys/devices/system/cpu/cpufreq/policy2/scaling_governor ' "
SUBSYSTEM=="module", ACTION=="add", KERNEL=="acpi_cpufreq", RUN+=" /bin/sh -c ' echo performance > /sys/devices/system/cpu/cpufreq/policy3/scaling_governor ' "
Following to #udev page, it's said that udev automatically detected changes to rules files, so changes took effect immediately without requiring udev to be restarted. But I still did a "system reboot"
After that, nothing changed
So I run this on terminal then reboot again:
sudo udevadm control --reload
But result is still the same.
Do I miss something here? I'm new to Arch btw.
Last edited by nheolinkin (2017-10-31 06:09:11)
Offline
After that, nothing changed
What did you expect to change exactly?
Are you sure you are not using intel_pstate?
Last edited by cfr (2017-10-31 02:52:52)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
nheolinkin wrote:After that, nothing changed
What did you expect to change exactly?
Are you sure you are not using intel_pstate?
No, it was my mistake. I'm using Intel processor so I changed the "KERNEL" option to "intel_pstate".
But it's still "powersave" governor both in /sys/device/system/cpu/cpufreq/policy*/scaling_governor and /sys/device/system/cpu/cpu*/cpufreq/scaling_governor
Offline
Ok, so I decided to use "cpupower" instead to switch cpu governor. But if it's possible, allow me to keep this thread "NOT SOLVED" until there is a solution for #udev problem that I mentioned above.
Thank you!
Last edited by nheolinkin (2017-10-31 04:01:48)
Offline
But it's still "powersave" governor both in /sys/device/system/cpu/cpufreq/policy*/scaling_governor and /sys/device/system/cpu/cpu*/cpufreq/scaling_governor
https://wiki.archlinux.org/index.php/CP … ncy_driver
Ok, so I decided to use "cpupower" instead to switch cpu governor.
The issue isn't udev or cpupower. You cannot control intel_pstate. You could disable it, if you insisted, but that is not at all recommended. cpupower will tell you what the governor is doing, but you cannot control it. The most you can do is nudge it a little using 'bias' settings.
Last edited by cfr (2017-10-31 04:05:58)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The issue isn't udev or cpupower. You cannot control intel_pstate. You could disable it, if you insisted, but that is not at all recommended. cpupower will tell you what the governor is doing, but you cannot control it. The most you can do is nudge it a little using 'bias' settings.
That makes sense
Thank you for that info. QUESTION ANSWERED.
Offline
Pages: 1