Memory – Why Unequal RAM Amounts Decrease Performance

memoryperformance

This page describes the RAM specifications for many of the MacBook laptops. In the section for my laptop (13" Pro Late 2011), it says:

Additional Notes: For best performance, fill both memory slots, installing an equal memory module in each slot.

This isn't the first time I've heard of this phenomenon, and it's definitely not specific to Apple.

Why is this the case? Other than the obvious decrease in available memory, why would it be worse to run with 6GB (1x4GB + 1x2GB) than with 8GB (2x4GB)?

Best Answer

With equal amounts of memory in both slots, memory can be "interleaved" so that successive chunks of memory alternate slots. That way, memory accesses get distributed to both slots almost perfectly evenly, allowing their bandwidth to combine. With uneven amounts, memory cannot be interleaved and has to be mapped first to one stick and then to the other. A program that is accessing a large contiguous chunk of memory will find almost all of its accesses going to one stick, and there will be no bandwidth combination.

Related Question