Bitcoin Forum
April 25, 2024, 04:00:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 64
  Print  
Author Topic: AMD Mem Tweak XL - Read/modify timings/pp/straps on the fly  (Read 58785 times)
Eliovp (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
March 22, 2019, 11:48:49 PM
Last edit: May 26, 2020, 10:51:28 AM by Eliovp
Merited by fr4nkthetank (50), Claymore (30), rednoW (25), suchmoon (19), Bojcha (18), xandry (10), doktor83 (10), Metroid (10), jstefanop (10), dagarair (10), frodocooper (7), deadsix (6), chup (5), herrdrone (5), kingcolex (5), cudapop (5), Elder III (2), MATHReX (2), pbfarmer (2), vapourminer (1), madnessteat (1), scryptr (1), coinscrow (1), P00P135 (1), Ursul0 (1), PIOUPIOU99 (1), todxx (1), RuMiner (1), Ryzen2700x (1), Zorg33 (1)
 #1

Edit:

Releasing AMD Memory Tweak XL (the extended version :p)

link: Here

Got Vega's? Check out TeamRedMiner for a boost in performance! (i write this at free will, no one asked me!)
link: TRM

Support
  • GDDR5 Based AMD GPU's (ADL & MMIO)
  • HBM / HBM2 Based AMD GPU's (ADL & MMIO)
  • Vega10 (PowerPlay & Strap Control)
  • Polaris (Powerplay & Strap Control)
  • Navi10 might come later.. dunno .. we'll see
  • Windows

Features
  • MMIO Register Control (Read/Write) GDDR5/HBM/HBM2
  • ADL Overdrive (Read/Write) Latest Overdrive Versions supported
  • PowerPlay Control (Read/Write) Polaris & Vega10
  • Strap Control (Read/Write/Decode/Encode) Polaris & Vega10
  • Import/Export all values
  • ....

more info on github.. Smiley


Initial post
-----------
Hey all,

It's been a while since i've been active here, that however doesn't mean that i wasn't active behind the scenes Wink

I have done a lot of debating with myself whether i would share this.
Well, i decided to do so and on top of that, open source it.

What is this?

Well, with this tool, you are able to change memory timings on the fly.
Yes, you read that correct, you can modify almost any value while the GPU is running.
(kind of comparable to the ETH Pill but open source and without forgetting to mention the person who figured out the huge speed increase in the first place Wink)

Some examples from users what this tool is capable of from users: (this might not be ideal for your own GPU's)

N2DCRYPT
todxx
GKumaran
GKumaran
rednoW
rednoW
rednoW
heavyarms1912
Lexele
kibatronic
pbfarmer
Mashy81
Anwil

PBFarmer Vega

Video From Buriedone
Video From BitsBeTrippin
Video 2 From BitsBeTrippin

Short list of some of the timings and a bit of explanation
more soon..

Current support:
- AMD GPU's with GDDR5, HBM and HBM2 memory. (check code for more details)
- Linux only
- Windows supported

As of now, also a GUI version (Windows)
Can be found in the releases section on github.
Link: Github
Direct Link for latest GUI version: GUI
Direct Link for latest CLI version: CLI

Some shots:



Check Readme for some additional info and how to build.

Tips
BTC: 3FEMi7FxD6dTKyhmvd3pRBPFBn3DuPmbvd
ETH: 0x8C77C212da3e12cad1AfB8824CF74b1CC04d2F7C
XMR: 49qsZpFA79B85a8UeNNg6sgHzJrrrCQwLa8vUb5s5PG14aNKK1kKZgT2fQ87CWFvWCA135WDos6odYQ UER6XKhfWPEKe8kv

In the unlikely event of not owning either BTC, ETH or XMR and you do want to be an amazing person and tip, shapeshift, changelly, simpleswap, ... are great ways to solve that "issue" ;-)



Enjoy and have fun tweaking! Smiley


Cheerio!

1714060840
Hero Member
*
Offline Offline

Posts: 1714060840

View Profile Personal Message (Offline)

Ignore
1714060840
Reply with quote  #2

1714060840
Report to moderator
1714060840
Hero Member
*
Offline Offline

Posts: 1714060840

View Profile Personal Message (Offline)

Ignore
1714060840
Reply with quote  #2

1714060840
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714060840
Hero Member
*
Offline Offline

Posts: 1714060840

View Profile Personal Message (Offline)

Ignore
1714060840
Reply with quote  #2

1714060840
Report to moderator
jstefanop
Legendary
*
Offline Offline

Activity: 2090
Merit: 1396


View Profile
March 23, 2019, 01:36:43 AM
 #2

I commend you for open sourcing this...good to see other like minded people still around here  Wink

What are you getting on Vega VII, im sure over 100MH is easily achievable with timing changes.

This might entice me to play around with GPUs again Cheesy

Project Apollo: A Pod Miner Designed for the Home https://bitcointalk.org/index.php?topic=4974036
FutureBit Moonlander 2 USB Scrypt Stick Miner: https://bitcointalk.org/index.php?topic=2125643.0
HWReset
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 23, 2019, 02:50:33 AM
 #3

Hello, nice job!

What about vega56`s timings?
FloppyPurpleGherkin
Jr. Member
*
Offline Offline

Activity: 306
Merit: 2


View Profile
March 23, 2019, 06:44:10 AM
 #4

Thanks for sharing.
rednoW
Legendary
*
Offline Offline

Activity: 1510
Merit: 1003


View Profile
March 23, 2019, 07:47:44 AM
 #5

Linux only ((
Eliovp (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
March 23, 2019, 09:25:00 AM
 #6

I commend you for open sourcing this...good to see other like minded people still around here  Wink

What are you getting on Vega VII, im sure over 100MH is easily achievable with timing changes.

This might entice me to play around with GPUs again Cheesy

That's for you to figure out what's possible ;-)
The options are there to achieve better results, just gotta find them.
I hope this could be a community effort to tweak and perhaps find new tricks ;-)

Hello, nice job!

What about vega56`s timings?


As i said above, the options are there Smiley


Thanks for sharing.

You're very welcome.

Linux only ((

That is correct.
Spread some Linux love.. no? :p

RuMiner
Member
**
Offline Offline

Activity: 168
Merit: 15


View Profile
March 23, 2019, 10:16:09 AM
 #7

is there a chance to get Windows build? Smiley
qwep1
Hero Member
*****
Offline Offline

Activity: 610
Merit: 500


View Profile
March 23, 2019, 11:14:18 AM
 #8

Win bild ?

              ▄▄██▄▄
          ▄▄██████████▄▄
      ▄▄██████████████████▄▄
  ▄▄██████████▀▀ ▀▀██████████▄▄
▄█████████▀▀          ▀▀█████████▄
██████▀▀        ▄▄        ▀▀██████
██████      ▄▄██████▄▄      ██████
██████    ██████████████    ██████
██████    ██████████████    ██████
██████    ██████████████    ██████
██████      ▀▀██████▀▀      ██████
██████          ▀▀        ▄▄██████
▀█████    ▄▄          ▄▄█████████▀
   ▀▀█    ████▄▄ ▄▄██████████▀▀
          ████████████████▀▀
          ▀▀██████████▀▀
              ▀▀██▀▀
P H O R E

     █
    █
   █
  █
   █
    █
   █
  █
 █
    KryptKoin rebranded to Phore   
     █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
PoS 3.0  -  Masternodes  -  Obfuscation


     █
    █
   █
  █
   █
    █
   █
  █
 █
.


            ▄▄██▄▄
        ▄▄██████████▄▄
    ▄▄████████▀▀████████▄▄
 ▄████████▀▀      ▀▀████████▄
▐█████▀▀              ▀▀█████▌
▐████       ▄▄██▄▄       ████▌
▐████    ▄██████████▄    ████▌
▐████    ████████████    ████▌
▐████    ▀██████████▀    ████▌
▐████       ▀▀██▀▀       ████▌
 ▀███                 ▄▄█████▌
    ▀    █▄▄      ▄▄████████▀
         █████▄▄████████▀▀
         ▀██████████▀▀
            ▀▀██▀▀
dagarair
Sr. Member
****
Offline Offline

Activity: 847
Merit: 383



View Profile WWW
March 23, 2019, 11:34:06 AM
 #9

My boy lives!   Tongue

I knew it but most thought you ran off with the maid or something. 

4MW Data Center - I BUILT Tongue  - Full story below:
https://bitcointalk.org/index.php?topic=4789787.msg43227027#msg43227027
nordmann666
Member
**
Offline Offline

Activity: 361
Merit: 16


View Profile
March 23, 2019, 11:43:49 AM
 #10

any hints for linux noobs² how to add this to hiveOS?

i can build it but the requirements...i cant
Eliovp (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
March 23, 2019, 12:04:38 PM
 #11

is there a chance to get Windows build? Smiley

Not from me, you are all of course open to build something yourself  Wink

Win bild ?

Read above.

My boy lives!   Tongue

I knew it but most thought you ran off with the maid or something. 

I did, then she ran off on me so i had to come back  Smiley

any hints for linux noobs² how to add this to hiveOS?

i can build it but the requirements...i cant

There's a build on github mate, Link

Cheers

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
March 23, 2019, 12:54:29 PM
 #12

is there a chance to get Windows build? Smiley

Not from me, you are all of course open to build something yourself  Wink

Win bild ?

Read above.

My boy lives!   Tongue

I knew it but most thought you ran off with the maid or something.  

I did, then she ran off on me so i had to come back  Smiley

any hints for linux noobs² how to add this to hiveOS?

i can build it but the requirements...i cant

There's a build on github mate, Link

Cheers

You should discourage the windows user a bit more Tongue. Tell them they need a special kernel driver to map and work with physical memory, usually signed unless they tinker with disabling kernel signing. Luckily the pciutils package has a windows port, but other things aren't as easy.

They are lucky though, this is 2019 and those drivers exist.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Iamtutut
Full Member
***
Offline Offline

Activity: 1120
Merit: 131


View Profile
March 23, 2019, 12:56:57 PM
 #13

I hope someone can convert it for win 10. I have a single machine for mining, and I can't run it with Linux.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
March 23, 2019, 01:04:08 PM
 #14

I hope someone can convert it for win 10. I have a single machine for mining, and I can't run it with Linux.
Why not? Linux is great!

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
nordmann666
Member
**
Offline Offline

Activity: 361
Merit: 16


View Profile
March 23, 2019, 01:14:33 PM
 #15

is there a chance to get Windows build? Smiley

Not from me, you are all of course open to build something yourself  Wink

Win bild ?

Read above.

My boy lives!   Tongue

I knew it but most thought you ran off with the maid or something. 

I did, then she ran off on me so i had to come back  Smiley

any hints for linux noobs² how to add this to hiveOS?

i can build it but the requirements...i cant

There's a build on github mate, Link

Cheers

ok...but...how to install  Huh  Grin
Iamtutut
Full Member
***
Offline Offline

Activity: 1120
Merit: 131


View Profile
March 23, 2019, 01:16:04 PM
 #16

I hope someone can convert it for win 10. I have a single machine for mining, and I can't run it with Linux.
Why not? Linux is great!

Family machine doing everything (videos, music, work, browsing, gaming, mining...), it has to stay on win10. I'm not the only user.
Zorg33
Jr. Member
*
Offline Offline

Activity: 144
Merit: 2


View Profile
March 23, 2019, 01:25:27 PM
 #17

Changed timings does not remain after reboot from linux to win?
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
March 23, 2019, 02:11:40 PM
 #18

Changed timings does not remain after reboot from linux to win?
Probably? I mean, I'm not sure but it's not like you are flashing a different BIOS.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
March 23, 2019, 02:41:48 PM
 #19

@OP, can you do me a favor?

Can you cat /sys/kernel/debug/dri/%d/amdgpu_regs for me please? is amdgpu_regs static, or does it change?

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
buzzkillb
Sr. Member
****
Offline Offline

Activity: 1021
Merit: 324


View Profile
March 23, 2019, 03:17:44 PM
 #20

nice work, taking mining back to the old days of people helping each other, and not being a bunch of greedy bastards!  Kiss
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 64
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!