thinktime and thinktime_iotime do not work as expected

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

 



 Hi Everyone,

As mentioned in the readthedocs, thinktime, and thinktime_iotime
 can be used to simulate the IO phase followed by the idle phase
 of the workload. For example, --thinktime_iotime=1s --thinktime=9s
 repeat the 10-second cycle with IOs for 1 second and stall for
 9 seconds. However, in my test for the first 10sec, fio keeps submitting
 without respecting thinktime and thinktime_iotime. After the first 10
 seconds fio starts simulating mentioned IO phases according to parameters.
 Following is my fio script.

[global]
direct=1
runtime=20
time_based
[job_1]
rw=randread
bs=4k
rate_iops=1
numjobs=1
ioengine=libaio
iodepth=1
offset=40G
size=30G
filename=/dev/nvme0n1p2
thinktime_iotime=1s
thinktime=9s
rate_ignore_thinktime=1

Results:
Run status group 0 (all jobs):
READ: bw=2457B/s (2457B/s), 2457B/s-2457B/s (2457B/s-2457B/s),
 io=48.0KiB (49.2kB), run=20001-20001msec

>From the results, we can see that the total IO is 48KiB it should be
 ideally 8KiB.

Is this a known issue?

Thanks & Regards,
Lokesh



[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