A memory rank is a set of DRAMchipsconnected to the same chip select, which are therefore accessed simultaneously. In practice all DRAM chips share all of the other command and control signals, and only the chip select pins for each rank are separate. The term rank was created and defined by JEDEC, the memory industry standards group. On a DDR, DDR2, or DDR3memory module, each rank has a 64-bit-wide data bus. The number of physical DRAMs depends on their individual widths. For example, a rank of ×8 DRAMs would consist of eight physical chips, but a rank of ×4 DRAMs would consist of 16 physical chips. Multiple ranks can coexist on a single DIMM, and modern DIMMs can consist of one rank, two ranks, four ranks, or eight ranks. There is only a little difference between a dual rank UDIMM and two single-rank UDIMMs in the same memory channel, other than that the DRAMs reside on different PCBs. The electrical connections between the memory controller and the DRAMs are almost identical. Increasing the number of ranks per DIMM is mainly intended to increase the memory density per channel. Too many ranks in the channel can cause excessive loading and decrease the speed of the channel. Also some memory controllers have a maximum supported number of ranks. DRAM load on the command/address bus can be reduced by using registered memory. Predating the term rank is the use of single-sided and double-sided modules, especially with SIMMs. While most often the number of sides used to carry RAM chips corresponded to the number of ranks, sometimes they did not. This could lead to confusion and technical issues.
Performance of multiple rank modules
There are several effects to consider regarding memory performance in multi-rank configurations:
Multi-rank modules allow several open DRAM pages in each rank. This increases the possibility of getting a hit on an already open row address. The performance gain that can be achieved is highly dependent on the application and the memory controller's ability to take advantage of open pages.
Multi-rank modules have higher loading on the data bus. Therefore if more than dual rank DIMMS are connected in one channel, the speed might be reduced.
Subject to some limitations, ranks can be accessed independently, although not simultaneously as the data lines are still shared between ranks on a channel. For example, the controller can send write data to one rank while it awaits read data previously selected from another rank. While the write data is consumed from the data bus, the other rank could perform read-related operations such as the activation of a row or internal transfer of the data to the output drivers. Once the CA bus is free from noise from the previous read, the DRAM can drive out the read data. Controlling interleaved accesses like so is done by the memory controller.
There is a small performance reduction for multi-rank systems as they require some pipeline stalls between accessing different ranks. For two ranks on a single DIMM it might not even be required, but this parameter is often programmed independently of the rank location in the system. Nevertheless, this pipeline stall is negligible compared to the aforementioned effects.