Hi Matthew! On Tue, 2 Jul 2019 at 01:05, Matthew Eaton <m.eaton82@xxxxxxxxx> wrote: > > Hi group, > > I'm trying to create a workload that is 50% random read and 50% > sequential write. Is the command line below accurate for that > workload? > > fio --ioengine=libaio --direct=1 --size=100% --bs=16k --rw=randrw > --percentage_random=50,50 --numjobs=1 --iodepth=32 --runtime=600 > --time_based --norandommap --randrepeat=0 --refill_buffers --name=job1 > --filename=/dev/sdb Hard to say. My reading of what you would like is: - 50% of the I/O should be random read - The other 50% of the I/O should be sequential write https://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-percentage-random says percentage_random controls how random a given direction is so you're actually asking for a writes to be split between 50% sequential and 50% random, and also asking for reads to be split between 50% sequential and 50% random. By default there will be a 50% split between reads and writes with rw=[rw|randrw] (see https://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-readwrite and https://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-rwmixread). I'd guess you want --percentage_random=100,0 ? -- Sitsofe | http://sucs.org/~sits/