Page 3 of 3 FirstFirst 123
Results 51 to 59 of 59

Thread: New tool: AmdMsrTweaker

  1. #51
    Xtreme Member
    Join Date
    Jul 2010
    Location
    EU, USA
    Posts
    150
    Quote Originally Posted by MarcusBSN View Post
    The new release supporting Trinity is now online. I started a new thread here: http://www.xtremesystems.org/forums/...r-New-Versions

    Not for now. But it is definitely something to look into. But I'd have to at least rewrite the class that uses WinRing0 on Windows to write the MSRs.
    AMD has published everything so far, boosted P-state Pb0 is disabled in Trinity laptops, so they might overheat if used. Here's what I get on my A8-4500M:


    Code:
    $ sudo k10ctl 0 
    Warning: No AMD Family 10h processor
    VID interface mode: serial
    
    CPU0
    Current P-State: 4      Fastest P-State: 1
                   NbVid   NbDid  CpuVid  CpuDid  CpuFid           UNb   CpuMult      UCpu     PCore
    P-State 0:         0       0      66       0       7      1550.0mV  11.50000   725.0mV    6525mW
    P-State 1:         0       0      66       0       7      1550.0mV  11.50000   725.0mV    6525mW
    P-State 2:         0       0      84       0       3      1550.0mV   9.50000   500.0mV    2800mW
    P-State 3:         0       0      92       0       2      1550.0mV   9.00000   400.0mV    2000mW
    P-State 4:         0       0     100       0       1      1550.0mV   8.50000   300.0mV    1290mW
    Low Limit:       124       1     124                         0.0mV   0.50000     0.0mV
    High Limit:        0       1       0                      1550.0mV  14.00000  1550.0mV
    Target:           42       1     108       1      12      1025.0mV   7.00000   200.0mV
    Current:          40       0     108       1      12      1050.0mV   7.00000   200.0mV

  2. #52
    Registered User
    Join Date
    Mar 2013
    Posts
    10
    Well, a few things:
    • Given the changes to Fam15 CPUs, especially the APU derivatives, it's no wonder the output doesn't make too much sense
    • The PDF you linked is for Fam10 (Athlon, Phenom), not Trinity. But I would have the docs needed, just in case.
    • k10ctl is written in Pascal. I would like to avoid that programming language, even if I have some experience in it (quite a while ago).


    I can understand your desire to have such a tool for Linux as well. It's just that at the moment I lack the time to write such a tool from scratch or even just write the low level access layer for AmdMsrTweaker (apart from that some Windows-specific calls would have to be replaced too).

    If you are really hardcore, you could use the rdmsr and wrmsr tools available on Linux. You would have to use the tech docs to figure which value needs to go to which register, which can be quite the pain if done manually. Also some settings are in the PCI configuration space. I dunno if those programs can write there. On the upside, those registers are actually exposed via the /dev and /proc filesystems on Linux.

  3. #53
    Xtreme Member
    Join Date
    Jul 2010
    Location
    EU, USA
    Posts
    150
    Yea the PDF is for 10h only, I thought it would help you to know that AMD does publish a complete developer’s guide.

    Everything is wrong in my table above, he’s even using 200 muliplier, but he’s still fetching the same values as PSCheck, so he’s half-way there

    Does the language matter? It would be a very small app. My understanding is that you just put the values in the registers and the CPU does all the work after that. AMD is very conservative with their stock voltages, so it would be nice to undervolt, with 8 cores the power savings will add up.

  4. #54
    Registered User
    Join Date
    Mar 2013
    Posts
    10
    Thank you for trying to be helpful. I have those guides, otherwise I wouldn't have been able to update the tool for Trinity

    Basically you are right. However, doing it in Pascal is a pain and you need to consider a lot of things that are different across families. So yes, the source code of k10ctl is a starting point, but it would take quite some time to get familiar with it. Time I don't have at the moment.

  5. #55
    Xtreme Enthusiast
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    954
    Link has expired. Is it possible to download it anywhere?
    Puni's rig _.->*new?D*<-._ PRIME STABLE OC - CLICK HERE: Cooler Master HAF X NVIDIA EDITION Asus M4A89TD PRO/USB3 + AMD FX-8350 @210x21=4,42Ghz blue voltages (NB/HT @2320Mhz/2730Mhz) + Asus/Zotac GTX580 SLI @851-1702/4204Mhz 1,063V + 8GB of Samsung 30nm DDR3 @1966Mhz 9-9-9-27 1,5V | Caviar Black 3TB SATA III RAID0 | BenQ XL2420TX NVIDIA 3D Vision 2 Lightboost ready | Win7x64 | 3DMark11 - CLICK HERE | 3DMark Vantage - CLICK HERE

  6. #56
    Registered User
    Join Date
    Mar 2013
    Posts
    10
    Look in the new thread here: AmdMsrTweaker - New Versions

  7. #57
    Xtreme Enthusiast
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    954
    Quote Originally Posted by MarcusBSN View Post
    Look in the new thread here: AmdMsrTweaker - New Versions
    Thanks.

    Inviato dal mio Nexus 4 con Tapatalk 2
    Puni's rig _.->*new?D*<-._ PRIME STABLE OC - CLICK HERE: Cooler Master HAF X NVIDIA EDITION Asus M4A89TD PRO/USB3 + AMD FX-8350 @210x21=4,42Ghz blue voltages (NB/HT @2320Mhz/2730Mhz) + Asus/Zotac GTX580 SLI @851-1702/4204Mhz 1,063V + 8GB of Samsung 30nm DDR3 @1966Mhz 9-9-9-27 1,5V | Caviar Black 3TB SATA III RAID0 | BenQ XL2420TX NVIDIA 3D Vision 2 Lightboost ready | Win7x64 | 3DMark11 - CLICK HERE | 3DMark Vantage - CLICK HERE

  8. #58
    Registered User
    Join Date
    Apr 2013
    Posts
    4

    Linux version

    I ported the tool to Linux. It works with a E-350 and an A10-5700 and should work with all processors supported by AmdMsrTweaker. (/proc/cpuinfo does not reflect the changed frequency)

    How to get it:
    Clone the repo https://github.com/johkra/amdmsrtweaker-lnx , execute "make" in the source directory and use the resulting "amdmsrt" executable.

    How to use it:
    Make sure you have the msr and cpuid modules loaded ("modprobe msr"/"modprobe cpuid" as root). The use it like AmdMsrTweaker.exe. The Linux "amdmsrt" executable has to be run as root.

    I would like to hear from others if they had any problems with the port and hope I could help someone. :-)

  9. #59
    Registered User
    Join Date
    Apr 2013
    Posts
    4

    Downloads for Linux version

    I added precompiled binaries for those who don't want to compile the code.

    Please see the readme for 32bit and 64bit download links.

Page 3 of 3 FirstFirst 123

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •