RE: FIO mixed tests with different patters and block sizes

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

 



> 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


��.n��������+%������w��{.n�������^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[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