wxlg1117 / KDiskMark

A simple open-source disk benchmark tool for Linux distros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KDiskMark

License: GPL v3 GitHub (pre-)release Main Codacy Badge

KDiskMark is an HDD and SSD benchmark tool with a very friendly graphical user interface. KDiskMark with its presets and powerful GUI calls Flexible I/O Tester and handles the output to provide an easy to view and interpret comprehensive benchmark result. The application is written in C++ with Qt and doesn't have any KDE dependencies.

Features

  • Configurable block size, queues, and threads count for each test
  • Many languages support
  • Report generation

Report Example

                     KDiskMark (2.3.0): https://github.com/JonMagon/KDiskMark
                 Flexible I/O Tester (fio-3.28): https://github.com/axboe/fio
-----------------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes

[Read]
Sequential 1 MiB (Q= 8, T= 1):   550.145 MB/s [    537.3 IOPS] < 14840.12 us>
Sequential 1 MiB (Q= 1, T= 1):   456.261 MB/s [    445.6 IOPS] <  2233.53 us>
    Random 4 KiB (Q=32, T= 1):   339.953 MB/s [  84988.3 IOPS] <   377.48 us>
    Random 4 KiB (Q= 1, T= 1):    43.042 MB/s [  10760.6 IOPS] <    90.69 us>

[Write]
Sequential 1 MiB (Q= 8, T= 1):   522.410 MB/s [    510.2 IOPS] < 15210.65 us>
Sequential 1 MiB (Q= 1, T= 1):   371.278 MB/s [    362.6 IOPS] <  2248.00 us>
    Random 4 KiB (Q=32, T= 1):   330.205 MB/s [  82551.5 IOPS] <   387.88 us>
    Random 4 KiB (Q= 1, T= 1):   100.602 MB/s [  25150.7 IOPS] <    36.40 us>

Profile: Default
   Test: 1 GiB (x5) [Interval: 5 sec]
   Date: 2021-11-02 13:17:41
     OS: opensuse-tumbleweed 20211031 [linux 5.14.14-1-default]

Dependencies

Build

Runtime

  • Qt with Widgets >= 5.9
  • Flexible I/O Tester with libaio >= 3.1
    • If you build FIO from source, install libaio-dev package.
  • KAuth Library

Installation

Binaries are available on the Releases page.

Install from the Snap Store

Get it from the Snap Store

sudo snap install kdiskmark

Ubuntu based distros

sudo add-apt-repository ppa:jonmagon/kdiskmark
sudo apt update
sudo apt install kdiskmark

Arch based distros

KDiskMark is included in the official community repo. You can install it like any other package:

sudo pacman -Syu kdiskmark

Development version can be installed from AUR kdiskmark-git package.

git clone https://aur.archlinux.org/kdiskmark-git.git
cd kdiskmark-git
makepkg -si

Fedora

KDiskMark is included in the official Fedora repo. You can install it like any other package:

sudo dnf install kdiskmark

openSUSE Tumbleweed

sudo zypper install kdiskmark

Building

Building a package using CPack

You can build KDiskMark by using the following commands:

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
cpack -G DEB # Or RPM, ZIP etc.

Build parameters

  • BUILD_WITH_PAGECACHE_CLEARING_SUPPORT enables pagecache clearing functionality (default is ON). If disabled, the application will not be able to clear the pagecache in any way.
  • PERFORM_PAGECACHE_CLEARING_USING_KF5AUTH determines whether a helper will be built (default is ON). If the KF5Auth helper is not built, the application will be able to clear the pagecache if it is run as root.

Build parameters are passed at configuration stage:
cmake -D PERFORM_PAGECACHE_CLEARING_USING_KF5AUTH=OFF ..

Localization Crowdin

To help with localization you can use Crowdin or translate files in data/translations with Qt Linguist directly. To add a new language, copy data/translations/kdiskmark.ts to data/translations/kdiskmark_<ISO 639-1 language code>_<ISO 3166-1 alpha-2 language code>.ts, translate it, then add the file to the TS_FILES variable in CMakeLists.txt, and create a pull request. It is also possible to add localized Comment and Keywords sections into data/kdiskmark.desktop.

Languages currently available:

  • Chinese (Simplified)
  • Czech
  • English (default)
  • French
  • German
  • Hindi
  • Hungarian
  • Italian
  • Polish
  • Portuguese (Brazilian)
  • Russian
  • Slovak
  • Spanish (Mexico)
  • Turkish
  • Ukrainian

TODO

  • CLI
  • Windows compatibility
  • Performance profiles (mix, peak, real-world)

Special Thanks

Thanks to the package maintainers, translators, and all users for supporting the project.

Credits

Application Icon
Copyright (c) https://www.iconfinder.com/baitisstudio

If you have any ideas, critics, suggestions or whatever you want to call it, please open an issue.

About

A simple open-source disk benchmark tool for Linux distros

License:GNU General Public License v3.0


Languages

Language:C++ 94.5%Language:CMake 5.5%