throttlestop | Simple tool to manage thermal behaviour on Linux

 by   agoose77 Python Version: v0.0.5 License: MIT

kandi X-RAY | throttlestop Summary

kandi X-RAY | throttlestop Summary

throttlestop is a Python library typically used in Hardware applications. throttlestop has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However throttlestop build file is not available. You can download it from GitHub.

Simple tool to manage thermal behaviour on Linux for Intel CPUs with a MSR.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              throttlestop has a low active ecosystem.
              It has 47 star(s) with 3 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 6 have been closed. On average issues are closed in 39 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of throttlestop is v0.0.5

            kandi-Quality Quality

              throttlestop has 0 bugs and 0 code smells.

            kandi-Security Security

              throttlestop has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              throttlestop code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              throttlestop is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              throttlestop releases are available to install and integrate.
              throttlestop has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              throttlestop saves you 101 person hours of effort in developing the same functionality from scratch.
              It has 257 lines of code, 23 functions and 5 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed throttlestop and discovered the below as its top functions. This is intended to give you an instant insight into throttlestop implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            throttlestop Key Features

            No Key Features are available at this moment for throttlestop.

            throttlestop Examples and Code Snippets

            throttlestop,Installation
            Pythondot img1Lines of Code : 10dot img1License : Permissive (MIT)
            copy iconCopy
            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

            How to make changes to msr 0x199 from EFI stick?
            Asked 2019-May-27 at 15:12

            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:12

            You 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

            Source https://stackoverflow.com/questions/56323657

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install throttlestop

            Requires msr-tools: sudo apt install msr-tools. Install tool with sudo pip3 install throttlestop.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/agoose77/throttlestop.git

          • CLI

            gh repo clone agoose77/throttlestop

          • sshUrl

            git@github.com:agoose77/throttlestop.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by agoose77

            numpy-html

            by agoose77Python

            jupyterlab-markup

            by agoose77TypeScript

            GOAP

            by agoose77Python

            PyAuthServer

            by agoose77Python

            qt-jsonschema-form

            by agoose77Python