Linux port of the AmdMsrTweaker program to adjust p-states for AMD 10h, 12h and 15h family processors
C++ C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
AmdMsrTweaker.cpp
Info.cpp
Info.h
LICENSE
Makefile
README.md
StringUtils.h
WinRing0.cpp
WinRing0.h
Worker.cpp
Worker.h
amdmsrt-amd64.zip
amdmsrt-i386.zip
readme.txt

README.md

amdmsrt

amdmsrt (amdmsrtweaker-lnx) is a Linux port of the AmdMsrTweaker tool written by Martin Kinkelin and extended by Marcus Pollice.

It has been tested with a 14h (AMD E-350) and a 15h (AMD A10-5700) processor, but should work with all processors supported by AmdMsrTweaker. (Fam 10h-15h)

Changes to frequency will not be reflected by /proc/cpuinfo, but a quick benchmark such as "openssl speed sha1" should show a speed difference.

Download

You can download statically compiled executables from bintray. After downloading and extracting, you might have to make the file executable. You can do this with "chmod +x amdmsrt-amd64" (or "chmod +x amdmsrt-i386") in a shell or in the file properties if you use a graphical file manager.

Compilation

Clone the repo and make sure you have gcc and make installed. Then execute "make" in the cloned directory. Optionally copy the file "amdmsrt" to a directory in $PATH such as /usr/bin or /usr/local/bin.

Usage

Make sure you have the msr and cpuid modules loaded. ("modprobe msr"/"modprobe cpuid" as root) The program will otherwise exit with a corresponding error message.

See the file "readme.txt" for usage examples. The program has to executed as root and the executable is called "amdmsrt".

TODO

  • Proper documentation
  • Find a way to modify GPU p-states for Trinity. (10W more in idle on Linux compared to Windows, probably caused by missing Linux PowerPlay support for Trinity with the open drivers.)