LKBEN11581: How to benchmark your hard drive (HD) on your linux system.


Symptom

You need to compare two computers on HD performance

Cause

e.g. to decide which one to select for a server task

Solution

To do a quik HD benchmark on a linux system, you can use gnome-disks.

The tool can be installed on Ubuntu/Kubuntu with:

sudo apt install gnome-disk-utility

It is a GUI tool. To perform a benchmark you need to click on the tree dots in the menu. (which is hard to find if you don't konw)

Here a screenshot:

You need root permission to run the tests.

The result is shown like this:

Alternative tools are:

  • sysbench
  • iozone
  • kdiskmark

These tools can be installed with:

sudo apt install sysbench

sudo apt install iozone3

sudo snap install kdiskmark

Have fun.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 04/07/2022