Post
Topic
Board Mining (Altcoins)
Re: AMD Mem Tweak - Read/modify mem timings on the fly - [Vega Friendly] [Win/Linux]
by
Bathmat
on 24/06/2019, 03:35:07 UTC
Hey everyone,

I started messing with the Tweak tool yesterday, and after a day and half and lots of reading through this thread, I think I've found some good settings.

I have several Polaris (RX4xx/5xx) rigs with flashed timings, but still found that setting
Code:
--REF 30
gave 3-5% increase on both CN/R and ETH on GPUs with Hynix memory. Elpida cards also saw a small increase (2-3%). Samsung with UberMix 3.1 timings did not get much of a benefit (maybe 10h/s on CN/R) and actually showed a few hardware errors in TRM, so I left the default setting on Samsung. Default value on all GPUs was 5.

Important: The setting MUST be applied before mining starts or the value won't change. Even if I closed the miner and tried to apply the setting, it would not take. However, applying via .bat after reboot before the miner started worked great.

Edit: The above method might only apply to older drivers (18.6.1, 18.5.1). It might be possible to change the settings on the fly with newer drivers, but I can't confirm since I'm not using them.

Average CN/R hashrate: 970+h/s. Average ETH hashrate: 29-30+Mh/s

Clocks: 1200 core / 2000 mem (+/- 100 depending on GPU)

System: Win10 (various versions from 1709 to 1903). Driver: 18.6.1 on all rigs
Miners used: Teamredminer v0.5.x, PhoenixMiner 4.2c

I also have one Sapphire Vega56 with Samsung (not flashed, stock bios) that I tested with. Core/Mem settings: 1407/975 @ 905mV. The only parameters I changed were:
Code:
--RAS 26 --RCDRD 12 --RCDWR 7 --RC 36 --RP 10 --REF 15000 --RFC 248
which I adapted from Mashy81's settings here. Thanks.
Below are the rest of the settings showing remaining stock settings:

Quote
Vega 10 XL/XT [Radeon RX Vega 56/64]    Memory state: 800MHzMemory:    Samsung HBM2
Timing 1          CL: 17             RAS: 26         RCDRD: 12       RCDWR: 7
Timing 2          RCAb (RC): 36   RCPb (RC): 36   RPAb (RP): 10   RPPb (RP): 10
Timing 3          RRDS: 4         RRDL: 5         RTP: 5
Timing 4          FAW: 13
Timing 5          CWL: 6          WTRS: 3         WTRL: 7
Timing 6          WR: 13
Timing 7          RREFD: 7
Timing 8          RDRDDD: 3       RDRDSD: 2       RDRDSC: 1       RDRDSCL: 3
Timing 9          WRWRDD: 3       WRWRSD: 2       WRWRSC: 1       WRWRSCL: 3
Timing 10         WRRD: 1         RDWR: 17
Timing 12         REF: 15000
Timing 13         MRD: 8          MOD: 12
Timing 14         XS: 216
Timing 16         XSMRS: 6
Timing 17         PD: 6   CKSRE: 8        CKSRX: 8
Timing 20         RFCPB: 128      STAG: 7
Timing 21         XP: 6   CPDED: 2        CKE: 6
Timing 22         RDDATA: 16      WRLAT: 4        RDLAT: 14       WRDATA: 1
Timing 23         CKESTAG: 2
RFC Timing        RFC: 248

With these settings I was able to get 2130h/s on CN/R (increased from 1980) and 43Mh/s on ETH (increased from 39.5) with the same miners above. Additionally, 2055h/s on CN_Haven.

Apologies if this has been posted in this thread (while I did read a lot, I didn't read every post), but I hope this is helpful for someone else out there.

EDIT: After running for a few hours, I got 1 HW error in TRM. So I changed " --RC 36 --RP 10 " to " --RC 37 --RP 11 ". Hashrate only dropped to 2110h/s. New settings:
Code:
--RAS 26 --RCDRD 12 --RCDWR 7 --RC 37 --RP 11 --REF 15000 --RFC 248
I will update if I make any more changes.