Code Monkey home page Code Monkey logo

ryzen_monitor's Introduction

ryzen_monitor

Monitor power information of Ryzen processors via the PM table of the SMU.

This tool is based on the ryzen_smu kernel module for reading the PM Table from the SMU. It is a continuation of the demo-tool provided with that project.

ryzen_monitor features support for multiple PM table versions (i.e. multiple bios versions), adds support for Ryzen 5000, and presents more fields to user. It is especially focused around providing a more realistic image of the actual power draw and hence true thermal output of the CPU package.

Supported CPUs

  • Ryzen 5000 series
    • Ryzen 9 5950X
    • Ryzen 9 5900X
    • Ryzen 7 5800X
    • Ryzen 5 5600X
    • Ryzen 7 5700G
    • Ryzen 5 5600G
  • Ryzen 3000 series
    • Ryzen 7 3700X
    • Ryzen 9 3900X
    • Ryzen 9 3950X
    • Other non-Threadripper models will probably work, but are untested

Note: Support also depends on the PM table version that ships with your BIOS and whether ryzen_monitor already knows how to read it.

Screenshot

ryzen monitor

Building

First install the kernel module from leogx9r:ryzen_smu. If you don't have any luck with the above module, try this fork: linnaea:ryzen_smu A good indication of whether the above module works for you is by checking whether /sys/kernel/ryzen_smu_drv/pm_table is available.

Then pull and make ryzen_monitor:

git clone https://github.com/hattedsquirrel/ryzen_monitor.git
cd ryzen_monitor/
make

sudo ./src/ryzen_monitor

Enjoy!

About the quality of the provided information

Don't rely on the information given by this tool.

To my knowledge there is no official documentation on how to do this. Everything was created by starring at numbers, a lot of guesswork and finding fragments somewhere on the web. It is possible that some assignments or calculations are incorrect.

This program is provided as is. If anything, it is a toy for the curious. Nothing more. Use it at your own risk.

ryzen_monitor's People

Contributors

hattedsquirrel avatar larryhopecode avatar irusanov 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.