Storage Performance Testing

Test the performance of storage systems using the Flexible I/O Tester (fio) and Python for visualisation. Quicky put together, don't trust too much.

Requirements

Software

  • fio: Install it on Ubuntu with sudo apt install fio.

  • Python 3

Python Libraries

Install these in a new Python environment (say pip install pandas matplotlib seaborn)

Getting Started

Using fio

  1. Install the required software and Python libraries.

  2. cd into the repository folder and run the benchmark.sh script to generate the data using randread and randwrite operations. The script will run a series of fio tests and save the results in json files. Do this once for each volume you want to test.

bash benchmark.sh /path/to/directory

Note: The script will create a new directory in the current directory and save the results there.

  1. Use the provided Python script process-benchmark.py to analyze the data and generate visualizations.

Using the os module

  1. Install the required software and Python libraries.
  2. Run the 'iotest.py' script to generate the data and plots. These show sequential read and write speeds (see script for details).

Results

Read and write (rand) using fio

Read and Write (sequential, using os module)