FIO scripts for various testing

I recently discovered FIO, and it seems to have a lot of options.

Here’s wondering if someone, somewhere, has a neatly curated list of such scripts.

I’m thinking of testing not only local disks, but writing to network mounts in various setups.

Maybe I’m thinking too big, but this seems like a tool that has many, many possible setups with each their own, valuable, output.

As such I address the community, maybe someone already did this?

There’s something on GitHub other than the standard examples from the main fio repo, but given that you usually are testing a very specific aspect of a given configuration I am not sure you’ll find an established ‘best practice’ pattern …
As for testing storage across a network that is even less standardized because depending on the medium (ethernet, infiniband, FC) , the os and related drivers, and specific mount settings and combination of software versions you’ll soon lose sight of the storage component and/or will struggle to assign specific performance behaviour to components of your storage solution…

Ah yes, there is an “examples” directory, with .fio files and pngs to explain visually what they do.

Though no example of how to call them, especially in combination with other options.

Still, I’ll keep looking.

Thanks.

There are tools like this:

That will help you to compare graphically or tabularly multiple fio runs, and yes, fio has a lot of options because during the years it has attempted to serve as a generic tool for testing.
As such, and given the subject of the tests (storage) that comes in thousands if not million of combinations, it will not be easy to find a meaningful collection of tests, simply because these would be either too shallow or too many to be of interest to any specific use case.
The best I can suggest is that as in any testing scenario, you rellay need to understand what you’re trying to test/validate, and then come up with a set of tests specific to that. unless you are doing a basic testing (and from your post it doesn’t look like it) you’ll have to come up with your combination of tests/scenarios …

1 Like

Not really an answer to your question, but there are some scripts out there mimicking the behaviour of CrystalDiskMark on Windows, with fio. E.g. here: performance - Benchmark ssd on linux: How to measure the same things as crystaldiskmark does in windows - Unix & Linux Stack Exchange

The purpose is mainly to get something comparable to what CDM does, e.g. for cross-platform comparisons. It’s not what you are asking for, but perhaps useful as an example of “generic” tests of various characteristics.

1 Like