6

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.

2
  • 1
    Short answer: yes, latency has a big impact on RAM performance :)
    – alex
    Sep 10, 2009 at 6:08
  • 2
    Short answer: no. Latency is almost never as important as transfer speed. You may wait a tiny bit longer until you get the first bit of data, but you'll more than make it up by getting the last bit sooner. (You are wrong about random access. At this level, RAM cannot be accessed randomly. You can only read chunks.) Nov 23, 2012 at 23:48

4 Answers 4

2

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).

1

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.

1
  • +1 for testing it out. These kinds of things aren't hard to do, so the best thing would be to try for yourself and see if there is an improvement in performance. Sep 22, 2009 at 5:15
1

You can use the performance index described here: http://www.anandtech.com/show/7364/memory-scaling-on-haswell/10 I am not sure how it applies to low speed rams, but in your case:

333/5 = 66.6
266/4 = 66.5
200/3 = 66.7

So in theory it does not matter which settings you choose.

0

This pretty much goes over it http://www.pcstats.com/articleview.cfm?articleID=873

1
  • 2
    Please eloborate. Posting a link alone is not entirely answering the question. Sep 17, 2009 at 19:29

You must log in to answer this question.