Common benchmark tools
gathers information on CPU, motherboard and more.
./CPU-X/CPU-X_v3.1.3_portable_noGTK.linux64
programs that used to benchmark CPU, Disk, Memory, Network (untested)
cd ./BenchMark/CPU
javac cpu.java
java cpu
calculates the product of two 1500x1500 matrix
cd ./Parallelism-Benchmark
chmod 500 benchmark.out
./benchmark.out
The STREAM benchmark is a simple synthetic benchmark program that measures sustainable memory bandwidth (in MB/s) and the corresponding computation rate for simple vector kernels. see http://www.cs.virginia.edu/stream/ref.html
SysBench runs a specified number of threads and they all execute requests in parallel. The actual workload produced by requests depends on the specified test mode. You can limit either the total number of requests or the total time for the benchmark, or both.
sudo apt-get install -y sysbench
sysbench --test=cpu --cpu-max-prime=20000 --num-threads=8 run
stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
sudo apt-get install -y stress-ng
stress-ng --cpu 8 --cpu-method matrixprod --metrics-brief -t 30
The TCP, UDP and SCTP network bandwidth measurement tool
sudo apt install iperf3
or
sudo add-apt-repository "ppa:patrickdk/general-lucid"
sudo apt-get update
sudo apt-get install -y iperf3
# Start Server
iperf3 -s
# Connect to Server
iperf3 -c server_ip