rdma_bench environment construction

Recently, I am learning the basic knowledge related to rdma, and I want to use the relevant code in the rdma_bench warehouse. However, because the code in this warehouse is relatively old, it needs to be modified. After searching on the Internet, I found that someone has already modified it. The code has been uploaded to the Github repository. For details, please refer to RDMA Scalability Measurement Experiment BASED ON Design Guidelines for High Performance RDMA Systems_rdma Experiment_hb_wxz's Blog-CSDN Blog

The author of the original warehouse was conducting experiments on CX-3 network cards (early network cards). The network card I currently use is CX-6, and the modified code also corresponds to the CX-6 network card. The process of setting up my environment is attached below.

git clone https://github.com/wxzisk/RDMA-General.git
mv RDMA-General rdma_bench
cd rdma_bench

Next, you need to install gflags. Please note that the version of cmake cannot be lower than 3.0.2.

git clone https://github.com/gflags/gflags.git
cd gflags
cmake .
make && make install

You need to install some necessary libraries below, just use apt install directly.

sudo apt install -y build-essential memcached libmemcached-dev libnuma-dev numactl

It should be noted that the version of cmake cannot be lower than 2.8

cd rdma_bench
cmake .
make

After make is successful, you will find that there is an additional build folder in this directory, and then we test one of them.

cd ud-sender
chmod +x run-servers.sh
./run-servers.sh

Since I am operating under root, I need to delete sudo, and then there will be an error of -E. By querying the relevant solutions, I only need to replace -E with set -e.

Then execute ./run-servers.sh and no more errors will be reported.

Guess you like

Origin blog.csdn.net/eternal963/article/details/129653011