Re: Add extra_buff_count flag

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

 



Yes, iodepth=x works. I did not realise that I could use iodepth with
sync engine as well.
Thanks
-radha

On Tue, Nov 3, 2009 at 11:35 PM, Jens Axboe <jens.axboe@xxxxxxxxxx> wrote:
> On Tue, Nov 03 2009, Radha Ramachandran wrote:
>> Hi,
>> I was trying to use the async_verify option. Looks like if we use this
>> option for synchronous I/O, then it really doesnt do anything as after
>> every I/O is completed, we still need the asynchronous verify thread
>> to complete the verification and release the io_u so the main thread
>> can allocate this io_u for the next I/O. So to remove this bottle neck
>> I added a new option extra_buff_count. This takes an integer and the
>> code will allocate that many more extra io_us. This way when the main
>> thread has completed the I/O it will have extra io_u and buffers to
>> issue more I/Os while the asynchronous verify threads do their job.
>> This can be used with both synchronous and libaio contexts.
>
> Does iodepth=x not work for that? If not, I suggest we fix that instead
> of adding a new parameter for it.
>
> --
> Jens Axboe
>
> --
> 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
>
--
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