From: lists@ssl-mail.com
To: linux-pm@vger.kernel.org
Subject: Can't enable/switch to 'schedutil' governor with kernel 4.7.2 ?
Date: Tue, 23 Aug 2016 09:25:23 -0700 [thread overview]
Message-ID: <1471969523.3010993.703762385.6A0277B5@webmail.messagingengine.com> (raw)
Can't enable/switch to 'schedutil' governor
I'm running
uname -rm
4.7.2-1.g34ba8d6-default x86_64
I'm trying to set/use the 'schedutil' governor.
On my kernel config line I add
intel_pstate=disable
and re-exec
grub2-mkconfig -o /boot/grub2/grub.cfg
and for startup I add
cat /etc/systemd/system/cpupower.service
[Unit]
Description=CPU powersave
[Service]
Type=oneshot
ExecStartPre=/sbin/modprobe cpufreq_schedutil
ExecStart=/usr/bin/cpupower -c all frequency-set -g schedutil
[Install]
WantedBy=multi-user.target
After boot the cpufreq driver is loaded
lsmod | grep cpu
cpufreq_schedutil 16384 0
acpi_cpufreq 24576 1
and the governor is available
cpupower frequency-info --governors
analyzing CPU 0:
available cpufreq governors: schedutil ondemand performance
but it's not loaded
cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 4.0 us
hardware limits: 800 MHz - 2.80 GHz
available frequency steps: 2.80 GHz, 2.10 GHz, 1.60 GHz, 800 MHz
available cpufreq governors: schedutil ondemand performance
current policy: frequency should be within 800 MHz and 2.80 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: 800 MHz (asserted by call to hardware)
boost state support:
Supported: no
Active: no
Boost States: 0
Total States: 4
Pstate-P0: 2800MHz
Pstate-P1: 2100MHz
Pstate-P2: 1600MHz
Pstate-P3: 800MHz
and
dmesg | grep cpu
[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:6 nr_node_ids:1
[ 0.000000] percpu: Embedded 35 pages/cpu @ffff88022ec00000 s103960 r8192 d31208 u262144
[ 0.000000] pcpu-alloc: s103960 r8192 d31208 u262144 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 - -
[ 0.000000] RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=6.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[ 0.576814] cpuidle: using governor ladder
[ 0.588811] cpuidle: using governor menu
[ 2.326385] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.097374] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
[ 3.110386] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
[ 11.934611] systemd[1]: Installed new job cpupower.service/start as 193
[ 25.933005] acpi_cpufreq: overriding BIOS provided _PSD data
Trying to change it manually to 'schedutil' doesn't work either
cpupower frequency-set -g schedutil
cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 4.0 us
hardware limits: 800 MHz - 2.80 GHz
available frequency steps: 2.80 GHz, 2.10 GHz, 1.60 GHz, 800 MHz
available cpufreq governors: schedutil ondemand performance
current policy: frequency should be within 800 MHz and 2.80 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: 800 MHz (asserted by call to hardware)
boost state support:
Supported: no
Active: no
Boost States: 0
Total States: 4
Pstate-P0: 2800MHz
Pstate-P1: 2100MHz
Pstate-P2: 1600MHz
Pstate-P3: 800MHz
Am I missing some additional config or package that'd allow me to switch?
I can provide any useful current config; just let me know pls.
next reply other threads:[~2016-08-23 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 16:25 lists [this message]
2016-08-23 21:23 ` Can't enable/switch to 'schedutil' governor with kernel 4.7.2 ? Doug Smythies
2016-08-24 20:00 ` lists
2016-08-24 23:51 ` Doug Smythies
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471969523.3010993.703762385.6A0277B5@webmail.messagingengine.com \
--to=lists@ssl-mail.com \
--cc=linux-pm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.