You are not logged in.
Simple questione yet asked in title.
I need to setup the service file of cpufreq and using it by laptop-mode.
In wiki i found this file
[Unit]
Description=CPU frequency scaling daemon
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/cpufreq
ExecStart=/usr/bin/cpufreq-set -r -g $governor -d $min_freq -u $max_freq
[Install]
WantedBy=multi-user.targetBut it is going to load conf in /etc/conf.d/cpufreq
What i need to do?
Wrong section excuse.
Last edited by dartfira (2012-06-24 19:07:34)
Offline
OT but use cpupower instead.
Offline
You're right, cpupower also gives a service for systemd.
Offline
You're right, cpupower also gives a service for systemd.
...and more options on newer hardware:
$ cat /etc/conf.d/cpupower
governor='ondemand'
# Utilizes cores in one processor package/socket first before processes are
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
mc_scheduler=1
# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
smp_scheduler=1Offline
Thanks! That helped me a lot, even if I cannot use the two above listed options.
But how about loading cpupower? I used
# systemctl enable cpupower. Do I need any further modules or can I just keep the one's with "cpufreq" in it?
E.g.:
$domac.vex cat /etc/modules-load.d/modules.conf
acpi_call
acpi-cpufreq
cpufreq_ondemand
cpufreq_powersaveThanks in advance!
Cheers ![]()
domac [ git ]
Offline