Code Monkey home page Code Monkey logo

t430-linux-cpu-manager's Introduction

linux-cpu-manager

Linux CPU manager is a service that allows the user to control CPU performance modes via included governors and prevent overheating with the included pre-emptive throttling functionality.

Work in progress.

How to run

This service is guaranteed to run on a fresh installation of Ubuntu 18.04. It may run on other recent distributions, too, such as Arch Linux, but at this point others have not been tested.

  1. Make sure that thermald is not running and in a disabled state as it conflicts with the CPU manager. Run sudo systemctl disable thermald.service and sudo systemctl stop thermald.service to make sure that it is not running.

  2. To deploy the dbus config file, run sudo bash deploy-dbus-conf.sh

  3. Start the service with sudo python3 src/btd-service. The service should be running with debug output in the console.

  4. To change the governor, run python3 src/btd-client 'governor-name-here'. Example of setting the governor to powersave mode: python3 src/btd-client powersave

t430-linux-cpu-manager's People

Contributors

hermanio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.