Author Topic: Choosing DDR3 double channel slots when installing memory  (Read 1392 times)

0 Members and 1 Guest are viewing this topic.

Offline soldarTopic starter

  • Super Contributor
  • ***
  • Posts: 3356
  • Country: es
Choosing DDR3 double channel slots when installing memory
« on: May 04, 2024, 02:17:17 pm »
HP Compaq Elite 8300 moboard has four DIMM slots:

DIMM1 - Channel B - Black
DIMM2 - Channel B - White
DIMM3 - Channel A - Black
DIMM4 - Channel A - White

If I have two DIMMs of, say 4GB and another two of, say, 2GB, how should they go?

My guess is 4,2,4,2 as it means both channels have the same 4+2.

Is this correct?

So blk = 4GB and white = 2 GB?

ETA: Shoot! I did it again! I meant to put this in the computing section. Sorry 'bout that.
« Last Edit: May 04, 2024, 02:33:58 pm by soldar »
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6828
  • Country: pl
Re: Choosing DDR3 double channel slots when installing memory
« Reply #1 on: May 04, 2024, 03:15:09 pm »
One screws up channel interleaving, the other screws up rank interleaving within channels. Both will work on most motherboards, though.
The true answer is that if you need to ask then it doesn't matter. Unless your motherboard rejects one of those configuration - then you know what to do.

Another true answer is that 4GB and even 8GB RAM is so cheap today that this question shouldn't be asked ;)
 

Offline BrokenYugo

  • Super Contributor
  • ***
  • Posts: 1134
  • Country: us
Re: Choosing DDR3 double channel slots when installing memory
« Reply #2 on: May 05, 2024, 01:13:41 pm »
A nice thing about this used enterprise hardware is good documentation, pretty sure last time I had this question about preferred ram arrangement the answer was in the hardware/maintenance manual, given that was a newer DDR4 machine but I bet it's in there.

https://support.hp.com/us-en/product/setup-user-guides/hp-compaq-elite-8300-small-form-factor-pc/5232852

IIRC it is color=channel and goes the way you think. It will probably run fine either way, worst case it fails POST until properly configured, not a big deal to just try it.
« Last Edit: May 05, 2024, 01:15:35 pm by BrokenYugo »
 

Offline m k

  • Super Contributor
  • ***
  • Posts: 2119
  • Country: fi
Re: Choosing DDR3 double channel slots when installing memory
« Reply #3 on: May 05, 2024, 01:37:17 pm »
I've found a Fujitsu model series that is not completely ancient, but is still choking.
Old combs were 2G and new ones 4G DDR3-800, so not exactly very new construction either.
Final outcome was that 2x2G had to be first, maybe overall speed didn't adjust correctly.
2x4G had intermittent problems, all configurations were accepted by the manual.

Can't remember how module chip count was, but surely that should be taken care of if nothing is mentioned.
(since memory read is piped the individual memory cell must be in a correct physical memory chip)
(if not then next read to pipe goes to the incorrect physical memory chip that is not ready yet)

About the amount of expansion.
Industrial stuff has always a dilemma, what money and where.
New machine can be very cheap, maybe even a leasing return can be used.
But then there is an installation and its cost, and maybe the machine is at best a secondary anyway.
So the outcome can be that bean counters are saving from wrong expenses.
This time and age can also be very special, W10 is pacing out and change is possibly a bit more than minimal.
Advance-Aneng-Appa-AVO-Beckman-Danbridge-Data Tech-Fluke-General Radio-H. W. Sullivan-Heathkit-HP-Kaise-Kyoritsu-Leeds & Northrup-Mastech-REO-Simpson-Sinclair-Tektronix-Tokyo Rikosha-Triplett-YFE
(plus lesser brands from the work shop of the world)
 

Offline soldarTopic starter

  • Super Contributor
  • ***
  • Posts: 3356
  • Country: es
Re: Choosing DDR3 double channel slots when installing memory
« Reply #4 on: May 05, 2024, 06:19:32 pm »
A nice thing about this used enterprise hardware is good documentation, pretty sure last time I had this question about preferred ram arrangement the answer was in the hardware/maintenance manual, given that was a newer DDR4 machine but I bet it's in there.

https://support.hp.com/us-en/product/setup-user-guides/hp-compaq-elite-8300-small-form-factor-pc/5232852

IIRC it is color=channel and goes the way you think. It will probably run fine either way, worst case it fails POST until properly configured, not a big deal to just try it.
Thanks. It is not the SFF but the CMT.  I do have the PDF manual but it does not say how to best populate the slots.  It says

DIMM1 - Channel B - Black
DIMM2 - Channel B - White
DIMM3 - Channel A - Black
DIMM4 - Channel A - White

My assumption is that if I have only two 4 GB sticks they would go in the two black slots (different channels) and therefore, if I add two more 2GB sticks they would go in the white slots. This makes sense to me.

I know I can mess around and try. I have a very old double core Compaq GS266AA-ABE and I have messed with it every which way and it will not accept more than 5 GB total even though the modules are all good and in theory it should take 8 GB but the best I can get to work is

slot-0 512MiB HYMP564U64CP8-Y5
slot-1  2GiB Kingston
slot-2 512MiB HYMP564U64CP8-Y5
slot-3  2GiB  Kingston

It will not work with 4 x 2GB. It is a mystery but not worth spending time on it.

Regarding the Elite 8300 CMT i know I can just test BUT it is not my machine, I would have to guide the owner remotely and the owner subscribes to the (very erroneous) principle of "if it ain't broke don't fix it".

If I am lucky I get one shot at this.



All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5078
  • Country: ro
  • .
Re: Choosing DDR3 double channel slots when installing memory
« Reply #5 on: May 05, 2024, 07:11:44 pm »
Always populate the slot furthest away from the cpu socket as the termination resistors are closer to that slot.

[CPU] ==== [ 0 ] [ 1 ] [ 2] [ 3 ]

1 stick  = [ 3 ]
2 sticks  = [ 1 ]  [ 3 ]

If all four sticks are single rank,  then it doesn't matter.  If the 4 GB sticks are dual rank and the 2 GB are single rank, I'd put the 2 GB sticks on one channel (slots 0 and 2) and the 4 GB sticks on the other channel (slots 1 and 3)
 

Offline soldarTopic starter

  • Super Contributor
  • ***
  • Posts: 3356
  • Country: es
Re: Choosing DDR3 double channel slots when installing memory
« Reply #6 on: May 05, 2024, 09:31:31 pm »
Hynix/Hyundai 2GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns) HMT125U6BFR8C-H9

Samsung 4GB DIMM DDR3 M378B5173QH0-CK0 1rx8 pc3 12800U 11-12-A1

I know nothing about ranks. Unless I see it very clear I think I might wait and buy four equal sticks when I want to upgrade.
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6828
  • Country: pl
Re: Choosing DDR3 double channel slots when installing memory
« Reply #7 on: May 06, 2024, 05:04:47 am »
If all four sticks are single rank,  then it doesn't matter.  If the 4 GB sticks are dual rank and the 2 GB are single rank, I'd put the 2 GB sticks on one channel (slots 0 and 2) and the 4 GB sticks on the other channel (slots 1 and 3)
Why would that be?
Did you ever find it to make a measurable difference for any particular workload?
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5078
  • Country: ro
  • .
Re: Choosing DDR3 double channel slots when installing memory
« Reply #8 on: May 06, 2024, 06:05:23 am »
hynix is dual rank : https://www.compuram.biz/memory_module/hynix/hmt125u6bfr8c-h9.htm

Samsung is single rank it says so in the title 1Rx8

i wrote it wrong in the previous comment ... one channel is slots 0 and 1, the other is slots 2 and 3 ... so if you want dual channel with two sticks, you put rams in 2nd slot of each channel, which would be 1 and 3  (furthest away from cpu socket, in theory you get better signals and potential for higher clocks and lower timings if the sticks are closer to the termination resistors)

so what i was thinking on saying is that if two sticks are dual rank and the other two are single rank, i'd try to put the two dual rank on one channel (2nd channel, slots 2 and 3) and the two single rank on the other channel, in the hope that at least one channel can gain some performance increase by using two ranks in a more efficient way.



It probably doesn't matter on a system so old, or probably the memory controller doesn't implement this, but on more modern systems like let's say socket AM4 from AMD, the memory controller can gain a bit of performance with dual rank sticks by issuing commands to one rank and do something else with the other rank while the stick is busy with first rank. 

It's something like this, in a simplified way ... the memory controller sends a request (an address) to read data from or write data to, then it takes some cycles for the ram chips to be ready to read data from, and once they're ready they can send data from that address in a burst .... well the controllers can send a "get ready command" to both ranks, switch to one rank and read the data and in the meantime the other rank is ready to transfer the data and the controller can switch rank and start receiving it, instead of switching rank, sending get ready command, waiting and then receiving ... it's a few nanoseconds of time saved.

If you mix single rank and dual rank on a single channel, this scheme may not work, depends on the controller I guess.


I don't remember if it was during the DDR2 times or also was the case with DDR3 but some intel chipsets (when they still contained the memory controller) couldn't handle ram sticks made with 4 bit wide chips, while amd controllers could tolerate a wider range of memory arrangements

for example https://www.ebay.com/itm/266454765280 and https://www.ebay.com/itm/224578744702 , these won't work with some (if not all) intel systems.... while they'll work in AMD systems. that's why they were often cheaper sticks or sold only to OEMs.

Usually ram sticks are made with 8 bit wide chips, so you have 8 chips x 8 bits = 64 bit wide, so if you have a ram stick with 16 chips, it's gonna be dual rank, usually one rank per side. But the ram sticks in the link above use 4 bit wide chips, so all the 16 chips on the stick form a single rank.

They also make 16 bit wide ram chips, where you only need 4 chips to get the 64 bits it's quite common in laptop ram ... here's an example https://www.amazon.com/3200MHz-PC4-25600-260-Pin-Notebook-M471A1G44AB0-CWE/dp/B08QRZX7B4

Some "value" ram sticks were made for desktops as well, and usually used by OEMs to cut costs.

Example : https://www.amazon.com/Crucial-2x8GB-Desktop-Memory-CT2K8G4DFRA32A/dp/B08C53LL9J/  - there's nothing under the label, only 4 chips on the stick.

These are usually slower than x8 ram sticks,  LinusTechTips made a video explaining why, I don't remember the reason off the top of my head right now
 
« Last Edit: May 06, 2024, 06:20:03 am by mariush »
 
The following users thanked this post: soldar

Offline soldarTopic starter

  • Super Contributor
  • ***
  • Posts: 3356
  • Country: es
Re: Choosing DDR3 double channel slots when installing memory
« Reply #9 on: May 06, 2024, 06:40:00 am »
Thanks. I think I will wait and when I upgrade do it with modules that are all of the same brand and model. 
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6828
  • Country: pl
Re: Choosing DDR3 double channel slots when installing memory
« Reply #10 on: May 06, 2024, 07:03:29 am »
so what i was thinking on saying is that if two sticks are dual rank and the other two are single rank, i'd try to put the two dual rank on one channel (2nd channel, slots 2 and 3) and the two single rank on the other channel, in the hope that at least one channel can gain some performance increase by using two ranks in a more efficient way.
You still have multiple ranks on each channel, from the two separate RAM modules. If anything, I suppose most people would argue that it's sensible to distribute the ranks equally between channels.

However, the "two equal channels" configuration breaks rank interleaving on AMD (the "BIOS and kernel developer's guide" is clear that interleaving requires a power-of-two rank count and ranks of equal size on the channel) and likely on Intel too. In non-interleaved mode the ranks are mapped into address space as two separate blocks, reducing the chance that both will be accessed at the same time under most conditions.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 16954
  • Country: lv
Re: Choosing DDR3 double channel slots when installing memory
« Reply #11 on: May 06, 2024, 07:25:26 am »
My guess is 4,2,4,2 as it means both channels have the same 4+2.
Yes, otherwise part of the memory will have lower throughput.
« Last Edit: May 06, 2024, 07:29:24 am by wraper »
 

Offline soldarTopic starter

  • Super Contributor
  • ***
  • Posts: 3356
  • Country: es
Re: Choosing DDR3 double channel slots when installing memory
« Reply #12 on: May 06, 2024, 07:26:54 am »
Samsung is single rank it says so in the title 1Rx8
The more I look into this the more confused I am.

https://www.ebay.com/itm/166730712600

Title says Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0
but the sticker in the photo clearly says 2Rx8

even though the model M378B5273DH0-CK0 should be 1Rx8

I think I will let this be.
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline m k

  • Super Contributor
  • ***
  • Posts: 2119
  • Country: fi
Re: Choosing DDR3 double channel slots when installing memory
« Reply #13 on: May 06, 2024, 09:56:37 am »
Samsung knows better.
Random text is from where ever.

Rank is a rank in rank and file, so a row.
All chips of a rank are accessed when read happens, next read can happen when chips are ready.

So number of ranks is also how many different chip select lines the module has.
There are also RAS and CAS, Row and Column Address Strobes, that can be timed as the machine sees fit.
CAS Latency CL is also there, so as fast as the machine can do is not how it goes.
Module also includes an SPD way of info how it should be treated.

Module can have more chip select lines than the motherboard can truly support.
But motherboard must have a method to access them all or part of the memory is lost.

So rank is the lowest level, next is slot or a file and then channel.
It's also possible to have a case where one slot occupies the whole channel.
Advance-Aneng-Appa-AVO-Beckman-Danbridge-Data Tech-Fluke-General Radio-H. W. Sullivan-Heathkit-HP-Kaise-Kyoritsu-Leeds & Northrup-Mastech-REO-Simpson-Sinclair-Tektronix-Tokyo Rikosha-Triplett-YFE
(plus lesser brands from the work shop of the world)
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5078
  • Country: ro
  • .
Re: Choosing DDR3 double channel slots when installing memory
« Reply #14 on: May 06, 2024, 11:02:39 am »
Samsung is single rank it says so in the title 1Rx8
The more I look into this the more confused I am.

https://www.ebay.com/itm/166730712600

Title says Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0
but the sticker in the photo clearly says 2Rx8

even though the model M378B5273DH0-CK0 should be 1Rx8

I think I will let this be.

In the picture, the top three sticks are  2Rx8 , the bottom one is 1Rx8 ... you need to be specific and tell the seller to double check them and give you only 2Rx8 or only 1Rx8

This seller seems OK, seems to have lots of kits and it's from UK (unless they fake the info) so should get to you faster in Spain : https://www.ebay.com/itm/234230695337

It's a bit more expensive but may be worth the time and hassle saved. Should also be able to ask him to give you 4 identical sticks.
« Last Edit: May 06, 2024, 11:08:08 am by mariush »
 

Offline soldarTopic starter

  • Super Contributor
  • ***
  • Posts: 3356
  • Country: es
Re: Choosing DDR3 double channel slots when installing memory
« Reply #15 on: May 06, 2024, 11:08:19 am »
In the picture, the top three sticks are  2Rx8 , the bottom one is 1Rx8 ... you need to be specific and tell the seller to double check them and give you only 2Rx8 or only 1Rx8
I would have thought the model reference would be enough to completely identify the module but I see the same model can come in different configurations.

At this point I think I will just wait and when I decide to upgrade just buy four identical sticks.
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6828
  • Country: pl
Re: Choosing DDR3 double channel slots when installing memory
« Reply #16 on: May 08, 2024, 09:35:36 am »
M378B5273DH0 is dual rank, it says so on the sticker and in the datasheet.
The seller is clueless and/or sells a mix of different types.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf