vitastor/docs/usage/fio.en.md

1022 B

Documentation → Usage → fio driver


Читать на русском

fio driver

fio (Flexible I/O tester) is the best utility for benchmarking block devices.

Vitastor has a fio driver which can be installed from the package vitastor-fio.

Use the following command as an example to run tests with fio against a Vitastor cluster:

fio -thread -ioengine=libfio_vitastor.so -name=test -bs=4M -direct=1 -iodepth=16 -rw=write -image=testimg

If you don't want to access your image by name, you can specify pool number, inode number and size (-pool=1 -inode=1 -size=400G) instead of the image name (-image=testimg).

You can also specify etcd address(es) explicitly by adding -etcd=10.115.0.10:2379/v3, or you can override configuration file path by adding -conf=/etc/vitastor/vitastor.conf.

See exact fio commands to use for benchmarking here.