All Projects → AdnanHodzic → Auto Cpufreq

AdnanHodzic / Auto Cpufreq

Licence: lgpl-3.0
Automatic CPU speed & power optimizer for Linux

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Auto Cpufreq

S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+235.11%)
Mutual labels:  power, cli, cpu, monitoring
Iglance
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar.
Stars: ✭ 1,358 (+61.09%)
Mutual labels:  cpu, monitor, battery
Xfce4 Genmon Scripts
🐭 XFCE panel generic monitor scripts
Stars: ✭ 69 (-91.81%)
Mutual labels:  cpu, monitoring, battery
Pcm
Processor Counter Monitor
Stars: ✭ 1,240 (+47.09%)
Mutual labels:  power, cpu, monitoring
Easy Monitor
企业级 Node.js 应用性能监控与线上故障定位解决方案
Stars: ✭ 2,451 (+190.75%)
Mutual labels:  cpu, monitoring, monitor
Rainbarf
it's like Rainmeter, but for CLI!
Stars: ✭ 1,087 (+28.94%)
Mutual labels:  cpu, monitoring, battery
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-93.71%)
Mutual labels:  daemon, cpu, battery
Lldebugtoolswift
LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
Stars: ✭ 40 (-95.26%)
Mutual labels:  cpu, monitoring, tool
AirPodsDesktop
☄️ AirPods desktop user experience enhancement program, for Windows and Linux (WIP)
Stars: ✭ 462 (-45.2%)
Mutual labels:  monitor, battery, power
Sensors
A macOS application displaying the thermal, voltage and current sensor values.
Stars: ✭ 70 (-91.7%)
Mutual labels:  cpu, battery, power
Supervizer
NodeJS Application Manager
Stars: ✭ 278 (-67.02%)
Mutual labels:  management, cli, monitoring
Stats
macOS system monitor in your menu bar
Stars: ✭ 7,134 (+746.26%)
Mutual labels:  cpu, monitor, battery
Fileboy
fileboy,文件变更监听通知工具,使用 Go 编写。Fileboy, File Change Monitoring Notification Tool, written with Go.
Stars: ✭ 345 (-59.07%)
Mutual labels:  monitoring, monitor, tool
Lldebugtool
LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
Stars: ✭ 673 (-20.17%)
Mutual labels:  cpu, monitoring, tool
Bat
A cat(1) clone with wings.
Stars: ✭ 30,833 (+3557.53%)
Mutual labels:  cli, tool
Librehardwaremonitor
Libre Hardware Monitor, home of the fork of Open Hardware Monitor
Stars: ✭ 685 (-18.74%)
Mutual labels:  monitoring, monitor
Awesome bot
✅ Validate links in awesome projects
Stars: ✭ 697 (-17.32%)
Mutual labels:  cli, tool
Selks
A Suricata based IDS/IPS distro
Stars: ✭ 707 (-16.13%)
Mutual labels:  management, monitoring
Legit
Git for Humans, Inspired by GitHub for Mac™.
Stars: ✭ 5,682 (+574.02%)
Mutual labels:  cli, tool
Hover
Hover helps developers to release Flutter applications on desktop.
Stars: ✭ 698 (-17.2%)
Mutual labels:  cli, tool

auto-cpufreq

Automatic 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

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 will help in this situation with extending battery life (which is something I did for numerous years now), 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: this tool doesn't conflict and works great in tandem with TLP.

Supported architectures and devices

Supported devices must have an Intel, AMD or ARM CPU's. 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

  • 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)

Installing auto-cpufreq

Snap store

auto-cpufreq is available on snap store, or can be installed using CLI:

sudo snap install auto-cpufreq

Please note:

auto-cpufreq-installer

Get source code, run installer and follow on screen instructions:

git clone https://github.com/AdnanHodzic/auto-cpufreq.git
cd auto-cpufreq && sudo ./auto-cpufreq-installer

In case you encounter any problems with auto-cpufreq-installer, please submit a bug report.

AUR package (Arch/Manjaro Linux)

AUR package is available for install. After which auto-cpufreq will be available as a binary and you can refer to auto-cpufreq modes and options.

Please note: If you want to install auto-cpufreq daemon, do not run auto-cpufeq --install otherwise you'll run into an issue: #91, #96.

Instead run systemctl start auto-cpufreq to start the service. Run systemctl status auto-cpufreq to see the status of service, and systemctl enable auto-cpufreq for service to persist running accross reboots.

How to run auto-cpufreq

auto-cpufreq can be run by simply running the auto-cpufreq and following on screen instructions, i.e:

sudo auto-cpufreq

auto-cpufreq modes and options

Monitor

sudo auto-cpufreq --monitor

No changes are made to the system, and is solely made for demonstration purposes what auto-cpufreq could do differently for your system.

Live

sudo auto-cpufreq --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 daemon

Necessary changes are made to the system for auto-cpufreq CPU optimizaton 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.

sudo auto-cpufreq --install

After daemon is installed, auto-cpufreq is available as a binary and is running in the background. Its stats can be viewed by running: auto-cpufreq --stats

Since daemon is running as a systemd service, its status can be seen by running:

systemctl status auto-cpufreq

If install has been performed as part of snap package, daemon status can be verified by running:

systemctl status snap.auto-cpufreq.service.service

Remove - auto-cpufreq daemon

auto-cpufreq daemon and its systemd service, along with all its persistent changes can be removed by running:

sudo auto-cpufreq --remove

Stats

If daemon has been installed, live stats of CPU/system load monitoring and optimization can be seen by running:

auto-cpufreq --stats

Discussion:

Donate

Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!

PayPal

paypal

BitCoin

bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87

bitcoin

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].