4

I have a Mac Pro tower with a 2 x 2.66 GHz 6-Core Intel Xeon chipset, and 8 RAM slots. I have been told because of the processor's triple-channel memory capability that I should be installing RAM modules in sets of three. I do a lot of compiling on this machine and want to maximize all the hardware I've got. Does it follow that I should avoid installing RAM in the last two slots?

3 Answers 3

12

The direct answer to your question is you will get marginally higher peak memory bandwidth with 6 matched memory modules running in triple channel mode than you will with 8 matched memory modules in dual channel mode. However, there are no guarantees that your machine will perform the tasks you use it for any quicker in either mode. You need a more in-depth analysis than that. Firstly, here are the memory replacement instructions for your Mac. In summary, the instructions for your model go like so:

Dual-processor computers have eight memory slots, four per processor. You can install 1 GB, 2 GB, or 4 GB DIMMs. Each processor’s memory controller has three memory channels. DIMM slots 1, 2, 5, and 6 have their own channels; slots 3 and 4 share a channel and slots 7 and 8 share a channel. For optimal memory bandwidth, all six memory channels should be used, and memory should be balanced across the six channels. Note: Populating slot 4 or 8 slightly drops maximum memory bandwidth, but depending on the applications used, overall system performance may benefit from the larger amount of memory.

If you have          Fill in these slots
Two DIMMs            1 and 2
Three DIMMs          1, 2, and 3
Four DIMMs           1, 2, and 5, 6
Six DIMMs            1, 2, 3 and 5, 6, 7
Eight DIMMs          1, 2, 3, 4 and 5, 6, 7, 8

To determine whether you would benefit from more total RAM or from keeping your RAM in triple channel mode would require benchmarks. It's difficult without measuring usage to say whether there will be any benefit from adding more RAM. If you run a compile with Activity Monitor running are you using all the RAM you have? Is disk I/O particularly high? If disk I/O is high but your RAM is not fully utilised you may be better off with an SSD hard drive to run your compilations from rather than adding RAM, check for paging to disk during the compile. The important thing here is to find the bottleneck rather than hoping that adding RAM will make things run quicker. It may even turn out that the CPU or the compiler is the bottleneck. If you have two 6-core CPUs, can your compiler use all that processing power?

I know I've probably raised more questions than I've answered but it's worth considering them if you're looking for a performance improvement for your investment.

If you are a programmer you probably understand these concepts anyway but here's a link to a codinghorror article just explaining the process of finding bottlenecks which I think is easy to read. The OS in this case is windows but the principles are the same. You can use Activity Monitor or a third party resource monitoring tool to determine the bottleneck.

For example, to determine whether your system is running out of RAM, fire up Activity Monitor. Near the bottom of the window, select the tab button labelled 'System Memory' and take a look at the pie chart and figures listed beneath. Here's an example from my system.

Activity Monitor System Memory

The figures in this screenshot you should be interested in are Free and Page Outs. Free shows how much RAM is currently available, Page Outs is an indicator that your system is running out of RAM and has had to write temporary data to disk. Anything above 0 in Page Outs means you could potentially benefit from more RAM. You could perform whatever activity you expect to push your system with Activity Monitor open and monitor these figures throughout. This should help you determine whether you will get any benefit from more RAM. For completeness, here's what each item represents.

  • Free: Memory not in use
  • Wired: Data which must remain in RAM and can't be moved to disk
  • Active: Data which is currently in memory and has been accessed recently
  • Inactive: Data which is currently in memory but is no longer being used. For example, if you recently quit an application, its data is kept in memory for faster relaunch but it will be used by other application if you run out of Free memory.
  • Used: The sum of Wired, Active and Inactive memory

Here's a really nice link too for Mac performance questions http://www.macperformanceguide.com/

1
  • 3
    As it turns out maxing out the memory banks was the way to go. The benefit of more RAM in my case outweighs the triple-channel bandwidth.
    – fbrereto
    Feb 24, 2011 at 19:11
1

It all depends on whether you need raw RAM speed or a higher total amount of RAM. Today's RAM is so fast you may not notice the drop from triple channel to single channel. However, considering you can easily put 12GB or more in the first 6 slots using two 3-channel kits, there's really not much reason to use all 8 unless you need to max out the machine for some reason. And just code compiling will not require so much RAM to need to do that.

So, in summation, I'd recommend sticking with two 3-channel kits to still get a large amount of RAM at the fastest speed.

1
  • 1
    Anyone asking this kind of question needs to do some analysis of how their system is being used and where the bottleneck in the system is when it's pushed hard doing the things that the user intends to use it for. Sep 15, 2011 at 22:06
0

In almost all consumer or end user uses of a Mac Pro, it's highly unlikely that memory transfer speed will be a performance bottleneck (the reason that SSD's became such an important upgrade despite the initial high cost is that file access times affected almost all Mac users). Where memory bandwidth would count is in scientific use (where the Mac Pro is being run flat out on processor and memory intensive activity).

Lloyd Chambers of Mac Performance Guide did some very in-depth tests of how memory affects performance back in June 2009 when the Mac Pro 2009 first came out. Chambers in particular tests against Photoshop and various raw processing utilities. His conclusion:

Whenever it’s a case of disk access versus memory, more memory is always as good or better. This applies not just to Photoshop, but to the ability of the system to use unused memory for caching, which speeds up all programs.

Bottom line: forget about 8 modules vs 6 and get what you need eg 16GB vs 12GB.

For some perspective, don't forget that 8 sticks (dual processor configuration, dual channel) is 50% faster than 3 sticks (single processor, triple channel).

In my own use (web development, photo processing, research), I'm running 32 GB in dual channel (6 core Mac Pro 2009). I have noticed no slow down over 24 GB in triple channel after trying both. On the other hand, running out of memory will slow your computer down to a crawl.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .