Raspberry Pi enthusiast base 64-bit system version 2.0 installs sysbench

Foreword:

The Raspberry Pi enthusiast base 64-bit system version 2.0 and the Raspberry Pi official system are currently based on the buster version of Debian. Currently, the 32-bit buster upstream provides sysbench. The official system is 32 so you can download it directly. Our system is 64-bit, but the 64-bit buster upstream does not provide sysbench, so the download process will be more complicated. Next, I will explain the tutorial for installing sysbench on the base 64-bit system. Note that this tutorial only explains the installation. The specific use is The previous tutorials have been covered, so I won’t repeat them here.

Start of the tutorial:

1. Download support

sudo apt-get update

sudo apt install libtool automake autoconf pkg-config

sudo apt install make -y

2. Download the software installation package and unzip it and upload it to the Raspberry Pi (you can receive
it by sending [sysbench] through the official account) and upload it with ftp software
Insert picture description here
3. Enter the unzipped file

cd sysbench-0.4.12/

4. Do the following

touch ./NEWS ./AUTHORS

sudo autoreconf -i

./configure --build=aarch64-unknown-linux-gnu --without-mysql

sudo make -j4

sudo make install

5. Successful installation, use the test
CPU single thread performance test

sysbench --num-threads=1 --test=cpu --cpu-max-prime=10000 run

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_41676577/article/details/112974572