Use Bandwidth to test the memory bandwidth of the server (memory bandwidth)

foreword

        For a long time, we can use such as AIDA64 to test the memory bandwidth of WIN-based servers, but to test the memory bandwidth under Linux, there has been a lack of handy tools. Today I will introduce a testing tool under Linux.


一、Bandwidth Tool

bandwidth tool official website address

Like the author, the author feels that there is no convenient tool for testing memory bandwidth under linux, so the author developed this tool... and the author used this tool...

2. Installation and usage steps (based on debian, ubuntu)

#安装编译工具
apt install make gcc nasm

#下载源码
wget https://zsmith.co/archives/bandwidth-1.11.2d.tar.gz

#解压
tar -zxvf bandwidth-1.11.2d.tar.gz 

#编译
cd bandwidth-1.11.2d/
make

#运行
./bandwidth64


Runtime screenshot: 

Finally, a result map of bandwidth.bmp will be generated (as shown in the figure:)

 Note: The time for a complete run is between 30-60 minutes, please plan ahead!


Summarize

        The main purpose of testing memory bandwidth is to check whether the memory channel is close to or reaches the design target (usually the memory of the server is 4 channels or above), or whether the hardware is working normally, so as to facilitate further optimization or troubleshooting of operation and maintenance.

Guess you like

Origin blog.csdn.net/nikolay/article/details/128482194