Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1213933

Bug#894906: linux-cpupower: provide a systemd service and a default config file

From Bastian Blank <waldi@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#894906: linux-cpupower: provide a systemd service and a default config file
Date 2024-09-22 12:00 +0200
Message-ID <JprxM-e2mQ-7@gated-at.bofh.it> (permalink)
References (1 earlier) <J4RZT-JW3-1@gated-at.bofh.it> <vBcuZ-4Bk-1@gated-at.bofh.it> <JmZmh-cslE-5@gated-at.bofh.it> <vBcuZ-4Bk-1@gated-at.bofh.it> <JmZmh-cslE-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Sep 15, 2024 at 05:23:10PM +0200, Francesco Poli wrote:
> Or otherwise, if you think there's something wrong with them, could you
> please explain what is wrong? Maybe there's a way to fix them...

The linux-cpupower package includes low level tools to interrogate and
set certain low level CPU features.  So the reasons for installing this
package are two-fold, you either want to see various things, or you want
to globally change them.  But because of the two different usages, just
installing the package can not change global settings without futher
user interaction.

Yes, we could provide them disabled.  But overall we are currently at a
point, where even desktop environments have rudimentary settings for
this.  And also basic cpu frequency is not longer a useful way to save
energy, but things like p states as used, which just shut of whole parts
of the chip.

About the files itself: please loose the shell wrapper.  You can use
EnvironmentFile and multiple ExecStart with variable expansion (however
no conditionals).

Bastian

-- 
In the strict scientific sense we all feed on death -- even vegetarians.
		-- Spock, "Wolf in the Fold", stardate 3615.4

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-09-15 17:30 +0200
  Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2024-09-21 17:20 +0200
  Bug#894906: linux-cpupower: provide a systemd service and a default config file Bastian Blank <waldi@debian.org> - 2024-09-22 12:00 +0200
    Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-09-22 16:40 +0200

csiph-web