The Clock Crossing Procedure and MCH Read Delay (tRD)

Have you ever stopped to wonder how the Memory Control Hub (MCH) manages to transfer data from the system bus (FSB) to the memory bus and vice versa? Maybe you questioned why it was not possible to run your memory at any speed you desired, independent of the selected FSB. While there have been some chipsets that provide this capability, performance was rather spotty at times depending on the particular settings in use. In fact, these systems often resulted in the creation of rather large ranges of bus speed and memory speed ratios that refused to function, stable or otherwise. The concept was certainly fair enough, but at the time a well-engineered implementation turned out to be far more difficult that anyone may have been willing to concede. It should not come as a surprise that Intel chipsets have only allow the use of certain validated memory ratios - those same numbers we have grown to love (or hate) like 1:1, 5:4, 3:2, and so forth.

Back in the days of relatively slow-paced memory performance improvements, Intel had no problems pumping out processors with default FSB values that made running memory at synchronous speeds an expensive proposition. Thus they created the "down" divider that allowed the memory subsystem to run at a bus speed below that of the system bus. This allowed for a period of innovation where processor bus architecture was able to improve without placing an undue burden on the memory industry to create reasonably priced modules capable of these increased speeds.

In a lot of ways this also prevented cost-prohibitive aspects of validating higher data transfer rates from ultimately affecting the market as a whole. Because Intel was not obligated to allocate additional funding for the completion of this expensive process, the savings (however small) could be passed on to the consumer. When coupled with the added benefit of allowing for the purchase and use of lower-binned memory, we can easily see why a move such as this helped stimulate the industry into a period of unprecedented growth.

Today's market is much different. Older signaling technologies like Advanced Gunning Transceiver Logic (AGTL+), used almost exclusively by Intel in their monolithic CPU-to-MCH interface architecture, have just about reached the practical limits. As such, "up" dividers, those that allow for memory bus speeds in excess of the system bus speed, are used almost exclusively by high-performance systems. Indeed, it would be hard to imagine ever being satisfied with a system able to make use of memory operating at transfer rates of up to DDR2-667, and no higher. As odd as it may seem, the next generation of memory (DDR3) is based entirely on the concept of running at speeds mandating the use of at least a 2:1 memory bus to system bus frequency ratio.

When examined from this aspect it becomes clear what DDR3 really is - an early look at the next generation's mainstream memory component. Only when Intel has removed the performance barrier of their antiquated FSB and loosely-coupled MCH will we be fully able to finally experience the real improvements that DDR3 promises to provide. But we digress - speculating about what could have been done better or things to come is trite. Instead, let's concentrate on what can be done now to improve the collective performance of our systems.

Below is a somewhat basic representation of the problem at hand (and later we will introduce the fairly elegant solution that Intel has crafted in order to tackle said problem). Are you still wondering what the problem is? Put briefly: designing an effective means for transferring data from one bus "domain" to the other, while still respecting the timing requirements for each bus.



We made mention earlier that we believe Intel's solution to be quite elegant. While this is true, the system is still far from perfect as it introduces a significant amount of extra data access latency to each and every memory read request. It might seem ironic that the design initially constructed in order to allow for higher memory speeds ends up being the very reason for the additional latency penalty incurred, but this is the case. Coincidentally, we can apply a similar accounting of the system's flaws when explaining why actualized system performance improvements are always far less than predicted when making use of the larger dividers.

Moving data between two simultaneously running parallel buses requires a fine level of timing control and a fair amount of programmable logic to be successful, especially if the scheme is to remain flexible. The graphic below should help to illustrate the concept. Four memory data clock cycles for every three system data bus cycles (a 4:3 DRAM:FSB memory ratio) means that the MCH can do little more than queue up data requested from the memory for transport to the system bus.

This process works to ensure that no FSB cycles are left unused, but it does little to improve actual memory throughput. Because of this, the gains seen are largely due to the increased transfer efficiency. For the same reason, sustained data rates, while improved, are made at the expense of requiring added latency associated with the transfer scheme. This has the affect of retarding the responsiveness of short bursts of random read activity. Some users [Ed: Androids in disguise?] even swear that they can tell when they are using an Intel system because of the suppression of the "snappy" experience that comes when using true low-latency systems.



In order to better quantify exactly how the MCH clock crossing procedure influences system performance, it might be helpful to take a step back and examine the different component parameters that contribute to a system's overall memory read (access) latency. The diagram below helps to illustrate just this point - we have identified each distinct operation that takes place during a CPU data request and the sum of the individual latencies that involved with each part of the process make up the total system memory access latency, as measured. As we will see, this time - expressed in nanoseconds (ns) - is critical to overall system performance.



Although the user has at least minor control over just about every aspect of the system as modeled above, there are a few settings that when altered have the potential to drastically impact performance for the better (or worse, depending on how well you understand what you are doing). One of the most well known is the selection of primary memory timings (tCL-tRCD-tRP-tRAS). You may be surprised to learn that the effect of properly setting these values, represented by part "E", is quite insignificant when compared to your choice of tRD (the singular consideration in developing the latency associated with part "F"). This will be our focus for the remainder of our discussion. We have already lightly touched on this mysterious setting on the prior page.

The Basics of Strap Selections, Dividers and Derived Memory Speeds MCH Read Delay Scaling and Default tRD Settings for Each Strap
Comments Locked

73 Comments

View All Comments

  • Bozo Galora - Friday, January 25, 2008 - link

    Yet another world class article by Mr. Boughton
    Not only do you give the insight, but you make it easily UNDERSTANDABLE.
    You da man
  • AndyKH - Friday, January 25, 2008 - link

    Also... is this tRD adjustment only possible with a X48 board? If not, I would have preferred that this article was kept seperate from an article about a specific motherboard. Don't get me wrong, I think it is a very informative article :-).
    If it is possible to adjust the tRD on other chipsets than the X48, can the possibility of setting the tRD as low as 5 then be attributed to the X48?
  • Gary Key - Friday, January 25, 2008 - link

    tRD functionality within the BIOS is dependent upon the motherboard manufacturer. We have been harping on the motherboard suppliers to fully open up the BIOS on the enthusiast boards, this includes tRD and associated phase changes. ASUS is one of the first (DFI also) to offer an extensive range of settings in this particular area (most BIOS releases handle tRD adjustments automatically). We debated on separating the article content but due to the BIOS options available, they were more or less tied to each other. Yes, if tRD is available in the BIOS, it can be set on other Intel based boards or chipsets. In fact, I had very good success on the ASUS 780i board with tRD adjustments. Thanks for the comments! :)
  • Georgeisdead - Wednesday, February 27, 2008 - link

    Would tRD be called something else? Perhaps Read to Write Delay (tRWD)? I have an EVGA 680i board and I cannot find the tRD setting. I don't even see it as an available option with memset 3.4. Does anyone know of a synonym for tRD?
  • Brunnis - Friday, January 25, 2008 - link

    The Gigabyte GA-P35-DS3 has a BIOS option to set tRD and I seem to remember that it had a large effect on memory performance. Would this be the setting that you talk about here. If it is, it seems ASUS isn't the first one to offer it.
  • Shoal07 - Friday, January 25, 2008 - link

    Can anyone confirm you can set the tRD to anything besides innoculous settings like "auto" "high" and "low" on the GA-P35-DS3, and specify if its the L or R? Also, what memory was used in this test? (I read the whole article and I don't recall the specs of the system/testbed as a whole).
  • Brunnis - Friday, January 25, 2008 - link

    I have checked my GA-P35-DS3 again. The option is labeled "Static tRead Value" in the BIOS and can be set to any integer value between 1 and 31. Modifying this value changes the "Performance Level" as reported by the Windows program MemSet 3.4 accordingly. Changing the value from 8 to 7 on my board yielded the following results in Sisoft Sandra bandwidth benchmark:

    tRD 7: 7117 / 7139 (MB/s)
    trD 8: 7026 / 7045 (MB/s)

    Pretty large different from changing a single timing one step.
  • AndyKH - Friday, January 25, 2008 - link

    Is it correctly understood that no other motherboards allow the tRD to be adjusted from within the BIOS, or is it simply because this board has named the setting something sensible? I think the article is a bit unclear about that.
  • legoman666 - Friday, January 25, 2008 - link

    Very enlightening article. The only thing missing are real world application tests showing the benefits in office applications, games (most important ;) ), and encoding.
  • Gary Key - Friday, January 25, 2008 - link

    We will have full application benchmarks in the X48 roundup that Kris and Raja are working on.

Log in

Don't have an account? Sign up now