Re: Mixed seq+random worload thread

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

 



Hi,

On 7 July 2017 at 22:44, abhishek koundal <akoundal@xxxxxxxxx> wrote:
>
> Is there an easy way in FIO to have a mix workload which can do below
> config in single operation mode:
>
> 90% SEQ_WR
> 10% RND_RD

I'd suggest using two threads to do this and then using flow
(http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-flow )
to control how many turns each gets relative to the other:

[SEQ_WR]
rw=write
flow=-1
[RND_RD]
rw=randread
flow=9

This should work OK because you have a pair (but be aware flow doesn't
interact well with the number_ios option). If you need to balance more
than pairs of threads you will probably want to write a new fio
feature...

-- 
Sitsofe | http://sucs.org/~sits/
--
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