You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently T.O queries are assigned a latency of ~4200000ms (max unsigned 32bit integer in µseconds) in the ringbuffer. The same ringbuffer is used to compute the average latency in showResponseLatency(). As suggested by @rgacogne these T.O's should be excluded when calculating the average latency.
Environment
Operating system: Arch Linux
Software version: latest git
Software source: Arch AUR
Steps to reproduce
setup dnsdist and simulate a timeout
look at statistics in dnsdist console by executing showResponseLatency()
Expected behaviour
The timeout not affecting the average latency.
Actual behaviour
Statistics with 19 successful and one TO query.
showServers()
# Name Address State Qps Qlim Ord Wt Queries Drops Drate Lat Outstanding Pools
0 127.0.0.1:8443 up 0.0 0 1 1 20 1 0.0 4.3 0
All 0.0 20 1
showResponseLatency()
Average response latency: 214777.80 msec
msec
0.10
0.20
0.40
0.80
1.60
3.20
6.40
12.80
25.60
51.20 **********************************************************************
102.40
204.80
409.60
819.20
1638.40
The text was updated successfully, but these errors were encountered:
Short description
Apparently T.O queries are assigned a latency of ~4200000ms (max unsigned 32bit integer in µseconds) in the ringbuffer. The same ringbuffer is used to compute the average latency in
showResponseLatency()
. As suggested by @rgacogne these T.O's should be excluded when calculating the average latency.Environment
Steps to reproduce
showResponseLatency()
Expected behaviour
The timeout not affecting the average latency.
Actual behaviour
Statistics with 19 successful and one TO query.
The text was updated successfully, but these errors were encountered: