Skip to main content

Disk Bench

Designed to run similar tests as Crystal Disk Mark using fio with user friendly output options.

Tests ran:

  • Sequential read/write w/ 1MB block size

  • Random read/write w/ 512K block size

  • Queue depth 32 random read/write 4K blocks size

Install

# system install
$ sudo pip3 install disk-bench

# user install
$ pip3 install --user disk-bench

Usage

$ disk-bench --help

# Default runs fio w/ --loops=3 and --size=1G
$ disk-bench /mnt/disk-to-test/whatever

# Show CSV output (for easy copy/paste into Excel or Google Sheets)
$ disk-bench /mnt/disk-to-test/whatever --style=csv

# Quick
$ disk-bench /mnt/disk-to-test/whatever --loops=1 --size=1M

Command Details

The fio command we are running is essentially:

fio –directory . –filename=disk~bench.tmp –output-format=json –stonewall –ioengine=libaio –direct=0 –gtod_reduce=1 –name=seqread –bs=1m –rw=read –size=64G –name=seqwrite –bs=1m –rw=write –size=64G –name=randread –bs=512k –rw=randread –size=4G –name=randwrite –bs=512k –rw=randwrite –size=4G –name=4kQD32read –bs=4k –iodepth=32 –rw=randread –size=4G –name=4kQD32write –bs=4k –iodepth=32 –rw=randwrite –size=4G –name=4kQD16 –bs=4k –iodepth=32 –rw=randrw –rwmixread=65 –size=4G

Changelog

0.2.1 released 2018-12-22

  • add fio command example to readme (d4f6bef)

  • add direct flag back (578f509)

0.2.0 released 2018-12-21

  • change tests we run and output format (df6ac7b)

0.1.4 released 2018-12-21

0.1.3 released 2018-12-21

0.1.2 released 2018-12-20

  • fix some packaging issues (f908a1d)

0.1.1 released 2018-12-20

0.1.0 released 2018-12-20

Metadata

Release files for disk-bench 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for disk-bench 0.2.1
File Size Uploaded Provenance Actions
disk-bench-0.2.1.tar.gz 7.8 kB Without provenance Details for disk-bench-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for disk-bench 0.2.1
File Interpreter ABI Platform Actions
disk_bench-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for disk_bench-0.2.1-py2.py3-none-any.whl

Total release size: 17.6 kB

Release files / disk-bench-0.2.1.tar.gz

Download URL disk-bench-0.2.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3378fe3552ec18b7eca7b72654a6943b7c2703bf04d0bccb2fce349b6bd3cf87
BLAKE2b-256 checksum
How to use checksums
8b759a09cc5d8262a40bc51dcbbd12e3ffb5df9d0381e150d17dce837276e048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.2

Release files / disk_bench-0.2.1-py2.py3-none-any.whl

Download URL disk_bench-0.2.1-py2.py3-none-any.whl
Size 9.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ebf9447b18b30338803a26884cba34b8735992f19e0f83466e52a4c42ca978d3
BLAKE2b-256 checksum
How to use checksums
f6c8283e3b10338bb9435b4436d2bbc96708677b2cdf428afe303be24e642dee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.2

Security for disk-bench 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page