Linux Benchmark Scripts and Tools

This list of Linux benchmark scripts and tools should come in handy for quick performance checks of CPU, storage, memory, and network on Linux servers and VPSs. Check each script before running it from command line.

Most of these scripts will benchmark CPU, memory, storage and network. In most cases, the CPU model, frequency, number of cores will be displayed along with a basic CPU performance bench. Memory totals will be shown (see other more comprehensive tools below for memory-specific benchmarks). System storage (SSD, NVMe, etc.) input/output speed will be tested, and finally, the server’s internet connection will be tested by downloading files from common test locations around the world.

If your web host points to being related to WebDev only because of poor application performance, use these command-line scripts to help verify whether the hardware (eg: disk/storage bottleneck) or network may also be to blame.

Linux benchmark script

  • bench.show – View system information and test your Linux server’s network, disk drives.
  • nancho – A script loosely based on the installed freevps.us/bench.sh.
  • vpsbench – A script to run simple and comprehensive benchmarks on CPU and IO performance.
  • VPS Benchmark – Benchmark disk, CPU and network.
  • Linux Bench – STH Linux Benchmarking Script.
  • Bench-S-2 – System Info + Speedtest IPv4 + Drive Speed.
  • unixbench.sh – Auto install Unixbench and test scripts.

Other Linux Benchmark Tools

  • byte-unixbench UnixBench is the original BYTE UNIX benchmark suite, updated and modified by many people over the years.
  • fio – Flexible I/O tester.
  • sysbench – Scriptable database and system performance benchmarks.
  • Bonnie – Get/set ATA/SATA drive parameters under Linux.
  • s – Small collection of programs to measure storage I/O performance.
  • Phoronics Test Suite – Phoronics Test Suite Open-source, cross-platform automated testing/benchmarking software.
  • geekbench – This tool allows you to access Geekbench 4 from the command prompt and automate it with shell scripts or batch files.
  • VDbench – Generate disk I/O workloads used to validate storage performance and storage data integrity.
  • iozone – A filesystem benchmark tool. Benchmark generates and measures different types of file operations.
  • isometer – Iometer is an I/O subsystem measurement and characterization tool for single and clustered systems.
  • Interbench – Linux Interactivity Benchmark
  • hdperm – Get/set ATA/SATA drive parameters under Linux
  • dd – Benchmark your VPS with dd, how-to guide.

use at your own risk. Always verify before running. If you find any broken scripts or problems, please notify me.

Originally Published: December 6, 2017 | Last Updated: September 27, 2021

Leave a Comment