Skip to content

About

Disk benchmark for Windows: sequential and random read/write speed of SSDs, hard disks, USB and RAM disks. Portable, no internet access, German/English, light/dark.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

DiskBenchBox

Disk benchmark for Windows 10/11: measures sequential and random read and write performance of SSDs, hard disks, USB drives, network drives and RAM disks. One portable file, no installation, no internet access.

Download: portable version under Releases. Deutsch: README.de.md

DiskBenchBox main window in light mode with results for four tests, read in blue and write in orange

Features

  • Four tests per run, each for reading and writing; every tile shows MB/s, IOPS and the average response time at once
  • Main value switchable between MB/s, GB/s, IOPS and µs
  • Two profiles: default (SEQ1M Q8T1, SEQ1M Q1T1, RND4K Q32T1, RND4K Q1T1) and NVMe SSD (SEQ128K Q32T1 and RND4K Q32T16 instead of the two middle tests)
  • Test file from 64 MiB to 64 GiB, 1 to 9 runs, measuring time and pause adjustable, random data or zeros
  • Any drive or folder as target
  • Result as text (clipboard or file) or as a PNG image
  • Portable: a single DiskBenchBox.exe, settings in DiskBenchBox.ini next to it
  • No internet connection, no update check, no statistics, no administrator rights
  • German and English (follows Windows), light and dark appearance

How it measures

  • The folder DiskBenchBox-XXXXXXXX with the file bench.tmp is created on the target and removed after the run, also when the run is cancelled. If the program crashes, Windows deletes the file; only the empty folder remains.
  • The file is filled with random data (every block different) and file system compression is switched off for it.
  • All access bypasses the Windows cache (FILE_FLAG_NO_BUFFERING), so the drive is measured, not the memory.
  • Each test runs with T threads, each keeping Q requests open at the same time (overlapped I/O on a completion port).
  • Per test there is a one second warm-up, then the chosen number of runs. Shown are the best throughput and the lowest average response time. The response time is measured from submitting a request to its completion, so it includes the time spent waiting in the queue.
  • MB/s = 1,000,000 bytes per second.

Write tests put load on the drive: a full run with 1 GiB, 3 runs and 5 seconds writes a lot, on a fast NVMe SSD about 100 GB.

Background

DiskBenchBox does the same job as CrystalDiskMark and uses the same well-known test names, so results can be compared. It is an independent program: its own code, its own measuring engine and its own interface. It contains no code from CrystalDiskMark or Microsoft DiskSpd. In a comparison on an NVMe SSD the throughput was within a few percent of DiskSpd.

Building

build.bat (Visual Studio 2026 with C++). Result: build\bin\DiskBenchBox.exe. build\test\benchcli.exe <folder> [MiB] [seconds] [seq|rnd:<KiB>:<Q>:<T>[:r|:w] ...] tests the engine without the interface. The version number lives only in src\version.h.

License

MIT, see LICENSE.

About

Disk benchmark for Windows: sequential and random read/write speed of SSDs, hard disks, USB and RAM disks. Portable, no internet access, German/English, light/dark.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages