4

Made the mistake of thinking 12GB was enough, but I keep crashing out of memory while running sparse matrix solver... a few more GB should do it.

Is it valid to replace 3 of the 2GB modules with three 4GB ram modules, for 18GB total ? I realize that its "probably" valid, and "might" break triple-channelness, but does anyone have a specific experience trying this?

Mods- I think this is the same question, but unanswered and questionable choice of title... could be merged with my question. Semi-Hybrid Triple Channel DDR3

peter karasev
  • 193
  • 1
  • 2
  • 9
  • Just out of curiosity, how big is your dataset? Instead of throwing memory at the problem, could you improve your algorithm? It might take a bit longer, but yield a better value in the long run. – MBraedley Oct 25 '10 at 22:59
  • well it would be stupid of me to accidentally be using full-matrix instead of sparse somewhere, but that would take up about 120GB... so 2.5-3.5 GB per matrix is not bad. Whether the matrix could be more smartly created is a difficult question. "maybe", but the bottom line is if I use 8 threads on core-i7, I can't even fit 2GB per thread... – peter karasev Oct 26 '10 at 01:02
  • well the other trick is to sequentially load into the matrix from disk, you just get a huge performance hit while loading, and another place to introduce bugs. – peter karasev Oct 26 '10 at 01:23
  • As answered below Yes, it is possible. And as a little extra confirmation: Atm I am running that configuration on my X58/i920 board. – Hennes Jun 17 '15 at 14:16

3 Answers3

7

There's no rule that says your RAM all has to be the same size. Additionally you won't break "triple-channelness" so long as you have 3 matching 4GB dimms to replace the 3 2GB dimms.

It is important that the speed and timings are the same though otherwise your performance will be as good as your weakest component.

Hennes
  • 64,768
  • 7
  • 111
  • 168
chunkyb2002
  • 975
  • 4
  • 5
3

In most cases, this sort of thing varies by motherboard. Most don't like too much mixing and matching, but can handle it in limited cases.

Mine, for example, has four slots. You're free to have two sorts of RAM, but slots 1/3 and 2/4 have to have identical sticks, otherwise Bad Things happen (slot 4 will be ignored, IIRC). This would obviously be a bit different with triple-channel, but the same principle applies.

My advice would be to check your mobo manual, try it and see what happens., and if it doesn't work, look into getting 2 or 4 of the 4GB sticks for balance.

ssube
  • 920
  • 6
  • 13
  • Triple Channel mobo's will have 6 Dimm slots, it sounds like he's already populated them all with 6 2gb Dimms (2 x 6gb triple channel set). Your information is still valid for dual channel motherboards but not applicable in this case. – chunkyb2002 Oct 25 '10 at 21:29
  • Ah, I missed the triple channel. Sounds like 3x2 and 3x4 should work, if the mobo likes that. I'll edit my answer a bit. – ssube Oct 26 '10 at 00:36
  • This is the motherboard: ASUS P6X58D Premium LGA 1366 Intel X58 SATA 6Gb/s USB 3.0 ATX Intel Motherboard. Actually upon RTFM, it says "You can install different RAM sizes in channels A,B,and C. The system maps the lowest size of the three to triple channel, and any excess is then used in single-channel mode". The above sounds much funkier than what I ask, so its likely that 2 + 4 in a channel would be ok... I guess that's one reason this board is kind of expensive, nice feature. – peter karasev Oct 26 '10 at 01:12
  • Yeah, it sounds like you should be good. With modern motherboards, it's not going to break anything if it's not supported, so there's no reason not to. Being able to use the excess is a pretty nice little features though. Mine definitely doesn't support that. – ssube Oct 26 '10 at 02:19
0

To dig up an old topic: as the x58 chipset is getting renewed attention and there is a lot of “hear say” about optimal memory configurations, I would like to inform you about my own experiences and tests.

I can confirm that a 3x(4+2gb) configuration is fine on the x58 chipset, and works in true triple channel, as does a 2x(2+2gb)+1x(4Gb) config.

My advise is not to listen to hear say, and to do your own research. In that way, I found out it is fine to mix and match different memory sizes and types, as long as they can make the same timings (weakest link determines the lowest timings). To preserve triple channel, you should achieve the same size PER CHANNEL. So it is fine to mix 2x2gb sticks on channels And B, and to use a single 4Gb stick on channel C. But it is not fine to use 4 4Gb sticks! Please use a benchmark tool for comparison. In the latter case, my ASUS p6t deluxe v2 reports 5,33 gb triple channel, but performance is crippled, because 1 stick is used for interleaving. When I use 3x (4+2=6gb) = 18gb, performance is much better (triple channel worthy), despite the uneven sizes. Conclusion: mixing and matching is fine on x58, as long as everything comes in 3’s. (4+2)x3 or (4+4)x3 or (8)x3. Please be advised and only believe the benchmarks!