Hi Lokesh, Can you please try out with the latest fio master branch. It should work as per the documentation. Regards Ankit Kumar On Mon, Feb 27, 2023 at 10:58 PM lokesh jaliminche <lokesh.jaliminche@xxxxxxxxx> wrote: > > 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