Docs Self-Managed Reference rpk Commands rpk iotune This is documentation for Self-Managed v24.1. To view the latest available version of the docs, see v24.3. rpk iotune This command is not supported on Darwin, macOS, Windows. rpk iotune measures the I/O performance of the hardware used by a Redpanda instance. It writes its parameters to an I/O configuration file that Redpanda reads on startup to optimize its I/O performance. Its benchmarks measure read/write IOPS and bandwidth. By default rpk iotune writes its output parameters to /etc/redpanda/io-config.yaml. Usage rpk iotune [flags] Flags Value Type Description --directories strings List of directories to evaluate. --duration duration Duration of tests.The value passed is a sequence of decimal numbers, each with optional fraction and a unit suffix, such as 300ms, 1.5s or 2h45m. Valid time units are ns, us (or µs), ms, s, m, h (default 10m0s). -h, --help - Help for iotune. --no-confirm - Disable confirmation prompt if the iotune file already exists. --out string The file path where the IO config will be written (default "/etc/redpanda/io-config.yaml"). --timeout duration The maximum time after — to wait for iotune to complete (e.g. 300ms, 1.5s, 2h45m) (default 1h0m0s). --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Example output Running rpk iotune produces an output file that by default is saved in /etc/redpanda/io-config.yaml. The contents of an example io-config.yaml: disks: - mountpoint: /var/lib/redpanda/data read_iops: 40952 read_bandwidth: 5638210048 write_iops: 6685 write_bandwidth: 1491679488 Related topics Optimize I/O Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk help rpk plugin