#1053294 RFP: auto-cpufreq -- Automatic CPU speed & power optimizer

#1053294#5
Date:
2023-10-01 02:40:05 UTC
From:
To:
* Package name    : auto-cpufreq
  Version         : 2.0.0
  Upstream Contact: Adnan Hodzic <adnan@hodzic.org>
* URL             : https://github.com/AdnanHodzic/auto-cpufreq
* License         : LGPL-3
  Programming Lang: Python
  Description     : Automatic CPU speed & power optimizer

Automatic CPU speed & power optimizer for, Linux based on active
monitoring of a laptop's battery state, CPU usage, CPU temperature and
system load. Ultimately allowing you to improve battery life without
making any compromises.

Features:


 * Monitoring
   * Basic system information
   * CPU frequency (system total & per core)
   * CPU usage (system total & per core)
   * CPU temperature (total average & per core)
   * Battery state
   * System load
 * CPU frequency scaling, governor and turbo boost management based on
   * Battery state
   * CPU usage (total & per core)
   * CPU temperature in combination with CPU utilization/load (prevent overheating)
   * System load
 * Automatic CPU & power optimization (temporary and persistent)
----

I found this package through this post on Debian Planet:

https://foolcontrol.org/?p=4603

This is a tool similar to already existing tools in Debian,
specifically TLP. According to the auto-cpufreq author though:

So I'm not exactly clear on what the overlap between the two is, but I
do feel there's some room in this space for another option. TLP is
rather "heavy" in terms of the number of things it does, it's a rather
big pill to swallow, with all sorts of pitfalls...

I like the idea of having a simple, one-task-focused tool.

I do not currently have the cycles to evaluate this any further, but
would love to collaborate on further research when I have time.

Otherwise, if anyone is interested in pursuing this any further,
please go right ahead (but keep this bug in CC!).

#1053294#10
Date:
2023-10-01 06:45:02 UTC
From:
To:
Hi everyone,

First of all thank you for creating this RFP Antoine! I might be biased
when I say this, but I think auto-cpufreq definitely deserves and should be
available in Debian repos. There's even a long standing auto-cpufreq issue
(feature request) to create a Debian package for it:
https://github.com/AdnanHodzic/auto-cpufreq/issues/157

Although I used to be Debian package maintainer myself in past, and since I
naively thought auto-cpufreq future was set with having it available as
part of a Snap Store/packages (which I even praised in my KubeCon talk:
https://youtu.be/issubK49f6E?si=k6sXJCIFxUIYnbLh&t=378). After auto-cpufreq
v2.0 release with introduction of GUI due to its confinement limitations,
this feature won't be possible with Snap package and it could lead to its
deprecation in future:
https://github.com/AdnanHodzic/auto-cpufreq/#snap-store

Either way, it would be great if someone had time to have auto-cpufreq
packaged for Debian. I'm at your disposal if you have any questions in this
process. Otherwise, if I have time in the future I might even pick this up
myself :)

Regards,

Adnan

#1053294#15
Date:
2023-10-01 06:45:02 UTC
From:
To:
Hi everyone,

First of all thank you for creating this RFP Antoine! I might be biased
when I say this, but I think auto-cpufreq definitely deserves and should be
available in Debian repos. There's even a long standing auto-cpufreq issue
(feature request) to create a Debian package for it:
https://github.com/AdnanHodzic/auto-cpufreq/issues/157

Although I used to be Debian package maintainer myself in past, and since I
naively thought auto-cpufreq future was set with having it available as
part of a Snap Store/packages (which I even praised in my KubeCon talk:
https://youtu.be/issubK49f6E?si=k6sXJCIFxUIYnbLh&t=378). After auto-cpufreq
v2.0 release with introduction of GUI due to its confinement limitations,
this feature won't be possible with Snap package and it could lead to its
deprecation in future:
https://github.com/AdnanHodzic/auto-cpufreq/#snap-store

Either way, it would be great if someone had time to have auto-cpufreq
packaged for Debian. I'm at your disposal if you have any questions in this
process. Otherwise, if I have time in the future I might even pick this up
myself :)

Regards,

Adnan