Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #193588
| From | Rainer Dorsch <ml@bokomoko.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Starting powertop --auto-tune from systemd |
| Date | 2018-03-10 19:20 +0100 |
| Message-ID | <vrRg5-2Sf-3@gated-at.bofh.it> (permalink) |
| Organization | @home |
[Please follow-up to debian-user]
Hello,
I run
/usr/bin/powertop --auto-tune
to optimize the power consumption of my system. Running it manually works
nicely. When I try to run from systemd, I see no effect :-/
I followed
https://wiki.archlinux.org/index.php/Powertop#Apply_settings
added
root@master:~# cat /etc/systemd/system/powertop.service
[Unit]
Description=Powertop tunings
[Service]
ExecStart=/usr/bin/powertop --auto-tune
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
root@master:~#
enabled it for systemd and got
root@master:~# systemctl status powertop.service
● powertop.service - Powertop tunings
Loaded: loaded (/etc/systemd/system/powertop.service; enabled; vendor
preset: enabled)
Active: active (exited) (Result: exit-code) since Sat 2018-03-10 18:29:53
CET; 22min ago
Process: 642 ExecStart=/usr/bin/powertop --auto-tune (code=exited,
status=203/EXEC)
Main PID: 642 (code=exited, status=203/EXEC)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/powertop.service
Mar 10 18:29:53 master systemd[1]: Started Powertop tunings.
Mar 10 18:29:53 master systemd[1]: powertop.service: Main process exited,
code=exited, status=203/EXEC
root@master:~#
powertop still report that the parameters are "Bad". Runnung
# powertop --auto-tune
makes them all good (and reduces the power consumption).
Any idea is welcome :-)
Thanks
Rainer
--
Rainer Dorsch
http://bokomoko.de/
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Starting powertop --auto-tune from systemd Rainer Dorsch <ml@bokomoko.de> - 2018-03-10 19:20 +0100
Re: Starting powertop --auto-tune from systemd bw <bwtnguy@yahoo.com> - 2018-03-10 21:40 +0100
Re: Starting powertop --auto-tune from systemd David Wright <deblis@lionunicorn.co.uk> - 2018-03-11 02:40 +0100
Re: Starting powertop --auto-tune from systemd Rainer Dorsch <ml@bokomoko.de> - 2018-03-11 19:10 +0100
Re: Starting powertop --auto-tune from systemd bw <bwtnguy@yahoo.com> - 2018-03-11 20:00 +0100
Re: Starting powertop --auto-tune from systemd David Wright <deblis@lionunicorn.co.uk> - 2018-03-12 00:20 +0100
Re: Starting powertop --auto-tune from systemd Michael Biebl <biebl@debian.org> - 2018-03-11 21:30 +0100
csiph-web