Skip to content

Linux port of the AmdMsrTweaker program to adjust p-states for AMD 10h, 12h and 15h family processors

License

Notifications You must be signed in to change notification settings

psyborg55/amdmsrtweaker-lnx

 
 

Repository files navigation

updated

this fork contains changes that add additional APM related parameters as well as possibility to force CPU into boost states on FX-9830P disabling APM was not possible this way, smucfglock bit could not be cleared even though DS list it as rw, forcing boost states is possible by passing BoostForce=1 argument, however CPU needs to already be in one of the boost states otherwise it will freeze if it is in a state you are disabling. this gains some speed-up in compute scenarios as the cores don't downclock anymore below 3.5GHz

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.)

About

Linux port of the AmdMsrTweaker program to adjust p-states for AMD 10h, 12h and 15h family processors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.4%
  • Makefile 1.6%