Evaluation Item 2: Memory Test
As a foreword, this post is part of our horizontal evaluation of Raspberry Pi 5 and other models. Please see that post for further information on the evaluation.
Previous tests in this series can be found here:
Evaluation Item 1: CPU Test
After testing the CPU, we will test the memory. At this time, we’ll use SysBench again to test the read and write performance of the four Raspberry Pi memories: Zero 2W, PI3B+, PI4, and PI5. The test commands used are as follows:
sysbench memory --threads=4 --memory-block-size=1K --memory-total-size=2G --memory-oper=read run
sysbench memory --threads=4 --memory-block-size=1K --memory-total-size=2G --memory-oper=write run
Model | RAM |
---|---|
PI 5 | LPDDR4X-4267 SDRAM (2GB/4GB/8GB) |
PI 4B | LPDDR4-3200 SDRAM(2GB/4GB/8GB) |
PI 3B+ | 1GB LPDDR2 SDRAM |
PI Zero 2W | 512MB LPDDR2 |
The read and write test results are shown below. From Figure 1, we can clearly see the difference in memory read and write speeds between the various Raspberry Pi models. PI5 is still far ahead, with the highest memory performance and the fastest data transfer speed.
Figure 1