memory - RAM Quantity vs Speed

07
2014-07
  • Richard

    I'm looking to buy some new DDR3 ram for my computer and I have 4 slots on my motherboard with a maximum size of 32GB. In terms of speed, is it better to get 4 8GB ram modules or to get 4 2GB? Or a mix of both?

    Edit: Going to be running Windows 8.1 x64 Pro

  • Answers
  • David Schwartz

    Other things being equal, more memory is better than less. So 4 8GB modules is the best from a performance standpoint.

    Having two modules is a bit faster than four. Two modules means one per channel while four modules means two per channel. With two modules on a channel, it takes a tiny bit of extra time to select the module. So unless you plan to really use more than 16GB, you could use 2 8GB modules.

  • Dennis

    Memory modules of different sizes but otherwise identical specs should have the same speed.

    The system is another story. Because of the above, there's no way that that 4 8 GiB modules could be slower than 4 2 GiB modules. If your computer will be faster with 32 GiB of RAM than it would be with 8 GiB depends on whether your system will be using more than 8 GiB, i.e. the applications you will be running.

    Most current consumer-level CPUs have a dual-channel memory architecture, meaning that memory modules should always be installed in pairs (2 or 4). As @David Schwartz pointed out, 2 modules should be slightly faster than 4 (although I don't think there would be a noticable difference, but using only two modules also leaves room for future upgrades.

    Keeping all of this this in mind, 2 4 GiB modules make sense than 4 2 GiB modules. In addition, they're probably cheaper. The same goes for 2 8 GiB modules vs 4 4GiB modules.


  • Related Question

    memory - "Faster" RAM at lower clock speeds?
  • Questioner

    I've been kind of interested in the mechanics (er, electronics) of computer systems lately and after a bunch of research and looking at my computer's properties, I've come across something strange.

    Most people say faster RAM means, well, faster RAM. Sounds logical right? But after looking at my computer I noticed that my installed RAM is capable of being under clocked. It usually runs at 333 Mhz (DDR2 at 667) with a 5-5-5-15 timing. However one of the programs I'm using to look into my PC says that it is capable of working at 266 Mhz with 4-4-4-12 timing and 200 Mhz with 3-3-3-9 timing.

    The thing is, according to my calculations (simply the timing number divided by the clock frequency to get latency in seconds), 200 Mhz at 3-3-3-9 timing actually has better latency than 333 Mhz at 5-5-5-15 timing.

    So my question is: Is this in fact true that I can actually improve the performance of my system if a program I run is accessing the memory in a truly random fashion (as opposed to sequential read/writes) by under clocking the RAM and selecting a tighter timing or have I made an error somewhere?

    Edit: Just before you start arguing that I'm mistaken about RAM "speed", let me define what I mean by "faster". RAM has both latency and bandwidth. When I say "faster" I am strictly talking about latency and not bandwidth. In sequential read/writes, yes, bandwidth is much more important than latency (RAM operates in burst mode, which achieves it's maximum bandwidth by pumping sequential rows of data into CPU cache even if the CPU never asked for the extra stuff). In random access however, latency totally out rules bandwidth.


  • Related Answers
  • Racter

    So my question is: Is this in fact true that I can actually improve the performance of my system if a program I run is accessing the memory in a truly random fashion (as opposed to sequential read/writes) by under clocking the RAM and selecting a tighter timing or have I made an error somewhere?

    This is hard to answer as there are many variable to consider. In theory you should be able to improve performance of just those programs. This assumes that memory is highly fragmented or you are reading/writing small amounts of data. Also note that your overall system performace may degrade. Best thing to do is give it a try as it is a very simple test assuming your BIOS provides access to those settings.

  • user10547
  • Bigbio2002

    Typically, you'd gain more benefit by higher MHz vs. lower CAS timings. In a general case, even though your CAS timings may be increased to 5-5-5-15 from 4-4-4-12, for example, the extra 133MHz of clock speed gained will allow the memory to go through those CAS cycles in less time, thereby being "faster" in terms of random access.

    However, it seems that you've stumbled upon an edge case where the lower CAS timings take less time than the higher CAS timings, despite the lower clock speed. In theory, I suppose that a 100% random workload would perform better in this scenario if your math works out. But like others have said, there are other factors to consider (motherboard, etc.), and this would only apply for an entirely 100% random workload that only reads a single word at a time. For the case that you defined, the difference is marginal as it is. Anything aside from that hypothetical random workload would have less performance than if it were running with the RAM modules at a higher clock speed.

    In the real world, when there's a tradeoff, go for the higher MHz (or registered modules, or whatever applies to your need).