Help us shape the future of Go! Take the 2026 Go Developer Survey

diskspeed

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

diskspeed - Disk speed benchmark tool

This is a fork of gobonniego with some minor changes. It is a simple tool to benchmark the speed of your disk. It can be used to test the performance of a new disk or to compare the performance of different disks.

For more information about the benchmarking methodology, see bonnie-64 and gobonniego.

Usage

diskspeed [options]

Options

-d, --dir string            The directory to use for the test (default "/home/typomedia")
-g, --gb float              The amount of disk space to use for the test (default 15)
-h, --help                  Show help
-i, --iops-duration float   The duration in seconds to use for the IOPS test (default 15)
-j, --json                  Output results in JSON format
-r, --runs int              The number of test runs (default 1)
-s, --seconds int           The time in seconds to run the test
-t, --threads int           The number of concurrent readers/writers. Defaults to the number of CPU cores (default 4)
-v, --verbose               Verbose output
-V, --version               Show version information

Example

./diskspeed
diskspeed 0.1.0
Sequential Write MB/s: 243.59
Sequential Read MB/s: 432.35
IOPS: 19679

Copyright © 2023 Typomedia Foundation. All rights reserved.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL