Re: FIO enter dead-loop to look for new file

From: Zhang, Yanmin <yanmin_zhang_at_linux.intel.com>
Date: Mon, 04 Feb 2008 17:29:26 +0800

On Mon, 2008-02-04 at 17:03 +0800, Zhang, Yanmin wrote:
> When I used below job file to test, it hangs. I used gdb to check it and found
> thread_main keeps calling clear_io_state over and over again. Every sub-process
> has one file, but it doesn't finish its task after it finishs the file, so it
> calls do_io again and again although it has no more file.
>
> If change bsrange=4k-4k, it does work. if it's 2k-4k, it also doesn't work.
If I use bs=2k to replace bsrange, it looks like it does work although my testing
is still running.

>
> Yanmin
>
> ************job file***********
>
> [global]
> direct=0
> iodepth=256
> iodepth_batch=32
> size=1G
> bsrange=2k-2k
> ;timeout=60
> numjobs=2 ; 4 simultaneous threads for each job
> group_reporting
> directory=/mnt/stp/data
>
> [f1]
> rw=randrw
> filename=data1/f1
>
> [f2]
> ;stonewall
> rw=randrw
> filename=data2/f1
>
> [f3]
> ;stonewall
> rw=randrw
> filename=data3/f1
>
> [f4]
> ;stonewall
> rw=randrw
> filename=data4/f1
>
> [f5]
> ;stonewall
> rw=randrw
> filename=data5/f1
>
> [f6]
> ;stonewall
> rw=randrw
> filename=data6/f1
>
> [f7]
> ;stonewall
> rw=randrw
> filename=data7/f1
>
> [f8]
> ;stonewall
> rw=randrw
> filename=data8/f1
>
> [f9]
> ;stonewall
> rw=randrw
> filename=data9/f1
>
>
>
Received on Mon Feb 04 2008 - 10:29:26 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 04 2008 - 11:00:03 CET