OCFreaks!

RAM Overclocking Guide / Tutorial

SECTION 1 :
When it comes to RAM OCing we mainly concerned with :

  1. RAM Clock Frequencies ,
  2. RAM Timings/Latencies ,
  3. FSB : DRAM ratio ,
  4. SPD Chip ,
  5. and Voltage.

DDR(1/2/3) RAM modules have 3 types of ‘clocks’ associated with them:

  1. The first is DRAM Core clock or memory Clock.
  2. The second comes I/O Bus clock.
  3. Finally the 3rd is the Effective Data Rate.

The prime difference between DDR1 and DDR2 is that DDR2 can run its I/O bus clock twice the memory clock but with higher latencies and DDR2 has prefetch size of 4 bits as opposed to DDR1’s 2 bits. And the the main difference between DDR2 and DDR3 is that DDR3 can run its I/O bus clock at four times the memory clock but with higher latencies and DDR3’s prefetch buffer is 8 bits deep.

For DDR2 :

For DDR3 & DDR4 :

Here Onwards, Whenever I Refer ‘Base Memory Clock’ or ‘I/O Bus Clock’ Or ‘DRAM Frequency’ ALL MEAN THE SAME.

For DDR(1\2\3\4)-SD-RAM the data rate is twice the base clock rate.

For e.g. RAM running at DRAM Frequency (Base Memory Clock) of 400 Mhz has an effective (data rate) Frequency of 800 Mhz i.e. effective signalling rate of 800 MT/s [MegaTransfers per Second].

Limits for DDR2, DDR3 & DDR4 :

  • For DDR2 RAM modules the official max frequency is 800 Mhz (Jedec) while it can reach to 1200 Mhz when overclocked.
  • For DDR3 RAM modules the official max frequency is 1600 Mhz (Jedec) but can reach 2500Mhz+ with better ICs when overclocked
  • For DDR4 RAM modules the official max frequency is 3200 Mhz (Jedec) but now we have module that can go past 4000 Mhz with binned ICs.

Before going further into details I’d like you to have a look on the screen shot that I have taken on my PC for explanation so that you can understand better; that’s what I hope!

Screenshot 1: Showing the SPD chip readings and memory details.

Screenshot 2: Showing the ‘current’ RAM timings , frequency and FSB : RAM ratio.

SECTION 2 : Ram Timings

When it comes to Overclocking RAM we are just concerned with 4(out of many) primary timings as seen in screenshot 2. The chips used on the DDR ram modules have different types of timings(Primary & Secondary) which give us a sense of the speed of ram along with its stability and rated frequency of-course. When it comes to overclocking loosening(increasing) the timings is very effective for increasing the RAM frequency making the modules stable at high frequencies and on the contrary reducing the RAM frequency the timings can be tightened (lowered). But ironically lowering the timings decreases access time but at the cost of the bandwidth.

Now lets get a feel of some of the Signals(strobes) for RAM:

  1. /CAS[Active low] : Column access strobe(signal) When this signal goes low , the column in the selected row is ready to be accessed in burst mode of 2 , 4 or 8.
  2. /RAS[Active low] : Row access strobe(signal)
  3. Precharge : Used to activate/deactivate a row in the selected bank before it can be used for read/write operation.

These timings are specified are in the following order : tCL-tRCD-tRP-tRAS and as you have guessed ‘t’ stands for time.

NOTE: All latencies are in terms of clock cycles and actually derived from the current bus speed which is in nanoseconds.For e.g. CAS latency(which is explained below) in nano seconds from clock cycles can be found as follows:
CAS Latency in ns = CAS delay in cycles x time taken for 1 cycle
But time period is inverse of frequency; Hence we get,
CAS Latency in ns = CAS Latency in cycles x [Bus Frequency] –1
Finally,
CAS LAtency in ns = CAS Latency in cycle / Bus Frequency

The 4 important timings with respect to RAM Overclocking are :

  1. t-CL [CAS Latency] : It is time elapsed between the memory controller sending the address of the column and the data that “first” arrives in response. Since data is sequentially placed in memory and a row contains sequential data so its quite simple to catch the fact that columns will be switched more frequently than rows so CAS will have a big impact on performance. Though some say that CL is not that important, but generally it is and its only in the case of bizarre memory access patterns that CL may become less significant.
    Typical t-CL Values in clock cycles :
    • DDR1 – 2,3
    • DDR2 – 4 to 6
    • DDR3 – 6 to 10
    • DDR4 – 10 to 18

     

  2. t-RCD [RAS to CAS Delay] : It is the amount of delay between a RAS and a CAS.=or= Simply speaking it is the time taken to select a particular row first and then selecting the particular column for data access. It doesn’t have a huge impact on performance.
    Typical t-RCD Values in clock cycles :
    • DDR1 – 2 to 4
    • DDR2 – 3 to 5
    • DDR3 – 6 to 10
    • DDR4 – 10 to 18

     

  3. t-RP [RAS Precharge Time] : It is the time required to deactivate the current row and activate next row.
    =or=
    Simply delay caused by switching between rows.
    Typical t-RP Values in clock cycles :
    • DDR1 – 2 to 4
    • DDR2 – 3 to 5
    • DDR3 – 6 to 10
    • DDR4 – 10 to 18

     

  4. t-RAS [Active to Precharge Delay / Row Active Time] : Time required between an active and a precharge command.
    =or=
    The time taken between 2 memory access / Data requests.
    =or=
    The time taken to activate a memory bank(row) and then deactivating it. It affects stability more than performance. It is approximately equal to tCL + rRCD + tRP [=>tRAS] while in some cases it may not be so. And here’s a quote from a wiki article :

    “in practice for DDR RAM Modules , it should be set to at least tRCD + tCAS + 2 to allow enough time for data to get streamed out”

    Typical t-RAS values in cycles :
    • DDR1 – 5 to 12
    • DDR2 – 10 to 19
    • DDR3 – 15 to 30
    • DDR4 – 20 to 36

     

SECTION 3A : FSB:DRAM Ratio on Legacy Systems

In case of legacy systems where the memory controller was present on the northbridge, while talking about FSB : DRAM ratio we are concerned with the base FSB frequency and the DRAM frequency (base clock rate).This ratio tells us “who is running faster than whom” and when DRAM frequency is more than base FSB or both are the same then we won’t have any issues with system performance. Depending on both the frequencies, FSB : DRAM ratio can yield any one of the 2 operating modes which are Synchronous and Asynchronous.

Synchronous Mode: (sync)

Asynchronous Mode: (async)

Common FSB ratios :

SECTION 3B : FSB:DRAM Ratio on current Systems

On Current systems be it Intel or AMD where the Memory controller is integrated completely inside the CPU die, the significance of FSB:DRAM ratio has changed. What we used to call FSB is now QPI(Quick path interconnect) on Intel systems and for AMD systems we call it HyperTransport(HT). Now its just a ratio of Base Clock (BCLK) to Memory Clock.

AMD was the first one to move Memory Controller inside the CPU using Hyper Transport(HT). Years later Intel followed when finally Memory Controller was integrated with CPU, with the release of their Nehalem architecture.

SECTION 4 : Ram Voltages

This is the last thing you wanna mess with , after it being configured according to the EPP or XMP profile. Generally voltage increase must be limited to 8% to 10% of the max supported voltage according to EPP or XMP Profile and you must make sure that the chips on the RAM modues supports this level of voltage increment else you will end up damaging it. For DDR2 for Mobos which support Core2 architecture 2.1/2.2/2.3 V is safest maximum but this doesn’t mean all RAMs have this as their max safe limit. The safest max voltage depends on the chips used by the manufacturer. For DDR2 generally the default is 1.8V while for DDR3 its 1.5V . It again majorly depends on the chips used for the modules. But i’d say never-ever do this until you have enough experience and know about various chips. Instead set the RAM’s voltage according to EPP/XMP profile if not set.

Standard JEDEC & Oveclocked Voltages :

SECTION 5 : A Word On SPD & XMP/EPP Profiles

SPD is the acronym for Serial Presence Detect. SPD chips are now commonly found on the SDRAM DIMM Modules. Its job is to store the RAM settings for different frequency and voltages. SPD makes it easier for bios to configure RAM for the system. Apart from the JEDEC standard profiles SPD also contains EPP or XMP profiles. EPP is Enhanced Performance Profile which can be read by some Nvidia and AMD chipsets and configures the RAM according to it. If not supported then BIOS just loads the default configuration. EPP is present on RAM modules which are marketed as “SLI ready” or “Crossfire ready” which is just a marketing thing then any thing else. If the Motherboard cannot read EPP it does not mean that the RAM cannot be configured as per the EPP. In this case we just have to configure it manually. XMP is Intel’s substitute for EPP which is short for eXtreme Memory Profile.

The use of EPP/XMP is just to get the RAM configured for max performance at its rate specifications which are often beyond the standard Jedec specs for Overclocking grade RAMs. When you first install High-speed memory sticks, they will run at ‘default’ Jedec speeds. To configure your RAM sticks at the rated speed you will have enter BIOS and apply the XMP profile. This setting is usually present under the Overclocking/Tweaking section of your BIOS. Many RAM sticks have multiple XMP profiles; so just choose the best one available, which will provide a baseline setting for overclocking. Screenshot-1 shows SPD profiles of my RAM.

Here is my BIOS screenshot showing XMP profiles available to select from:

SECTION 6 : How do we do it?

After getting equipped with the knowledge presented above its time to do some RAM Overclocking which is straight forward.

I like to do it in 2 cycle fashion:
CYCLE A: Find your Overclock settings at rated Voltage.
CYCLE B: Find your max Overclock at bumped up Voltages past your Overclock at rated Voltages.

The following Steps Integrate both these Cycles:

RAM stability test and other Utilities:

Disclaimer : Though Overclocking is considerably safe these days … but fiddling around with Voltages.. be it CPU , Mobo or RAM is still a bit dangerous and can induce fatal damage in your hardware or even worse can render it useless. I will not take any responsibility if you damage your system after overclocking. PLAY SAFE Do not Bother Voltage increments!

Exit mobile version