All of lore.kernel.org
 help / color / mirror / Atom feed
* fio exit run on timeout of device?
@ 2017-02-03 19:11 Slow bucks
  2017-02-03 19:39 ` Sitsofe Wheeler
  0 siblings, 1 reply; 7+ messages in thread
From: Slow bucks @ 2017-02-03 19:11 UTC (permalink / raw)
  To: fio

Is there a way to tell FIO to immediately exit if a device times out or 
hangs during a run?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fio exit run on timeout of device?
  2017-02-03 19:11 fio exit run on timeout of device? Slow bucks
@ 2017-02-03 19:39 ` Sitsofe Wheeler
  2017-02-03 20:38   ` Slow bucks
  0 siblings, 1 reply; 7+ messages in thread
From: Sitsofe Wheeler @ 2017-02-03 19:39 UTC (permalink / raw)
  To: Slow bucks; +Cc: fio

Hi,

Good question. From what I've seen, at the moment it partially depends
on the ioengine. If I/Os somehow timeout from below you might be able
to use max_latency. If they just hang indefinitely the engine can be
become stuck waiting forever..

On 3 February 2017 at 19:11, Slow bucks <frankwhitebe@gmail.com> wrote:
> Is there a way to tell FIO to immediately exit if a device times out or
> hangs during a run?
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Sitsofe | http://sucs.org/~sits/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fio exit run on timeout of device?
  2017-02-03 19:39 ` Sitsofe Wheeler
@ 2017-02-03 20:38   ` Slow bucks
  2017-02-03 22:44     ` Sitsofe Wheeler
  0 siblings, 1 reply; 7+ messages in thread
From: Slow bucks @ 2017-02-03 20:38 UTC (permalink / raw)
  To: fio

The engine is libaio.  thoughts anyone?

On 2017-02-03 19:39:12 +0000, Sitsofe Wheeler said:

> Hi,
> 
> Good question. From what I've seen, at the moment it partially depends
> on the ioengine. If I/Os somehow timeout from below you might be able
> to use max_latency. If they just hang indefinitely the engine can be
> become stuck waiting forever..
> 
> On 3 February 2017 at 19:11, Slow bucks 
> <frankwhitebe@gmail.com> wrote:
>> Is there a way to tell FIO to immediately exit if a device times out or
>> hangs during a run?
>> 
>> 
>> --
>> To unsubscribe from this list: send the line "unsubscribe fio" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fio exit run on timeout of device?
  2017-02-03 20:38   ` Slow bucks
@ 2017-02-03 22:44     ` Sitsofe Wheeler
  2017-02-04  2:59       ` Slow bucks
  0 siblings, 1 reply; 7+ messages in thread
From: Sitsofe Wheeler @ 2017-02-03 22:44 UTC (permalink / raw)
  To: Slow bucks; +Cc: fio

Hmm....

What do you get if you use iodepth_batch_complete_min=0 and
max_latency=1s with libaio?

On 3 February 2017 at 20:38, Slow bucks <frankwhitebe@gmail.com> wrote:
> The engine is libaio.  thoughts anyone?
>
>
> On 2017-02-03 19:39:12 +0000, Sitsofe Wheeler said:
>
>> Hi,
>>
>> Good question. From what I've seen, at the moment it partially depends
>> on the ioengine. If I/Os somehow timeout from below you might be able
>> to use max_latency. If they just hang indefinitely the engine can be
>> become stuck waiting forever..
>>
>> On 3 February 2017 at 19:11, Slow bucks <frankwhitebe@gmail.com> wrote:
>>>
>>> Is there a way to tell FIO to immediately exit if a device times out or
>>> hangs during a run?
>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe fio" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Sitsofe | http://sucs.org/~sits/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fio exit run on timeout of device?
  2017-02-03 22:44     ` Sitsofe Wheeler
@ 2017-02-04  2:59       ` Slow bucks
  2017-02-04  7:41         ` Sitsofe Wheeler
  0 siblings, 1 reply; 7+ messages in thread
From: Slow bucks @ 2017-02-04  2:59 UTC (permalink / raw)
  To: fio

max_latency=1s -> Is that in seconds or milliseconds?

On 2017-02-03 22:44:31 +0000, Sitsofe Wheeler said:

> max_latency=1s




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fio exit run on timeout of device?
  2017-02-04  2:59       ` Slow bucks
@ 2017-02-04  7:41         ` Sitsofe Wheeler
  2017-02-06 22:01           ` Slow bucks
  0 siblings, 1 reply; 7+ messages in thread
From: Sitsofe Wheeler @ 2017-02-04  7:41 UTC (permalink / raw)
  To: Slow bucks; +Cc: fio

Hi,

The answer to that is within the value "1s" itself :-) See
http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-max_latency
and http://fio.readthedocs.io/en/latest/fio_doc.html#parameter-types
for why.

On 4 February 2017 at 02:59, Slow bucks <frankwhitebe@gmail.com> wrote:
> max_latency=1s -> Is that in seconds or milliseconds?
>
> On 2017-02-03 22:44:31 +0000, Sitsofe Wheeler said:
>
>> max_latency=1s

-- 
Sitsofe | http://sucs.org/~sits/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: fio exit run on timeout of device?
  2017-02-04  7:41         ` Sitsofe Wheeler
@ 2017-02-06 22:01           ` Slow bucks
  0 siblings, 0 replies; 7+ messages in thread
From: Slow bucks @ 2017-02-06 22:01 UTC (permalink / raw)
  To: fio

Thanks!
On 2017-02-04 07:41:33 +0000, Sitsofe Wheeler said:

> Hi,
> 
> The answer to that is within the value "1s" itself :-) See
> http://fio.readthedocs.io/en/latest/fio_doc.html#cmdoption-arg-max_latency
> and http://fio.readthedocs.io/en/latest/fio_doc.html#parameter-types
> for why.
> 
> On 4 February 2017 at 02:59, Slow bucks 
> <frankwhitebe@gmail.com> wrote:
>> max_latency=1s -> Is that in seconds or milliseconds?
>> 
>> On 2017-02-03 22:44:31 +0000, Sitsofe Wheeler said:
>> 
>>> max_latency=1s




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-06 22:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03 19:11 fio exit run on timeout of device? Slow bucks
2017-02-03 19:39 ` Sitsofe Wheeler
2017-02-03 20:38   ` Slow bucks
2017-02-03 22:44     ` Sitsofe Wheeler
2017-02-04  2:59       ` Slow bucks
2017-02-04  7:41         ` Sitsofe Wheeler
2017-02-06 22:01           ` Slow bucks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.