Dual channel RAM ??

J

Johanna

I don't really understand how dual channel RAM works, and how much
benefits it really brings me.
My (crazy) memory situation is this:

On my AMD motherboard there are 4 slots for memory.

Previously I had 2 x 512 MB Ram.
The Bios (AMI) believed this was dual channel (or at least it said it
did at boot-up?)
But the two sticks were not the same make, which is a requirement for
dual channel according to the mobo manual.
I am not sure what to make of this.

Then I bought some more RAM and accidentally got a 1 GB stick, instead
of 2 x 512. * blush* :-(
This takes me up to 2 GB using 3 slots.

When I put in the 1 GB stick in a free slot, the memory gets reported as
'single channel'.!

I came across some information about dual channel memory saying that it
works 3 times faster than single channel!
So of course, I want that....

Will it switch over to dual channel again if I buy another identical 1
GB stick?
Or does it have to be 4 identical sticks?

This is all a bit theoretical since I actually have 2 GB RAM now. I

If my current setup is completely idiotic,and there is significant
benefit in changing, I'll buy another stick to balance things out.
I could use the 512 MB sticks for something else, like a computer I am
making for my grandmother.

What would you advice me to do?
JO
 
J

Johanna

Thanks for explaining that so throughoughly.
Sorry if I was repeating myself and didn't appear to have understood
what you said earlier.

In order to follow a serious discussion about this, one needs a lot of
background information, some of which I don't have.
That's why I didn't get it. .( I really only know the very basics of
hardware - that's all, but I am trying to learn.)

I've got my anwer though - and I also know I have to do benchmarking if
I want to dig into this (I don't right now).

I'll follow John's advice too and stop worrying about it!
Jo
 
B

Bob Knowlden

http://en.wikipedia.org/wiki/Dual-channel_memory

Its possible to do dual-channel with DIMMs that aren't identical, if they
are the same type and capacity. (I've done it.)

You don't have to make all 4 DIMMs the same to get dual channel, but the
members of either pair (same colored sockets) must be the same size. In
principle, you could use a pair of 512 MB DIMMs, and another pair of 1 GB
DIMMs, for 3 GB total.

What the above article does not mention is that some motherboards reduce the
RAM frequency if all 4 sockets are filled. I use a single pair of 1 GB DIMMs
in my Asus A8N-SLI board (Athlon 64 board, socket 939) to avoid that. I
suggest that you do the same, if you can afford a second 1 GB DIMM.


Address scrambled. Replace nkbob with bobkn.
 
J

John Doe

Johanna said:
I don't really understand how dual channel RAM works, and how much
benefits it really brings me.

We've explained it already, don't you remember?
Then I bought some more RAM and accidentally got a 1 GB stick,
instead of 2 x 512. * blush* :-(

We were listening when you told us that already.
This takes me up to 2 GB using 3 slots.

Does it improve performance when you're using lots of applications?

If not, then RAM isn't your solution.
When I put in the 1 GB stick in a free slot, the memory gets
reported as 'single channel'.!

I think you might be able to get your dual channel feeling back if
you stick the two 512 MB modules in the correct slots with the 1 GB
Module the other slot.
I came across some information about dual channel memory saying
that it works 3 times faster than single channel!

You've recently come across information about dual channel memory in
this group at least twice already from two different authors saying
that it won't improve performance noticeably.

<sigh>

If you don't believe us, go complain to whoever told you that it
would.
So of course, I want that....

You can't have that. If you could, don't you think we would tell
you? Seriously, why on earth would we not tell you?

Do you have a pic?
Will it switch over to dual channel again if I buy another
identical 1 GB stick?

No, but your computer will run faster if your applications suck up
more than 1 GB during a session.
Or does it have to be 4 identical sticks?

You need 16 sticks. You need to populate all of your PCI, AGP, PCI
Express, and modem riser slots with exactly the same identical
memory modules. Don't forget to plug them into your USB ports as
well.
This is all a bit theoretical since I actually have 2 GB RAM now.
I

If my current setup is completely idiotic,and there is significant
benefit in changing, I'll buy another stick to balance things
out.

Again, if your applications are using more than 1 GB of RAM during a
session, more than 1 GB of RAM can help a lot.
I could use the 512 MB sticks for something else, like a computer
I am making for my grandmother.

What would you advice me to do?

Stop worrying about dual channel RAM.
 
P

Paul

Johanna said:
I don't really understand how dual channel RAM works, and how much
benefits it really brings me.
My (crazy) memory situation is this:

On my AMD motherboard there are 4 slots for memory.

Previously I had 2 x 512 MB Ram.
The Bios (AMI) believed this was dual channel (or at least it said it
did at boot-up?)
But the two sticks were not the same make, which is a requirement for
dual channel according to the mobo manual.
I am not sure what to make of this.

Then I bought some more RAM and accidentally got a 1 GB stick, instead
of 2 x 512. * blush* :-(
This takes me up to 2 GB using 3 slots.

When I put in the 1 GB stick in a free slot, the memory gets reported as
'single channel'.!

I came across some information about dual channel memory saying that it
works 3 times faster than single channel!
So of course, I want that....

Will it switch over to dual channel again if I buy another identical 1
GB stick?
Or does it have to be 4 identical sticks?

This is all a bit theoretical since I actually have 2 GB RAM now. I

If my current setup is completely idiotic,and there is significant
benefit in changing, I'll buy another stick to balance things out.
I could use the 512 MB sticks for something else, like a computer I am
making for my grandmother.

What would you advice me to do?
JO

First off, dual channel is not three times faster than single
channel. I've measured my P4 dual channel system here, and in
dual channel mode, memtest86+ reports 2732MB/sec when in dual
channel mode, and 1584MB/sec in single channel mode. That is a
ratio of 1.72x . And in real computing situations, the apparent
performance difference will not be as great as this. Compute
speed is not directly proportional to RAM speed, due to the
presence of that nice fat L2 cache on the processor. Many RAM
accesses hit the cache, and don't go to the memory controller,
and that is why the performance effect is not that exaggerated.

For small differences in RAM speed, a "1/3rd rule" is good
for performance estimates. In other words, if two RAM configs
differed by 6%, an "average" application would see a 2% speed
difference in the time needed to complete a calculation.
(Don't ask me what this means - this is simply an observation
I've made from looking at a bunch of benchmarks...)
This rule may not be appropriate for use with the memtest86+
collected result, and concluding the diff is 72%/3=24% could
well be wrong. The "1/3rd rule" is applicable for small diffs
only.

Here is an article, if you want to read someone else's findings:

http://www.tcmagazine.info/articles.php?action=show&id=128&perpage=1&pagenum=4

You have all of the necessary tools at hand to do your own
benchmarking. You could get a copy of SuperPI and set up your
RAM in a dual channel config (2x512) or one of several possible
single channel configurations (like 2x512+1GB if you want, since
that forces single channel mode, or even 1x1GB), then run SuperPI
in each case and see the diff in the time to calculate PI. You
can also boot with a memtest86+ memory test floppy or CD, and
view the bandwidth indicator in the upper left hand corner (third
indicator down).

Dual channel fetches 128 bits at a time. Single channel
fetches 64 bits at a time. The size of memory transfer is
generally a single cache line, so while dual channel may
be twice as wide, the burst will be half as long. Shorter
bursts lead to lower bus efficiency. So the comparison
between the two modes is not a simple 2:1 proposition.
(I wish there were some engineering pictures of the bus
data burst, so I could see whether there are any diffs in
how the bursts are done, but unfortunately there just doesn't
seem to be this kind of info available.)

There can also be issues with bus widths in the system,
at least on an Intel P4. The FSB on the processor is 64
bits wide. The bus is quad pumped. The Northbridge has
two 64 bit wide DIMMs. The system is "balanced" when two
DDR400 DIMMs deliver 3200MB/sec each, to a FSB800 processor
transferring 8 bytes at a time, for 6400MB/sec bandwidth.
If the memory were to be run faster than the FSB, then
the advantage of the speedup is not directly proportional
to the change in RAM speed. That is because the Northbridge
has to queue up a read burst, until the FSB can eat it.
There can still be a speedup, because the memory bus is
not 100% efficient, and has "holes" where there is no
activity, and so running the RAM at a bandwidth higher
than the FSB, can still have an effect.

The AMD architecture has better possibilities, as there is
no traditional FSB as such. But there are still clocks
involved inside the processor, still quantization
effects, and so the performance effect will not be
a simple minded straight line.

In the new Conroe systems, some of the DDR2 results show no
or very small difference between running at DDR2-533 and
DDR2-667. Each computing solution seems to have its quirks.

And this is why the best way to determine the effect, is
to do your own benchmarks.

As I explained previously, your best config now, is to
run 2x1GB. On an Athlon64 DDR system, that is the best
configuration. It should be able to run at DDR400. Four
sticks of RAM may run at DDR333. That is why overclockers
or enthusiasts would run a two stick config (one per channel)
and would not be caught dead with a four stick config.

In terms of four stick configurations, there are some other,
minor effects to be considered. There is a difference between
running 4x512MB and running 2x512MB + 2x1GB. The 4x512MB
configuration allows an interleaving pattern to be used in
the memory controller. A couple of address bits are moved
around on the address bus. The objective of this kind of
interleaving, is to leave as many open "pages" of memory
as possible. This is because paged operation of memory
is an overhead, and opening and closing pages takes
valuable time on the bus that could be used for other things.
A certain interleave pattern between memory chips, and
certain expectations about how processors access memory,
results in interleaving used as an optimisation. The diff
is an invisible couple of percent. But in case someone
asks, with the right memory controller, the 4x512MB
config could be slightly faster.

(See "dynamic paging mode" of PDF page 7 here, for an
explanation every bit as incomprehensible as mine :)
ftp://download.intel.com/design/chipsets/applnots/25273001.pdf

On an Athlon64, page 71 shows some control bits that could be
doing the same thing as the Intel feature:

http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26094.PDF

Paul
 
V

VanShania

I believe dual channel works the same way as "raid 0" for hard drives. Data
is split between the 2 sticks for faster access instead of "reaching"
further back on 1 stick. I bought ram for a computer where the store "techs"
said it was dual channel. They also stated that real dual channel was just a
scam. The computer crashed constantly. Put the ram in single channel mode
and no more crashes. Store is now closed. lol. I put 2 gigs in my machine
from 512mb and gained 500 points of cpu power according to 3DMark 2005. I
can also record 2 shows and a "not too intensive" game(winspww2) and there
isn't even a hiccup. With Need for Speed I get framerate slow downs(or my
setting were just too high for my "old" Vidcard).

--
Love and Teach, Not Yell and Beat
Stop Violence and Child Abuse.
No such thing as Bad Kids. Only Bad Parents.
Friends don't turn friends on to drugs.
The path often thought about and sometimes chosen by abused children as
adults is Suicide. Be a real friend.

A64 3500+, Gigabyte GA-K8NSC-939,AIW 9800 128mb
MSI 550 Pro, X-Fi, Pioneer 110D, 111D
Antec 550 watt,Thermaltake Lanfire,2 Gb Dual Channel OCZ
2XSATA 320gb Raid Edition, PATA 120Gb
XPMCE2005, 19in Viewsonic,BenchMark 2001 SE- 19074
Games I'm Playing- Falcon 4, SP:WAW
 
J

John Doe

VanShania said:
I believe dual channel works the same way as "raid 0" for hard
drives. Data is split between the 2 sticks for faster access
instead of "reaching" further back on 1 stick.

Since it's Random Access Memory (RAM), I don't think so.

This is not meant to be definitive, but. Apparently dual channel was
intended for systems with a fast CPU and front side bus (FSB) and
not so fast RAM. The system could handle more data than one memory
module could provide at a time. That's why two memory modules were
accessed at the same time through dual channels.
I bought ram for a computer where the store "techs" said it was
dual channel. They also stated that real dual channel was just a
scam. The computer crashed constantly. Put the ram in single
channel mode and no more crashes.

Probably few people have that problem.
Store is now closed. lol. I put 2 gigs in my machine from 512mb
and gained 500 points of cpu power according to 3DMark 2005. I can
also record 2 shows and a "not too intensive" game(winspww2) and
there isn't even a hiccup. With Need for Speed I get framerate
slow downs(or my setting were just too high for my "old" Vidcard).

Using Performance Monitor in Windows XP is IMO a good way to tell
how much RAM your system is using and whether or not you can benefit
by installing more.
 
V

VanShania

Since when is anything you say "definitive"? I can see why you buy dell

--
Love and Teach, Not Yell and Beat
Stop Violence and Child Abuse.
No such thing as Bad Kids. Only Bad Parents.
Friends don't turn friends on to drugs.
The path often thought about and sometimes chosen by abused children as
adults is Suicide. Be a real friend.

A64 3500+, Gigabyte GA-K8NSC-939,AIW 9800 128mb
MSI 550 Pro, X-Fi, Pioneer 110D, 111D
Antec 550 watt,Thermaltake Lanfire,2 Gb Dual Channel OCZ
2XSATA 320gb Raid Edition, PATA 120Gb
XP MCE2005, 19in Viewsonic,BenchMark 2001 SE- 19074
Games I'm Playing- Falcon 4, winSPWW2, winSPMBT
 
J

John Doe

VanShania said:
Since when is anything you say "definitive"?

You really should post in context (instead of top-posting) if you
are going to ask straightforward questions instead of fishing for
information.

The comment you are referring to was meant for the more technically
inclined in this group, it "definitive" is a relative term.
I can see why you buy dell

I have built my own computers for over ten years.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top