How to Use a Linux CPU Benchmark Tool

If you want to benchmark a CPU on Linux, the simplest choices are Geekbench 7 for an easy cross-platform score, Sysbench for a quick terminal-based test, and Hardinfo2 for a graphical system profiler with built-in benchmarks. For repeatable comparisons, use the same tool version, command, power settings, and cooling conditions on every run.

1. Benchmark a Linux CPU with Geekbench 7

Geekbench is the easiest option when you want familiar single-core and multi-core scores that can be compared with results from other systems. As of October 2026, Primate Labs lists Geekbench 7.1.0 for Linux. The official Linux build requires a 64-bit Intel or AMD processor, Ubuntu 22.04 LTS or later, and at least 4 GB of RAM. Check the official Geekbench Linux download page before downloading because the version number can change.

Download and extract Geekbench

  1. Download the current Linux .tar.gz package from the official page.
  2. Open a terminal in your Downloads folder.
  3. Extract the archive. For Geekbench 7.1.0, the command is:
tar -xf Geekbench-7.1.0-Linux.tar.gz
cd Geekbench-7.1.0-Linux
ls
Linux terminal showing Geekbench 7.1.0 archive extraction and the geekbench7 executable
After extraction, the Geekbench folder contains the executable used to start the benchmark.

Run the CPU benchmark

Start Geekbench from the extracted directory:

./geekbench7

The Linux build runs the benchmark from the terminal and then provides a Geekbench Browser result that includes the CPU model plus single-core and multi-core scores. Geekbench 7 scores should only be compared with other Geekbench 7 scores; Primate Labs explicitly warns that scores from different major Geekbench versions are not comparable. Geekbench 7.1 CPU scores remain comparable with 7.0 CPU scores.

Geekbench 7 CPU benchmark running in a Linux terminal with a Geekbench Browser results window
A Geekbench CPU run produces single-core and multi-core results that can be reviewed in Geekbench Browser.

The free edition includes CPU and GPU benchmarking and online result management. Geekbench 7 Pro adds automation and offline-result features; see the official edition comparison if you need scripted benchmark runs.

2. Use Sysbench for a fast command-line CPU test

Sysbench is a lightweight, scriptable benchmark that is widely available on Linux. Its bundled CPU test repeatedly performs prime-number calculations. The upstream project documents --threads, --time, and --cpu-max-prime options, making it useful for consistent before-and-after tests.

Install it from your distribution when available. For example:

sudo apt install sysbench        # Ubuntu/Debian
sudo dnf install sysbench        # Fedora
sudo pacman -S sysbench          # Arch Linux

Ubuntu, Fedora, and Arch all currently publish Sysbench packages, although repository versions can differ. The official Sysbench project also provides installation instructions.

Run single-thread and multi-thread tests

For a 30-second single-thread test:

sysbench cpu --threads=1 --time=30 run

For a multi-thread test using all logical CPUs reported by Linux:

sysbench cpu --threads="$(nproc)" --time=30 run
Linux terminal running a Sysbench CPU test with four threads
Sysbench reports CPU throughput as events per second along with timing and latency statistics.

When you use a fixed --time, focus mainly on events per second: higher is better for the same command and software build. Do not compare only the total time when every test is intentionally set to run for 30 seconds. For meaningful comparisons, keep the Sysbench version, thread count, prime limit, and runtime identical.

3. Use Hardinfo2 if you prefer a GUI

The original HardInfo project is old, so current Linux users should look for Hardinfo2, the actively maintained continuation. Hardinfo2 combines hardware information, reports, local benchmarks, and optional online benchmark comparisons.

Package availability differs by distribution. The project currently lists Fedora, openSUSE, and Arch-family options while noting that availability for some Debian- and Ubuntu-family releases is still a work in progress. Use the Hardinfo2 download page rather than assuming the old hardinfo package is current.

After installation, launch:

hardinfo2

Open the benchmark area and run the test you want. The Hardinfo2 user guide also says the Synchronize action can run all benchmarks and refresh comparison data. If you prefer the terminal, Hardinfo2 supports individual benchmark runs such as:

hardinfo2 -b 'FPU FFT'
Hardinfo2 window showing the benchmarks section for CPU and system performance tests
Hardinfo2 provides a graphical way to launch system benchmarks and review hardware information.

See the official Hardinfo2 user guide for the current GUI and command-line options.

How to get more reliable Linux CPU benchmark results

  • Close heavy background apps before each run so they do not steal CPU time.
  • Keep power mode consistent. A laptop on battery saver can score very differently from the same laptop on AC power.
  • Watch temperatures. Thermal throttling can reduce sustained multi-core performance.
  • Run the same test at least three times and compare the middle or average result rather than relying on one unusually fast or slow run.
  • Compare like with like. Use the same benchmark version and settings, especially when comparing two kernels, BIOS settings, CPU governors, or cooling configurations.

For a quick answer, use Geekbench 7 when you want a broadly comparable score, Sysbench when you want a repeatable terminal workload, and Hardinfo2 when you want a GUI plus system information in one place.

Leave a Comment

How to Record Speaker Output on Linux with Audacity

How to Record Speaker Output on Linux with Audacity

Capture Linux desktop audio in Audacity by routing its recording stream to your output device’s monitor source. Follow PulseAudio and PipeWire steps, export tips, and fixes for silent tracks.

How to Use Dropbox on Linux: Install and Sync Your Files

How to Use Dropbox on Linux: Install and Sync Your Files

Install Dropbox on Linux from the official package, sign in, sync a local folder, manage selective sync, and check status from the command line.

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

How to Install Inkscape on Linux: Ubuntu, Fedora, Arch, and More

Install Inkscape from your Linux distribution’s repositories, the Ubuntu stable PPA, Snap, or Flathub, with current commands and notes for choosing a package source.

How to Find and Remove Duplicate Files on Linux With FSlint

How to Find and Remove Duplicate Files on Linux With FSlint

Use FSlint to scan selected Linux folders, review duplicate groups, and safely delete redundant files or learn when hard-link merging is appropriate.

How to Install SABnzbd on Linux and Configure It

How to Install SABnzbd on Linux and Configure It

Install SABnzbd on Ubuntu or Debian, or run it in Docker on another Linux host. Then open the web interface and configure your provider and download folders.

How to Install the Paper GTK Theme on Linux

How to Install the Paper GTK Theme on Linux

Install the Paper GTK theme from supported Linux repositories, enable it for GTK apps in GNOME Tweaks, and see what the legacy theme can and cannot change.

How to Install and Set Up Plex on OpenMediaVault with Compose

How to Install and Set Up Plex on OpenMediaVault with Compose

The old OpenMediaVault Plex plugin is archived. Set up Plex on OMV 8 with OMV-Extras, the Compose plugin, persistent storage, and Plex’s official container.

How to Clean and Speed Up Ubuntu Safely

How to Clean and Speed Up Ubuntu Safely

Clean and speed up Ubuntu with safe APT cleanup, storage checks, and startup controls that help free space and troubleshoot a sluggish desktop.

How to Install the Hiri Email Client on Linux

How to Install the Hiri Email Client on Linux

Install Hiri on Linux with its Snap package or official tarball, add a desktop launcher, and check supported accounts plus a warning about Hiri’s old Snap release.

How to Get System Specifications for a Linux PC

How to Get System Specifications for a Linux PC

Use Fastfetch and built-in Linux commands to check your distro, kernel, CPU, memory, graphics, storage, and connected devices, then save a clear report.