https://github.com/agoose77/throttlestop

Simple tool to manage thermal behaviour on Linux

https://github.com/agoose77/throttlestop

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.5%) to scientific vocabulary

Keywords

intel linux msr python throttling
Last synced: 5 months ago · JSON representation

Repository

Simple tool to manage thermal behaviour on Linux

Basic Info
  • Host: GitHub
  • Owner: agoose77
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 39.1 KB
Statistics
  • Stars: 137
  • Watchers: 9
  • Forks: 8
  • Open Issues: 6
  • Releases: 3
Topics
intel linux msr python throttling
Created about 7 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

throttlestop

pypi-badge

Simple tool to manage thermal behaviour on Linux for Intel CPUs with a MSR.

Disclaimer

If this tool works, great! However, no guarantees are made that it won't hasten the heat death of the universe through the spontaneous combustion of your CPU.

XKCD existential bug reports
XKCD Workflow

Installation

Requires msr-tools: sudo apt install msr-tools

Install tool with sudo pip3 install throttlestop

Install service with 30 second interval and 4 minute delay using sudo throttlestop-install-service -i 30s -d 4min, and configure the service using the interactive prompt (it will find the python binary with sys.executable): bash Enter systemd configuration lines: /usr/bin/python3 -m throttlestop voltage "{\"cache\": -149, \"cpu\": -149}" /usr/bin/python3 -m throttlestop temperature "{\"offset\": 20}" /usr/bin/python3 -m throttlestop # Hit return to exit Finished configuring service!

Activate service with bash systemctl daemon-reload systemctl enable throttlestop systemctl start throttlestop systemctl enable throttlestop.timer systemctl start throttlestop.timer

API

sudo throttlestop SECTION [JSON-STRING],

where SECTION is one of (tdp, voltage, temperature). Provide JSON JSON-STRING argument to set the SECTION value, or omit it to read (as a JSON string).

The JSON-STRING is applied as a delta to the output of the command, which can be obtained using sudo throttlestop SECTION

Inspired by: * https://github.com/mihic/linux-intel-undervolt * https://gist.github.com/Mnkai/5a8edd34bd949199224b33bd90b8c3d4 * https://github.com/razvanlupusoru/Intel-RAPL-via-Sysfs/blob/master/README.txt#L112 (Though the scheme is incorrect) * https://github.com/georgewhewell/undervolt

Owner

  • Name: Angus Hollands
  • Login: agoose77
  • Kind: user
  • Location: United Kingdom
  • Company: 2i2c

Open Source Infrastructure Engineer @ 2i2c. Executable Books core team member. PhD in Nuclear Physics from the University of Birmingham.

GitHub Events

Total
  • Release event: 1
  • Watch event: 16
  • Push event: 1
  • Create event: 1
Last Year
  • Release event: 1
  • Watch event: 16
  • Push event: 1
  • Create event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 12
  • Total pull requests: 1
  • Average time to close issues: about 1 month
  • Average time to close pull requests: less than a minute
  • Total issue authors: 9
  • Total pull request authors: 1
  • Average comments per issue: 1.33
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • agoose77 (2)
  • stephendt (2)
  • SalimF (2)
  • LinusChen-yf (1)
  • user987098 (1)
  • Zibri (1)
  • dreamcat4 (1)
  • kastoestoramadus (1)
  • tloki (1)
Pull Request Authors
  • agoose77 (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels