在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):AdnanHodzic/auto-cpufreq开源软件地址(OpenSource Url):https://github.com/AdnanHodzic/auto-cpufreq开源编程语言(OpenSource Language):Python 73.6%开源软件介绍(OpenSource Introduction):auto-cpufreqAutomatic CPU speed & power optimizer for Linux based on active monitoring of laptop's battery state, CPU usage, CPU temperature and system load. Ultimately allowing you to improve battery life without making any compromises. For tl;dr folks there's a: Youtube: auto-cpufreq - tool demo Looking for developers and co-maintainersauto-cpufreq is looking for co-maintainers & open source developers to help shape future of the project! Why do I need auto-cpufreq?One of the problems with Linux today on laptops is that CPU will run in unoptimized manner which will negatively reflect on battery life. For example, CPU will run using "performance" governor with turbo boost enabled regardless if it's plugged in to power or not. Issue can be mitigated by using tools like indicator-cpufreq or cpufreq, but these still require manual action from your side which can be daunting and cumbersome. Using tools like TLP can help in this situation with extending battery life (which is something I used to do for numerous years), but it also might come with its own set of problems, like losing turbo boost. With that said, I needed a simple tool which would automatically make "cpufreq" related changes, save battery like TLP, but let Linux kernel do most of the heavy lifting. That's how auto-cpufreq was born. Please note: auto-cpufreq aims to replace TLP in terms of functionality and after you install auto-cpufreq it's recommended to remove TLP. If both are used for same functionality, i.e: to set CPU frequencies it'll lead to unwanted results like overheating. Hence, only use both tools in tandem if you know what you're doing. Tool/daemon that does not conflict with auto-cpufreq in any way and is even recommended to have running alongside is thermald. Supported architectures and devicesSupported devices must have an Intel, AMD or ARM CPUs. This tool was developed to improve performance and battery life on laptops, but running it on desktop/servers (to lower power consumption) should also be possible. Features
Installing auto-cpufreqSnap storeauto-cpufreq is available on snap store, or can be installed using CLI:
Please note:
auto-cpufreq-installerGet source code, run installer and follow on screen instructions:
In case you encounter any problems with AUR package (Arch/Manjaro Linux)AUR package is available for install. After which Please note: If you want to install auto-cpufreq daemon, do not run Instead run Configuring auto-cpufreqWhile auto-cpufreq makes all decisions automatically based on various factors like cpu usage, temperature or system load. It's possible to perform addition configurations in 2 ways: 1: power_helper.py scriptIf detected as running auto-cpufreq will disable GNOME Power profiles service, which would otherwise cause conflicts and cause problems. By default auto-cpufreq uses If you installed auto-cpufreq using auto-cpufreq-installer, you can switch to
Or if you installed auto-cpufreq using Snap package you can switch to
Please note! In order to have access to After this step, all necessary changes will still be made automatically. However, if you wish to perform additional "manual" settings this can be done by following instructions explained in next step. 2: auto-cpufreq config fileYou can configure profiles for battery and power supply. These profiles will let you pick which governor to use and how and when turbo boost is enabled. The possible values for turbo boost behavior are By default, auto-cpufreq does not use the config file! If you wish to use it, location where config needs to be placed for it to be read automatically is: Example config file contents
How to run auto-cpufreqauto-cpufreq can be run by simply running the
auto-cpufreq modes and optionsMonitor
No changes are made to the system, and is solely made for demonstration purposes what auto-cpufreq could do differently for your system. Live
Necessary changes are temporarily made to the system which are lost with system reboot. This mode is made to evaluate what the system would behave with auto-cpufreq permanently running on the system. Install - auto-cpufreq daemonNecessary changes are made to the system for auto-cpufreq CPU optimization to persist across reboots. Daemon is deployed and then started as a systemd service. Changes are made automatically and live stats are generated for monitoring purposes.
After daemon is installed, Since daemon is running as a systemd service, its status can be seen by running:
If install has been performed as part of snap package, daemon status can be verified by running:
Remove - auto-cpufreq daemonauto-cpufreq daemon and its systemd service, along with all its persistent changes can be removed by running:
StatsIf daemon has been installed, live stats of CPU/system load monitoring and optimization can be seen by running:
TroubleshootingQ: If after installing auto-cpufreq you're (still) experiencing:
A: If you're using This can be done by editing Example line change:
Discussion:DonateShowing your support and appreciation for auto-cpufreq project can be done in two ways:
Financial donationIf auto-cpufreq helped you out and you find it useful, show your appreciation by donating (any amount) to the project! PayPalBitCoinbc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87 Code contributionOther ways of supporting the project consists of making a code or documentation contribution. If you have an idea for a new features or want to implement some of the existing feature requests or fix some of the bugs & issues. Please make your changes and submit a pull request which I'll be glad to review. If your changes are accepted you'll be credited as part of releases page. Please note: auto-cpufreq is looking for co-maintainers & open source developers to help shape future of the project! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论