dual channel RAM, Hows it work?(Living under a rock!)

davidkay

Senior member
Nov 6, 2000
265
0
0
I keep hearing about dual channel memory. How does it work? what exactly is it?

So do i need to buy like 1Gb worth of memory modules in order to have 512Mb running at Dual channel?
 

KF

Golden Member
Dec 3, 1999
1,371
0
0

Sorry about the multiple posts. I'm trying to get up to 10,000 in the next week :)

Since they count memory in bytes, two modules is twice the number of bytes. 1G is still counted as 1G when it is made up of two 512M modules.

Current memory modules are 64 bits wide, which is 8 bytes wide. Dual channel, using two modules, makes memory accessible 128 bits, or 16 bytes, at a time. It depends on the memory controller and CPU whether the modules can deliver 128 bits simultaneously to the CPU or whether it is done serially, one 64 bit group after the other. Since the two external channels are independent, you could stagger access by 1/2 and in effect get double the bandwidth even with multiplexing 64 bits twice. In the case of Athlons, I believe Nvidia controllers just buffer the double reads, and the Athlon can't get it all in twice as fast; Nvidia uses a "smart" controller to predict what the next memory read request will likely be. That makes the Athlon get requests filled modestly faster. If I recall correctly, P4s past a certain core have 128 bit wide cache lines (twice the width of Athlons and former P4s, and all Celerons), so dual channel could get cache lines filled at truely double speed, although I don't know if the P4 has a 128 bit external data buss (instead of 64) to match. Now, that doesn't mean the P4 can uses all that bandwidth at todays CPU speeds, but cache misses should be less deadly. Modern CPUs depend on having near 100% cache hits to operate at anywhere near their optimum. (Although 100% hits is impossible of course.) Remember CPUs operate at 10x the rate or more internally as externally, so waiting on memory kills the effective speed. That's why they have a big cache to begin with. If you deal with tremendous amounts of data that is only accessed once, such as possibly encoding videos, a cache loses most of its effectiveness for data, and you go back to being dependent on memory bandwidth.

I could babble on longer :) but I hope that does it.
 

WobbleWobble

Diamond Member
Jun 29, 2001
4,867
1
0
First of all, you need a dual channel memory capable motherboard. Then you need RAM that will work together in dual channel. Most RAM will work together, but it's better for both sticks to be the same.

Dual channel memory allows both sticks of memory to be accessed at the same time, increasing memory bandwidth. On Intel based systems, going dual channel gives you significantly better performance. On AMD based systems with integrated video, it is known to help a lot. On AMD based systems without integrated video, the performance gain is minimal, from about 0-5%, usually closer ot the 0% mark than 5%.

To get 1GB worth of accessible memory, you need 2 sticks of 512MB.
To get 512MB, you need 2 sticks of 256MB.