The choice of transaction size can affect performance. Comparing transaction sizes of 64, 128, and 256 bytes (1, 2, and 4 access quanta for a x32 DDR5 or x32 LPDDR5/5X), the key things to consider are outstanding transactions (OT) and access locality.
- For linear or random block access, transaction size does not directly impact performance but can indirectly impact it due to OT limitations. Therefore, longer transactions are preferred in these cases.
- For random access, short transactions suffer the most DRAM access overhead, while longer transactions benefit from some locality and lower average overhead. Therefore, longer transactions typically see higher efficiency.