Skip to contentSkip to conversation

fio exit run on timeout of device?

DISCUSSION Slow bucks 2 participants 7 messages Feb 3, 2017 – Feb 6, 2017

lore
Share & tools
lore

Slow bucks

author
#0 lore raw

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

#1 lore raw

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..

Quoted 8 lines · Slow bucks

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Sitsofe | http://sucs.org/~sits/
author
#2 lore raw

The engine is libaio. thoughts anyone?

Quoted 16 lines · Sitsofe Wheeler

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..

Quoted 8 lines · Slow bucks

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Hmm....

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

Quoted 22 lines · Slow bucks

The engine is libaio. thoughts anyone?

Quoted 17 lines · Sitsofe Wheeler

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..

Quoted 9 lines · Slow bucks

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Sitsofe | http://sucs.org/~sits/
author
#4 lore raw

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

Quoted 1 line · Sitsofe Wheeler

max_latency=1s