How to specify a percentage of read/write cache hits?

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

 



Hi All,

This is neto from Brazil

How are you? 

I hope this email finds you well and safe.

Let's say I want to simulate 40% reads, 40% random, with the following percentages for cache hit: 30% for read cache hits and 10% for write cache hits (similar to rhpct and whpct in vdbench).

How do to that in fio?

Thank you for any suggestions.

All the best,

neto

[workload]
bs=4k
size=10500g
ioengine=libaio
direct=1
thread
unified_rw_reporting=1
group_reporting=1
scramble_buffers=1
randrepeat=0
norandommap=1
runtime=1800
ramp_time=60
time_based
filename=/dev/dm-1:/dev/dm-2
rw=randrw
rwmixread=40
rwmixwrite=60
percentage_random=40
iodepth=4
numjobs=128





[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