[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

auto-epp is a python script that manages the energy performance preferences (EPP) of amd-pstate-epp

License

Notifications You must be signed in to change notification settings

jothi-prasath/auto-epp

Repository files navigation

auto-epp

auto-epp

auto-epp is a python script that manages the energy performance preferences (EPP) of your AMD CPU using the AMD-Pstate driver. It adjusts the EPP settings based on whether your system is running on AC power or battery power, helping optimize power consumption and performance.

Index

Requirements

  • AMD CPU with the AMD-Pstate-EPP driver enabled.
  • Python 3.x

To enable amd-pstate-epp

This can be done by editing the GRUB_CMDLINE_LINUX_DEFAULT params in /etc/default/grub. Follow these steps:

  1. Open the grub file using the following command:
sudo nano /etc/default/grub
  1. Within the file, modify the GRUB_CMDLINE_LINUX_DEFAULT line to include the setting for AMD P-State EPP:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_pstate=active"

Quick Install

To quickly install auto-epp, just copy and paste this to your terminal (if you have curl installed):

curl https://raw.githubusercontent.com/jothi-prasath/auto-epp/master/quick-install.sh | sudo bash

For Arch Linux

On Arch Linux, and Arch-based distributions, auto-epp can be found in the AUR. Install with an AUR helper like yay:

yay auto-epp

For NixOS

On NixOS (unstable for now) an option can be enabled to install and enable auto-epp.

To enable with the default configuration:

services.auto-epp.enable = true;

Detailed options available on nixos.org

Manual Install

git clone https://github.com/jothi-prasath/auto-epp
cd auto-epp
chmod +x ./install.sh
sudo ./install.sh

Usage

Monitor the service status

systemctl status auto-epp

To restart the service

sudo systemctl restart auto-epp

Edit the config file

sudo nano /etc/auto-epp.conf

uninstall

To uninstall auto-epp

chmod +x ./uninstall.sh
sudo ./uninstall.sh

About

auto-epp is a python script that manages the energy performance preferences (EPP) of amd-pstate-epp

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 4

  •  
  •  
  •  
  •