Bitcoin Forum
April 26, 2024, 12:58:01 AM *
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 52 53 54 ... 64 »
  Print  
Author Topic: AMD Mem Tweak XL - Read/modify timings/pp/straps on the fly  (Read 58785 times)
JFoxOne
Member
**
Offline Offline

Activity: 640
Merit: 56


minerstat


View Profile WWW
March 25, 2019, 02:21:42 PM
 #61

... I still expect mining OS's to have it built in soon. ...

Already added it to our minerstat OS ...

And it works.
User reported the increase from 38MH/s to 52MH/s on his Vegas.

From 38 to 52, i doubt it  Wink

This isn't a hocus pocus tool :p

I'm just excited to share the result of the user and I don't think he would lie about it.
But if you are curious about the results, you can talk with the user that reported the results on our Discord.

Edit: We have updated it to the latest version.

All you're doing is advertising your discord.  Post a screenshot of the result here instead of defending the posts would've made it lot more easier.

Our Discord is fairly uninteresting to most as it mostly contains updates and live support chats. If you think that's worth advertising... I think not.
I gave an option to contact the person about the results. Could I do it differently? Probably yes, as there are million different ways that you would (or wouldn't) like, but this was the easiest and shortest for me.

Only thing I'm promoting is this tool and my excitement that it works on our OS (which could be seen as advertisement for sure, I agree).

1714093081
Hero Member
*
Offline Offline

Posts: 1714093081

View Profile Personal Message (Offline)

Ignore
1714093081
Reply with quote  #2

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

Activity: 7
Merit: 11


View Profile
March 25, 2019, 04:01:17 PM
 #62

@Elivop seems like wtrl is not working hbm2
cl4r0s
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 25, 2019, 05:32:24 PM
 #63

For rx580 this thing got no use, my opinion. You have allredy stripped firmwares all over the net, why you would use this for 580 Huh
This has use for Vega cards because you dont have other option Wink

So that you can experiment with live values instead of BIOS modding every time?

There are a plenty of Polaris cards of different producer without any available bios and then the WX-x100 series (amd pro cards) which are not compatible with the timings “one click” or available on internet. Having a tool like this one available for Polaris cards would be a great advantage, at least for a wx-5100 owner like myself

Ciao


If this card works under Linux, then the information about the memory and timings may reside in the driver sources. The vbios is also on the card, just a matter of dumping it, as for whether any tool can recognize structures or not, thats a different story.

Even if I can appreciate a generic answer like yours, my post was a direct request to the author to add Polaris cards in the KnownGpus of this tool



Eliovp (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
March 25, 2019, 05:42:09 PM
 #64

@Elivop seems like wtrl is not working hbm2

Answered on github, will copy what i wrote:

Quote
Some values won't have a direct "noticeable" effect.
That however doesn't mean they are there for no reason.
I just verified to be sure that i didn't miss anything. It's working as it's suppose to.



Even if I can appreciate a generic answer like yours, my post was a direct request to the author to add Polaris cards in the KnownGpus of this tool


Open source, you can easily add whatever you want ;-)

Cheers!

windward
Newbie
*
Offline Offline

Activity: 7
Merit: 11


View Profile
March 25, 2019, 05:45:03 PM
Merited by frodocooper (5)
 #65

ok i did a lot of playing around with this and on hive os with vega 64 i found these to be the best values

rc 45        

faw 19        

ref 15000  

rfc 247

no improvements on cryptonight algos

https://imgur.com/a/28b4I15
Beave162
Hero Member
*****
Offline Offline

Activity: 809
Merit: 501



View Profile
March 25, 2019, 05:50:56 PM
 #66

Has anyone tried it on 550/560 cards? Or 580 cards? Changing CL at all crashes everything.

Thanks so much, Eliovp!

YaCoin: YL5kf54wPPXKsXd5T18xCaNkyUsS1DgY7z 
BitCoin: 14PFbLyUdTyxZg3V8hnvj5VXkx3dhthmDj
windward
Newbie
*
Offline Offline

Activity: 7
Merit: 11


View Profile
March 25, 2019, 05:56:32 PM
 #67

..... Changing CL at all crashes everything. ...

as it says in the new update cl is about stability messing with it in any way is not good
pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
March 25, 2019, 06:38:44 PM
 #68

... I still expect mining OS's to have it built in soon. ...

Already added it to our minerstat OS ...

And it works.
User reported the increase from 38MH/s to 52MH/s on his Vegas.

From 38 to 52, i doubt it  Wink

This isn't a hocus pocus tool :p

I'm just excited to share the result of the user and I don't think he would lie about it.
But if you are curious about the results, you can talk with the user that reported the results on our Discord.

Edit: We have updated it to the latest version.

Considering Vegas should already have been doing 45, those numbers aren’t super credible.
pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
March 25, 2019, 06:59:46 PM
Merited by frodocooper (3), vapourminer (1)
 #69

I played with this tool during the weekend on Vega.
But to be honest I did not see any hashrate increase under CN algos.
I'm not an expert on timings, but I should see at least 1-2% increase when changing CL 20->19

That was the first time I put a Linux AMD system together and I am struggling with the different kernel and driver versions not working together.
The biggest problem is the GPU freq is affected by the voltage.
If I set in PPT P7 1600 950 then the GPU runs only at around 1400@950mV. If I increase the voltage the clock goes up, but quickly reaches TDP.
Also if I try to trick it and set P7 1700@950 then if load changes freq spikes up and card freezes obviously.
Tried with 3 different kernels and one is worse than the other.
Maybe I should try other than the 18.50 amdgpupro?

Ubuntu 18.04 + amdgpu-pro 18.5 is what I use, without problems.  The voltage-frequency relationship is a Vega feature (ACG), not the driver.  Same behavior is observable in Windows, though not as aggressive for some reason.  Every card is different, but depending on the algo, a 1500 cclock setting in Windows (to get to 1400 effective for example) may require a 1600-1700 setting in Linux for the same result (@ same voltage).  The trade off is while in Windows a too aggressive cclock overshoot generally caused a crash/hang on load transitions, I do not see the same problems on Linux.

Also, fyi a ~1400 effective cclock is generally achievable with <= 850mv.  950 is really high for almost any algo, unless you’re running mem above 1107 (hint: don’t - it’s not worth it wrt efficiency.)

Walrusbonzo
Hero Member
*****
Offline Offline

Activity: 682
Merit: 500


View Profile
March 25, 2019, 07:22:34 PM
 #70

I don't have any AMD cards anymore, but I remember you from way back when I did and I was modding my own BIOSes. Full credit to you for sharing this phenomenal piece of work.
Eliovp (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
March 25, 2019, 11:47:25 PM
 #71

Considering Vegas should already have been doing 45, those numbers aren’t super credible.

45 on a Vega 64, definitely doable with stock timings.

Add another 5Mh to that with the extra options you have now is definitely doable.

I don't have any AMD cards anymore, but I remember you from way back when I did and I was modding my own BIOSes. Full credit to you for sharing this phenomenal piece of work.

Thanks for the nice words Smiley

pbfarmer
Member
**
Offline Offline

Activity: 340
Merit: 29


View Profile
March 26, 2019, 02:33:41 AM
 #72

Considering Vegas should already have been doing 45, those numbers aren’t super credible.

45 on a Vega 64, definitely doable with stock timings.

Add another 5Mh to that with the extra options you have now is definitely doable.


Yep - that was kinda my point... sounds more like this guy figured out how to properly tune his vega, then added the timing benefits on top of that.
P00P135
Full Member
***
Offline Offline

Activity: 1123
Merit: 136


View Profile
March 26, 2019, 02:36:18 AM
 #73

Considering Vegas should already have been doing 45, those numbers aren’t super credible.

45 on a Vega 64, definitely doable with stock timings.

Add another 5Mh to that with the extra options you have now is definitely doable.


Yep - that was kinda my point... sounds more like this guy figured out how to properly tune his vega, then added the timing benefits on top of that.

Probably sitting at 350w+ to get 50+Mh/s which just doesn't make sense from a hash to watt ratio standpoint.
windward
Newbie
*
Offline Offline

Activity: 7
Merit: 11


View Profile
March 26, 2019, 06:47:23 AM
 #74

Considering Vegas should already have been doing 45, those numbers aren’t super credible.

45 on a Vega 64, definitely doable with stock timings.

Add another 5Mh to that with the extra options you have now is definitely doable.


Yep - that was kinda my point... sounds more like this guy figured out how to properly tune his vega, then added the timing benefits on top of that.

Probably sitting at 350w+ to get 50+Mh/s which just doesn't make sense from a hash to watt ratio standpoint.

its 160 wats at 50mh i have tested and have posted my results above
cl4r0s
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 26, 2019, 10:49:09 PM
 #75



Even if I can appreciate a generic answer like yours, my post was a direct request to the author to add Polaris cards in the KnownGpus of this tool


Open source, you can easily add whatever you want ;-)

Cheers!

For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
Anyway running an unmodified version of your tool I get this output:
./amdmemtweak -i 0 --current
#
NOTHING :-)

I think the problem is I'm using an OSS Driver from debian and not the amd one....
(https://wiki.debian.org/it/AtiHowTo)
My card (WX-5100) is peculiar and I could not achive a decent install on debian 9 of the amd driver..

Anyway, still reading your code, a brilliant work! (even if I can understand just a 10% of it)
Bye
N2DCRYPT
Jr. Member
*
Offline Offline

Activity: 148
Merit: 5


View Profile
March 26, 2019, 11:43:03 PM
 #76



Even if I can appreciate a generic answer like yours, my post was a direct request to the author to add Polaris cards in the KnownGpus of this tool


Open source, you can easily add whatever you want ;-)

Cheers!

For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
Anyway running an unmodified version of your tool I get this output:
./amdmemtweak -i 0 --current
#
NOTHING :-)

I think the problem is I'm using an OSS Driver from debian and not the amd one....
(https://wiki.debian.org/it/AtiHowTo)
My card (WX-5100) is peculiar and I could not achive a decent install on debian 9 of the amd driver..

Anyway, still reading your code, a brilliant work! (even if I can understand just a 10% of it)
Bye


I also tried running a Radeon Polaris Pro Duo (dual WX-7100) and got nothing when running the tool... I'm obviously doing something wrong or this uncommon gpu just isn't supported, which wouldn't be too surprising. Thought it might be worth a try, simply because like your gpu bios mods aren't particularly practical with this guy and are fairly non-existent on the web.
Eliovp (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
March 27, 2019, 12:01:56 AM
 #77

For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
Anyway running an unmodified version of your tool I get this output:
./amdmemtweak -i 0 --current
#
NOTHING :-)

I think the problem is I'm using an OSS Driver from debian and not the amd one....
(https://wiki.debian.org/it/AtiHowTo)
My card (WX-5100) is peculiar and I could not achive a decent install on debian 9 of the amd driver..

Anyway, still reading your code, a brilliant work! (even if I can understand just a 10% of it)
Bye


I added support for your GPU  Wink

You can check last commits how it's done, it's fairly easy.
So next time, when you encounter this "issue" you know what to do Smiley


I also pushed a new release with a bunch of new HBM2 timings and a bunch of fixes Smiley

Enjoy!

cl4r0s
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 27, 2019, 12:09:52 AM
 #78


I also tried running a Radeon Polaris Pro Duo (dual WX-7100) and got nothing when running the tool... I'm obviously doing something wrong or this uncommon gpu just isn't supported, which wouldn't be too surprising. Thought it might be worth a try, simply because like your gpu bios mods aren't particularly practical with this guy and are fairly non-existent on the web.
[/quote]

I've done some debug of the code for my card....
The card is recognized as an ATI and amdgpu_regs is read
555                     snprintf(buffer, sizeof(buffer)-1, "/sys/kernel/debug/dri/%d/amdgpu_regs", instance);

but when the program try to identify the memory type, all the defined value in the buffer are wrong:

574                             lseek(gpu->mmio, MC_SEQ_RAS_TIMING, SEEK_SET);
(gdb) p lseek(gpu->mmio, MC_SEQ_RAS_TIMING, SEEK_SET)
No symbol "MC_SEQ_RAS_TIMING" in current context.
No symbol "MC_SEQ_CAS_TIMING" in current context.
No symbol "MC_SEQ_MISC_TIMING" in current context.
etc. etc..

Simply the values in the amdgpu_regs are not as expected.
Every time I try to analize those values and correct them, my server crash an reset  Huh

I was thinking the problem where in the driver, but if you got the same result with a wx-7100 the problem could be in the bios itself...
Surely I'm too tired tonight to try again, I will let you know if I can go further...

Bye

 
N2DCRYPT
Jr. Member
*
Offline Offline

Activity: 148
Merit: 5


View Profile
March 27, 2019, 12:53:09 AM
 #79

For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
Anyway running an unmodified version of your tool I get this output:
./amdmemtweak -i 0 --current
#
NOTHING :-)

I think the problem is I'm using an OSS Driver from debian and not the amd one....
(https://wiki.debian.org/it/AtiHowTo)
My card (WX-5100) is peculiar and I could not achive a decent install on debian 9 of the amd driver..

Anyway, still reading your code, a brilliant work! (even if I can understand just a 10% of it)
Bye


I added support for your GPU  Wink

You can check last commits how it's done, it's fairly easy.
So next time, when you encounter this "issue" you know what to do Smiley

I also pushed a new release with a bunch of new HBM2 timings and a bunch of fixes Smiley

Enjoy!

nice @Eliovp! Definitely recognized now. Time to play around, thanks for your work on this tool!  Cheesy
cl4r0s
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
March 27, 2019, 01:13:49 AM
 #80

For me "easily" mean I caused a kernel panic and/or a pci-error on every attempt to modify your code...  Angry
Anyway running an unmodified version of your tool I get this output:
./amdmemtweak -i 0 --current
#
NOTHING :-)

I think the problem is I'm using an OSS Driver from debian and not the amd one....
(https://wiki.debian.org/it/AtiHowTo)
My card (WX-5100) is peculiar and I could not achive a decent install on debian 9 of the amd driver..

Anyway, still reading your code, a brilliant work! (even if I can understand just a 10% of it)
Bye


I added support for your GPU  Wink

You can check last commits how it's done, it's fairly easy.
So next time, when you encounter this "issue" you know what to do Smiley

I also pushed a new release with a bunch of new HBM2 timings and a bunch of fixes Smiley

Enjoy!

nice @Eliovp! Definitely recognized now. Time to play around, thanks for your work on this tool!  Cheesy

YOU ARE A MASTER!

root@clarosrv:~/build/amdmemorytweak# ./amdmemtweak --current
GPU 0:  Device 67c7     pci:0000:42:00.0
CAS
  CL: 22          W2R: 16         CCDS: 5         CCLD: 3         R2W: 30         NOPR: 0         NOPW: 0
RAS
  RC: 74          RRD: 8          RCDRA: 25       RCDR: 25        RCDWA: 16       RCDW: 16
MISC
  RFC: 164        TRP: 23         RP_RDA: 26      RP_WRA: 54
MISC2
  WDATATR: 0      T32AW: 9        CRCWL: 25       CRCRL: 3        FAW: 14         PA2WDATA: 0     PA2RDATA: 0
DRAM1
  RASMACTWR: 35   RASMACTRD: 30   ACTWR: 10       ACTRD: 15
DRAM2
  RAS2RAS: 15     RP: 10          WRPLUSRP: 30    BUS_TURN: 35

You really deserve your donation man!
TXID 0x4563bf67d18a7bd552b3d78ada5ca59f57b76726f26f3263f8f48818ef30a1d8

Thank You!   Cool
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 52 53 54 ... 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!