throttlestop | Simple tool to manage thermal behaviour on Linux
kandi X-RAY | throttlestop Summary
kandi X-RAY | throttlestop Summary
Simple tool to manage thermal behaviour on Linux for Intel CPUs with a MSR.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Calculate the MSR volume
- Calculate the offset of a given voltage
- Validate that the given test address is installed
- Applies delta to a namespace
- Build MSR_TEMPERATURE_TARGET_TARGET
- Build a power - limit key
- Determine the solution of the k - value distribution
- Builds the PSR power limit
- Returns the value before n
- Parse the MSR_TEM_TEMPERATURE_TEMPERATURE_TEMPERATURE_TEMPERATURE_TARGET_TEMPERATURE_TARGET_TARGET_TEMPERATURE_TARGETS
- Parse a keypair
- Parse the MSR_PK_POWER_LIMIT
- Parse the MSR RAPL_RAPL_POWER
- Read the value of an address
- Run a command
- Write a value to a given address
- Create a new index from n
- Parse MSR UNVOLTage value
throttlestop Key Features
throttlestop Examples and Code Snippets
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
Community Discussions
Trending Discussions on throttlestop
QUESTION
I have a macbookpro11,3 without a battery. When battery is removed the firmware throttles the CPU to half speed. In Windows I can override this using Throttlestop to turn off BD PROCHOT and set multiplier to 25. I want to do this from EFI so that boot and updates run at a normal speed.
Based on source for rEFInd which updates 0x3a register I wrote this program but while BD PROCHOT is disabled correctly after booting into Windows the multiplier is not.
...ANSWER
Answered 2019-May-27 at 15:12You have to create a loop and change processor affinity each time through the loop. Then you do a wrmsr for each thread (CPU1, CPU2, CPU3, CPU4) each time through the loop. In Windows you use this function.
https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-setthreadaffinitymask
As soon as you boot up, Windows changes the values in MSR 0x199 so seeing what values are in MSR 0x199 after you boot up does not prove anything.
To simplify things, you can do this in SetMultiplier,
low_bits = 0x1900
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install throttlestop
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page