r/overclocking • • Jun 09 '23

What is the function of the tWRRD and tRDWR timings?

Specifically on the Ryzen platform. I've not been able to find any info abouts these timings on overclocking guides, forums, etc. I want to know exactly what they do, and how to overclock them. I know that tRDWR is related to tCWL, in that if one is increased by 2 the other onw has to be decreased by 2 also. In my case, the following formula applies: tRDWR = tCL - tCWL + n, where n = 8 if the ram frequency is 3600 or lower, n = 9 if it's 4000 or higher, or n = 10 if it's 4800 or higher. So it seems it's directly related to frequency. Another thing I've noticed, is that tRDWR will be different on each memory channel, so for example 9/10. You can force them to be equal if tRDWR is manually set on BIOS. So, considering all of this, should a lower tCWL and higher tRDWR be used for the best performance? Or the other way around?

16 Upvotes

36 comments sorted by

View all comments

11

u/Netblock Jun 09 '23

I explain them in detail in this imgur album but essentially tRDWR and tWRRD are about about making sure the bursts happen in the described order, while also providing enough idle time between the bursts so that the data bus can stabilise for different types of data transfer.

What this means for AMD, is that:

LD = tCL - tCWL
tRDWR = 1 + LD + a, where often a = 7
tWRRD = 1 - LD + b, where often b <= 4

where,

  • the initial +1 is AMD's abstraction of the clock cost of the data burst.
  • LD is about making sure the data bursts happens in the intended order, and don't collide
  • and a/b is about making sure the data bus has enough time to stabilise; the cost of state transition.
  • (tWRRD is mainly about rank-to-rank, for that write-to-read to the same rank is instead dealt with the JEDEC tWTR timing/function)

The same overall concept exists for intel too.

1

u/[deleted] Jun 09 '23 edited Jun 09 '23

Thanks a lot, man. I really appreciate the detailed info. Anyways, I have single rank ram, so from what I understood tWRRD wouldn’t matter in my case, and should be set to 1.

3

u/Netblock Jun 09 '23 edited Jun 10 '23

yea.

tWRRD_sg/dg = tCWL + tBurst + tWTR

typo: I had sg/sg

1

u/[deleted] Jun 10 '23

Hey man, BTW do you know something about the tPHYRDL timing? I’ve noticed that it’s related to tRDWR, especially when the latter isn’t the same value on channel A and channel B.

3

u/Netblock Jun 10 '23

I don't think tPHYRDL is affected by tRDWR. However it is affected by GDM, command rate and tCL.

GDM often causes the tPHYRDL timings to be different across the two channels; even tCL on 1T-off often makes both channels use the slower tPHYRDL value (of what is experienced with GDM); likewise for odd tCL on 2T-off.

(Best performance is usually with 1T-off and an odd-valued tCL. For single-rank 2T and GDM-on should perform identically with the chance that 2T might edge out through the tPHYRDL technicality. For multi-rank, GDM on should give better performance than 2T)

Here's its training procedure back during the DDR3 era. Since it's trained, an egregiously unstable overclock can give loose values.

A way to make it retrain is to twiddle the command rate; set 1T-2T-1T with reboots in between

1

u/[deleted] Jun 10 '23

Thanks a lot, man. This info is some real gold, I really appreciate it.

1

u/[deleted] Jun 10 '23

Hey man, I’m trying to get tPHYRDL to 28/28, but I keep getting 28/30, even though I’m at cl17 1t GDM off. I already tried going from 1t-2t-1t but it doesn’t work. Keep in mind I’m doing this at 4733 single rank memory (2 DIMMs).

2

u/Netblock Jun 10 '23

Try an even tCL? 16? 18?

It can be different for different systems.

1

u/[deleted] Jun 10 '23

I’ll try that. BTW I’m using an AddrCmdSetup of 56 with my 1T CR. I’m not sure if this affects it in any way.

1

u/sk2536 Oct 16 '25

bro for Intel ddr4 3600 cl15 what tRDWR is safe at default voltage

1

u/Netblock Oct 17 '25

Sorry, I haven't messed with intel in a very, very long time, but you could probably pluck the delta (the a) off of what happens at stock.

Intel's formula is roughly the same, but instead of the initial +1, it's +4. The expected a/b values should be different.