Benchmarking on Arch Linux
INFO
Learn how to benchmark your CPU, GPU, RAM, Disk, and Network performance on Arch Linux using popular tools.
CPU Benchmark
Install sysbench
shell
sudo pacman -S sysbenchRun CPU Test
shell
sysbench cpu --threads=$(nproc) runINFO
nproc is used to get the total amount of CPU Threads of the system
NOTE
This tests CPU performance with mathematical operations.
GPU Benchmark
Install glmark2
shell
sudo pacman -S glmark2Run GPU Test
shell
glmark2INFO
glmark2 tests graphics rendering performance.
RAM Benchmark
Install sysbench (if not installed already)
shell
sudo pacman -S sysbenchRun Memory Test
shell
sysbench memory --threads=$(nproc) runINFO
This measures memory read/write speed.
Disk Benchmark
Install fio
shell
sudo pacman -S fioTest Disk Read/Write Speed
shell
fio --name=seqreadwrite --rw=readwrite --bs=1m --size=1G --numjobs=1 --time_based --runtime=60 --group_reportingIMPORTANT
Make sure you have at least 1GB of free disk space before running.
TIP
If fio is to complicated, you can use hdparm to test simpel read speeds. to use it write sudo hdparm -t /dev/YOUR_HARD_DRIVE
Network Benchmark
Install iperf3
shell
sudo pacman -S iperf3Run Network Speed Test
- Start server on one machine:shell
iperf3 -s - Run test from another machine:shell
iperf3 -c <server-ip>
TIP
Always close unused applications for accurate results.
INFO
For detailed instructions, refer to each tool's documentation.
