Re: FIO mixed tests with different patters and block sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you it worked with both access patterns and blocksizes!


On 18/07/18 19:44, Jeff Furlong wrote:
I'm using FIO for testing some distributed file systems and I am interested in running a single test where I have a mix of both reading and writing. The problem is that I want to have different access patterns (e.g. sequential writing and random reading) and different block sizes. How can I run such a job?
I recently went through a similar exercise.  Several options allow for read/write/trim settings to be unique.  For example, consider setting the percentage_random to 100 for reads and 0 for writes:

fio --name=rr_sw --ioengine=libaio --direct=1 --rw=randrw --norandommap --randrepeat=0 --filename=/dev/nvme0n1 --runtime=10s --time_based --percentage_random=100,0

You can use the same concept for blocksize and invoke rwmixread to further control the amount of reads/writes.

Regards,
Jeff



--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux