logoalt Hacker News

ReDressyesterday at 2:07 PM1 replyview on HN

I've been playing around with io_uring for a while.

Still, I am yet to come across a some tests that simulate typical real life application workload.

I heard of fio but are yet to check how exactly it works and whether it might be possible to simulate real life application workload with it.


Replies

izaberayesterday at 5:15 PM

what a "real life application workload" looks like is entirely dependent on your use case, but fio is very widely used in the storage industry

it's a good first approximation to test the cartesian product of

- sequential/random

- reads/writes

- in arbitrary sizes

- with arbitrarily many workers

- with many different backends to perform such i/o including io_uring

and its reporting is solid and thorough

implementing the same for your specific workload is often not trivial at all