Could auto-cpufreq be part of MX Linux?

Message
Author
nixon
Posts: 33
Joined: Sun Sep 06, 2020 7:25 am

Could auto-cpufreq be part of MX Linux?

#1 Post by nixon »

I don't know if this has come up before:
https://github.com/AdnanHodzic/auto-cpufreq seems to be a good tool to prolong battery life. Currently it relies on systemd but maybe it could be interesting for mx too.
Chris Titus Tech certainly prefers it over tlp https://www.youtube.com/watch?v=B1iRxoyT4EA&t=332s ;) . However having a solution without deep configuration sounds like a good idea.

I'd certainly would like something like that as a mx tool but I'm not up to date how good power saving mechanisms are currently in Linux and MX and if it's needed.

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Could auto-cpufreq be part of MX Linux?

#2 Post by JayM »

Doesn't the current cpufrequtils ondemand governor already do this?
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

nixon
Posts: 33
Joined: Sun Sep 06, 2020 7:25 am

Re: Could auto-cpufreq be part of MX Linux?

#3 Post by nixon »

I really don't know, tbh I'm quiet happy how it was and reinstalled TLP after seeing that auto-cpufreq needs systemd. So as I understand it right now my scaling governor is ondemand and TLP is active with its defaults. Is TLP active by default in vanilla MX?
Maybe I'm just searching for best practices and what are the deafults in MX.
Regards.

nixon
Posts: 33
Joined: Sun Sep 06, 2020 7:25 am

Re: Could auto-cpufreq be part of MX Linux?

#4 Post by nixon »

For anyone interested there is an open pull request to run auto-cpufreq on an init system https://github.com/AdnanHodzic/auto-cpufreq/pull/599 . I tested the changes on mx linux fluxbox 23 and was amazed how much longer I could run on battery on my old acer. Basicially auto-cpufreq detects if you unplugged your power supply and sets the governor to powersave dynamically. The pull request isn't quite there yet as you can see in the comments. With the new version there is a gui as you can see in the video here https://www.youtube.com/watch?v=SPGpkZ0AZVU . Maybe it could be considered by the mx team as I find it especially helpful for older machines. Of course it would be incredible if anyone wants to test the pull request and give feedback. Kind regards.

User avatar
Stevo
Developer
Posts: 14631
Joined: Fri Dec 15, 2006 7:07 pm

Re: Could auto-cpufreq be part of MX Linux?

#5 Post by Stevo »

Basicially auto-cpufreq detects if you unplugged your power supply and sets the governor to powersave dynamically.
Are there any great advantages over doing that with tlp and its tlpui GUI? Some machines even let you set that in the BIOS, too.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

nixon
Posts: 33
Joined: Sun Sep 06, 2020 7:25 am

Re: Could auto-cpufreq be part of MX Linux?

#6 Post by nixon »

Maybe I didn't do it justice with that sentence.
It also handles turbo boost dynamically and maybe more things.

From Github:
Automatic CPU speed & power optimizer for Linux. Actively monitors laptop battery state, CPU usage, CPU temperature, and system load, ultimately allowing you to improve battery life without making any compromises.

I can't say if it's better than TLP, as I haven't used it so much to have an opinion.

Perhaps the author himself can explain it's advantages https://www.youtube.com/watch?v=SPGpkZ0AZVU .

In my naive opinion: I found it easy to use. I started it, didn't config anything and had more battery life.

And even if this is not for MX maybe this inspires a tool for MX or something similar. :)

User avatar
Eadwine Rose
Administrator
Posts: 14769
Joined: Wed Jul 12, 2006 2:10 am

Re: Could auto-cpufreq be part of MX Linux?

#7 Post by Eadwine Rose »

Moved to package requests.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “Package Requests - MX-23”