We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

[nextpage title=”Introduction”]

In this tutorial, we will explore the main technical differences between DDR, DDR2 and DDR3 memories. Enjoy!

Before we start going into the specifics, you need to know that DDR, DDR2, and DDR3 are based on SDRAM (Synchronous Dynamic Random Access Memory) design, meaning that they use a clock signal to synchronize things. DDR stands for Double Data Rate. Memories from this category transfer two data chunks per clock cycle. Translation: They achieve double the performance of memories without this feature running at the same clock rate (namely SDRAM memories, which are not available for PCs anymore).

Because of this feature, these memories are labeled with double the real maximum clock rate they can operate. For example, DDR2-800 memories work at 400 MHz, DDR2-1066 and DDR3-1066 memories work at 533 MHz, DDR3-1333 memories work at 666.6 MHz, and so on.

Clock signal and DDR modeFigure 1: Clock signal and DDR mode

It is very important to understand that these clock rates are the maximum the memory can officially use. This does not, by any means, guarantee that the memory will work at those “speeds” automatically. For example, if you install DDR2-1066 memories on a computer that can only (or it is wrongly configured to) access the memory subsystem at 400 MHz (800 MHz DDR), the memories will be accessed at 400 MHz (800 MHz DDR) and not at 533 MHz (1,066 MHz DDR). This happens because the clock signal is provided by the memory controller, a circuit that is located outside the memory (in the north bridge chip from the motherboard or embedded inside the CPU, depending on the system).

This naming system DDRx-yyyy (where x is the technology generation and yyyy is the DDR clock rate), in theory, is used only for the memory chips. The memory modules – the little printed circuit boards to where the memory chips are soldered – use a different naming system: PCx-zzzz, where x is the technology generation and zzzz is the maximum theoretical transfer rate (a.k.a. maximum bandwidth). This number tells us how many bytes can be transferred per second between the memory controller and the memory module, assuming that data will be transferred on every single clock pulse. This math is easily done by multiplying the DDR clock in MHz by eight. (Actually, the real math is done by multiplying by 64 and then dividing by eight; since 64 / 8 = 8, we can simply multiply by eight to achieve the same result.) This will give us the maximum theoretical transfer rate in MB/s (megabytes per second). For example, DDR2-800 memories have a maximum theoretical transfer rate of 6,400 MB/s (800 x 8), and memory modules using this kind of memory are called PC2-6400. In some cases, the number is rounded off. For example, DDR3-1333 memories have a maximum theoretical transfer rate of 10,666 MB/s. Memory modules using this kind of memory are called PC3-10666 or PC3-10600, depending on the manufacturer.

It is really important to understand that these numbers are maximum theoretical numbers, and they are never reached. This occurs because for the math, we are assuming that the memory will be sending data to the memory controller every single clock cycle, which simply doesn’t happen. The memory controller and the memory need to exchange commands (for example, a command instructing the memory to deliver data stored at a given position), and during such time the memory won’t be transferring data.

Now that you know the basics about DDR memories, let’s talk about the specifics.

[nextpage title=”Speeds”]

One of the main differences between DDR, DDR2 and DDR3 is the highest transfer rate each generation can reach. Below we list the most common speeds for each generation. Some manufacturers can deliver memory chips capable of achieving other speeds than those listed; for example, specialty memories targeted to overclockers. Clocks ending in 33 and 66 MHz are, in fact, periodic decimal expansions (33.3333 and 66.6666, respectively).

Memory Real Clock Maximum Theoretical Transfer Rate Memory Module
DDR200 100 MHz 1,600 MB/s PC-1600
DDR266 133 MHz 2,133 MB/s PC-2100
DDR333 166 MHz 2,666 MB/s PC-2700
DDR400 200 MHz 3,200 MB/s PC-3200
DDR2-400 200 MHz 3,200 MB/s PC2-3200
DDR2-533 266 MHz 4,266 MB/s PC2-4200
DDR2-667 333 MHz 5,333 MB/s PC2-5300
DDR2-800 400 MHz 6,400 MB/s PC2-6400
DDR2-1066 533 MHz 8,533 MB/s PC2-8500
DDR3-800 400 MHz 6,400 MB/s PC3-6400
DDR3-1066 533 MHz 8,500 MB/s PC3-8500
DDR3-1333 666 MHz 10,666 MB/s PC3-10600
DDR3-1600 800 MHz 12,800 MB/s PC3-12800

[nextpage title=”Voltages”]

DDR3 memories operate at lower voltages compared to DDR2 memories, which in turn operate at lower voltages compared to DDR memories. This means that DDR3 memories consume less power than DDR2 memories, which in turn consume less power than DDR memories.

Typically, DDR memories are fed with 2.5 V, DDR2 memories are fed with 1.8 V, and DDR3 memories are fed with 1.5 V (although modules requiring 1.6 V or 1.65 V are common, and chips requiring only 1.35 V may become common in the future). Some memory modules may require higher voltages than those listed. This happens especially with memories supporting the operation at clock rates higher than the official ones (i.e., memories targeted to overclocking).

Technology Typical Voltage
DDR 2.5 V
DDR2 1.8 V
DDR3 1.5 V

[nextpage title=”Latency”]

Latency is the time the memory controller must wait between requesting data and the actual delivery of them. It is also known as CAS (Column Address Strobe) Latency or simply CL. This number is expressed in terms of clock cycles. For example, a memory with CL3 means that the memory controller must wait three clock cycles until data is delivered after a request is made. For a memory with CL5, the memory controller will have to wait longer: five clock cycles. So you should always look for the memory modules with the lowest latency possible.

LatencyFigure 2: Latency

DDR3 memories have higher latencies than DDR2 memories, which in turn have higher latencies than DDR memories. DDR2 and DDR3 memories have an additional parameter called AL (Additional Latency) or simply A. With DDR2 and DDR3 memories the total latency will be CL+AL. Fortunately, almost all DDR2 and DDR3 memories are AL 0, meaning that no additional latency is necessary. Below we summarize the most common latency values.

Technology Typical Latency Other Common Latencies Available
DDR 3 2, 2.5
DDR2 5 3, 4
DDR3 7 6, 8, 9

This means that DDR3 memories delay more clock cycles to start delivering data compared to DDR2 memories (just like DDR2 memories delay more clock cycles to start delivering data compared to DDR memories), but this does not necessarily mean a longer wait time (this will be true only when comparing memories working at the exact same clock rate).

For example, a DDR2-800 CL5 memory will delay less time (i.e., is faster) to start delivering data than a DDR3-800 CL7 memory. However, since both are “800 MHz” memories, both provide the exact same maximum theoretical transfer rate (6,400 MB/s). Also, it is important to remember that the DDR3 memory will consume less power than the DDR2.

When comparing modules with different clock rates, you need to do some math to be able to compare the latencies. Notice that we are talking about “clock cycles.” When the clock is higher, each clock cycle is shorter (i.e., shorter period). For example, on a DDR2-800 memory, each clock cycle takes 2.5 ns (1 ns = 0.000000001 second). The math is simple: period = 1 / frequency. (Note that you need to use the real clock, not the DDR clock on this formula. To make things easier, we compiled the reference table below.) The initial wait time of a DDR2-800 memory with CL 5 corresponds to 12.5 ns (2.5 ns x 5). Now suppose we have a DDR3-1333 memory with CL 7. With this memory, each clock cycle will have a period of 1.5 ns (see table below), so the total wait time (latency) will be 10.5 ns (1.5 ns x 7). Even though the latency of this DDR3 memory appears to be higher (7 vs. 5), the wait time is actually lower. So don’t go around thinking that DDR3 memories have worse latencies than DDR2 memories; it will depend on the clock rate you are talking about.

DDR Clock Real Clock Clock Period
200 MHz 100 MHz 10 ns
266 MHz 133 MHz 7.5 ns
333 MHz 166 MHz 6 ns
400 MHz 200 MHz 5 ns
533 MHz 266 MHz 3.75 ns
666 MHz 333 MHz 3 ns
800 MHz 400 MHz 2.5 ns
1,066 MHz 533 MHz 1.875 ns
1,333 MHz 666 MHz 1.5 ns
1,600 MHz 800 MHz 1.25 ns

Usually manufacturers announce the memory timings as a series of several numbers separated by a dash (e.g., 5-5-5-5, 7-10-10-10, etc.). The CAS latency is always the first number from these series. See the examples on Figures 3 and 4. If you want to know what the other numbers mean, please read our tutorial Understanding RAM Timings.

DDR2-1066 with CL 5Figure 3: DDR2-1066 with CL 5

DDR2-1066 with CL 5Figure 4: DDR3-1066 with CL 7

[nextpage title=”Prefetch”]

Dynamic memories store data inside an array of tiny capacitors. DDR memories transfer two bits of data per clock cycle from the memory array to the memory internal I/O buffer. This is called 2-bit prefetch. On DDR2 this internal datapath was increased to four bits, and on DDR3 it was raised again to eight bits. This is actually the trick that allows DDR3 to work at higher clock rates than DDR2, and DDR2 at higher clock rates than DDR.

The clocks to which we have been referring so far are the clock rates on the “external world,” i.e., on the I/O interface from the memory, where the communication between the memory and the memory controller takes place. Internally, however, the memory works a little differently.

To better understand this idea, let’s compare a DDR-400, a DDR2-400 and a DDR3-400 memory chip. (We know that DDR3-400 memories don’t exist, but pretend they do.) These three chips work externally at 200 MHz transferring two data per clock cycle, achieving an external performance as if they were working at 400 MHz. Internally, however, the DDR chip transfers two bits between the memory array and the I/O buffer, so to match the I/O interface speed this datapath has to work at 200 MHz (200 MHz x 2 = 400 MHz). Since on DDR2 this datapath was increased from two bits to four bits, it can work at half the clock rate in order to achieve the same performance (100 MHz x 4 = 400 MHz). The same thing happens with DDR3. The datapath was doubled again to eight bits, so it can work at half the clock rate as DDR2 or only ¼ of the clock rate of DDR in order to achieve the same performance (50 MHz x 8 = 400 MHz).

DDR prefetchFigure 5: Understanding n-bit prefetching

Doubling the internal datapath at each generation means that each new memory generation can predictably have chip models with double the maximum clock rate achieved on the previous one. For example, on DDR-400, DDR2-800 and DDR3-1600 memories the memory works internally at the same clock rate (200 MHz).

[nextpage title=”Resistive Termination “]

On DDR memories, the necessary resistive termination is located on the motherboard, while on DDR2 and DDR3 memories this termination is located inside the memory chips – a technique called ODT (On-Die Termination).

This is done in order to make the signals “cleaner.” In Figure 5, you can see the signal that reaches the memory chip. On the left hand side you see the signals on a system that uses motherboard termination (DDR memories), while on the right hand side you see the signals on a system that uses on-die termination (DDR2 and DDR3 memories). Even a layman can easily see that the signals on the right-hand side are cleaner and are more stable than the signals on the left-hand side. On the yellow square you can compare the time frame difference; this time frame is the time the memory has to read or write a piece of data. With the use of on-die termination, this time frame got wider, allowing higher clocks to be achieved since the memory has more time to read or write a data chunk.

Comparison between motherboard termination and on-die terminationFigure 6: Comparison between motherboard termination and on-die termination

[nextpage title=”Physical Aspect”]

Finally, we have the differences at the physical level. You buy memory chips already soldered on a printed circuit board called a “memory module.” Memory modules for each DDR generation are physically different, so for example you won’t be able to install a DDR2 module in a DDR3 socket. Unless your motherboard supports both DDR2 and DDR3 sockets (only a few do), you cannot upgrade from DDR2 to DDR3 without replacing the motherboard and eventually the CPU (if in your system the memory controller is embedded in the CPU, as with all processors from AMD and Core i7 from Intel). The same thing is valid with DDR and DDR2. Other than for a few are rare exceptions, you cannot replace DDR
memories with DDR2. DDR2 and DDR3 modules have the same number of pins, however, the key notch is placed in a different position.

Memory Module Number of Pins
DDR 184
DDR2 240
DDR3 240

DDR vs. DDR2Figure 7: Difference in edge contacts between DDR and DDR2

DDR2 vs. DDR3Figure 8: Difference in edge contacts between DDR2 and DDR3

All DDR2 and DDR3 chips use BGA (Ball Grid Array) packaging, while DDR chips almost always use TSOP (Thin Small-Outline Package) packaging. There are a few DDR chips with BGA packaging on the market (like the ones from Kingmax), but they are uncommon. In Figure 9, you can see what a TSOP chip on a DDR module looks like, while in Figure 10 you can see what a BGA chip on a DDR2 looks like.

DDR moduleFigure 9: DDR chips almost always use TSOP packaging

DDR2 moduleFigure 10: DDR2 and DDR3 chips use BGA packaging