help about how to use latency options
Hi list,
I referred to the docs and examples but I'm still hard to understand how to use latency_target, latency_window and latency_percentile. Could any one help explain it in detail?
Thanks in advance
Sorry for that this letter might be resent to the list because my misoperation of subscribing fio mail list.
Regards,
Larry
Hi,
Quoted 8 lines · Larry Chen
I referred to the docs and examples but I'm still hard to understand how to use
latency_target,latency_windowandlatency_percentile. Could any one help explain it in detail?
Thanks in advanceSorry for that this letter might be resent to the list because my misoperation of subscribing fio mail list.
These options are used to probe the highest iodepth usable such that the I/Os still have a latency equal to or below that of latency_target on the basis that more asynchronous I/Os being sent at the same time the higher each I/Os latency will be (this is what
http://fio.readthedocs.io/en/latest/fio_man.html#cmdoption-arg-latency-window
is trying to say). latency_window controls the time window that I/Os are considered over. latency_percentile is used to adjust the sensitivity to outlier I/Os during this process so a single moment high spike is ignored.
Any clearer?
Signature · 1 line
Sitsofe | http://sucs.org/~sits/
Hi 何蒙,
Thanks for your reply, your explain on latency_window is excellent.
The docs says it "will attempt to find the max performance point", but it doesn't say any attempt to make some changed to fit in the latency_target.
Thanks
Larry
Quoted 29 lines · 何蒙
Hi Larry
It is my understanding that:
If latency_target=100ms, latency_target=90, fio will attempt to make 90% of all IOs lower than latency_target, If lantency_window=1s,fio will calculate all IOs in the 1st second,if don't meet the target (90% latency less than 100ms) fio will do some changes to meet the target in next seconde.2018-04-11 14:48 GMT+08:00 Larry Chen <[email protected] <mailto:[email protected]>>:
Hi list,
I referred to the docs and examples but I'm still hard to understand how to use
latency_target,latency_windowandlatency_percentile.
Could any one help explain it in detail?
Thanks in advanceSorry for that this letter might be resent to the list because my misoperation of subscribing fio mail list.
Regards,
Larry
--
To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to [email protected] <mailto:[email protected]>
More majordomo info at http://vger.kernel.org/majordomo-info.html
<http://vger.kernel.org/majordomo-info.html>
Hi Sitsofe,
Thanks for your explain.
I found that if latency_target is specified, latency_window must be along with latency_target option. If not, fio will exit immediately.
Why the case is like that?
Thanks
Larry
Quoted 22 lines · Sitsofe Wheeler
Hi,
Quoted 7 lines · Larry Chen
I referred to the docs and examples but I'm still hard to understand how to use
latency_target,latency_windowandlatency_percentile. Could any one help explain it in detail?
Thanks in advanceSorry for that this letter might be resent to the list because my misoperation of subscribing fio mail list.
These options are used to probe the highest iodepth usable such that the I/Os still have a latency equal to or below that of
latency_targeton the basis that more asynchronous I/Os being sent at the same time the higher each I/Os latency will be (this is what
http://fio.readthedocs.io/en/latest/fio_man.html#cmdoption-arg-latency-window
is trying to say).latency_windowcontrols the time window that I/Os are considered over.latency_percentileis used to adjust the sensitivity to outlier I/Os during this process so a single moment high spike is ignored.Any clearer?
Hi,
fio needs to know what the period it should be sampling the latency over. If the latency was OK in the current latency window it can up the iodepth by one and start a new latency window thus repeating the process. Without a window you will (by definition) have no samples to look at!
Quoted 6 lines · Larry Chen
Hi Sitsofe,
Thanks for your explain.
I found that iflatency_targetis specified,latency_windowmust be along withlatency_targetoption.
If not, fio will exit immediately.
Why the case is like that?
Signature · 1 line
Sitsofe | http://sucs.org/~sits/
Thanks
:-)
Quoted 15 lines · Sitsofe Wheeler
Hi,
fio needs to know what the period it should be sampling the latency over. If the latency was OK in the current latency window it can up the iodepth by one and start a new latency window thus repeating the process. Without a window you will (by definition) have no samples to look at!
Quoted 6 lines · Larry Chen
Hi Sitsofe,
Thanks for your explain.
I found that iflatency_targetis specified,latency_windowmust be along withlatency_targetoption.
If not, fio will exit immediately.
Why the case is like that?