We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes the reported latency is equal to the current unix timestamp.
I've confirmed in GDB that recvd[i].sent time is set to 0 while packet is being processed in do_recv() inner loop. Dunno how is that possible.
recvd[i].sent
Commit: 432b47f - i.e. before merging support for periodic stats and latency histograms, but with the recent errno fixes.
Log:
$ src/dnsperf -Q 5 -d /tmp/qlist -s 192.168.0.1 -l 10 -S1 -O suppress=unexpected,timeout -l5 -t0.1 -S1 DNS Performance Testing Tool Version 2.10.0 [Status] Command line: dnsperf -Q 5 -d /tmp/qlist -s 192.168.0.1 -l 10 -S1 -O suppress=unexpected,timeout -l5 -t0.1 -S1 [Status] Sending queries (to 192.168.0.1:53) [Status] Started at: Wed Feb 1 11:21:45 2023 [Status] Stopping after 5.000000 seconds 1675246906.520453: 4.993758 1675246907.521559: 4.994476 1675246908.522734: 4.994132 1675246909.523736: 4.994995 [Status] Testing complete (time limit) Statistics: Queries sent: 25 Queries completed: 25 (100.00%) Queries lost: 1 (4.00%) Response codes: NOERROR 25 (100.00%) Average packet size: request 17, response 92 Run time (s): 5.000322 Queries per second: 4.999678 Average Latency (s): 67009876.346007 (min 0.014435, max 1675246908.065011) Latency StdDev (s): -nan
PCAP with the session: dns.pcap.zip
The text was updated successfully, but these errors were encountered:
Digging deeper:
Sorry, something went wrong.
LOL. Accidentally the fix is part of #220 .
This happens only with -O suppress=unexpected. The error was introduced in 8e9f4a2 by me 🤦♂️
-O suppress=unexpected
Suppress unexpected
fb81481
- `dnsperf`: Fix DNS-OARC#222: don't process unexpected message if the message is suppressed
Successfully merging a pull request may close this issue.
Sometimes the reported latency is equal to the current unix timestamp.
I've confirmed in GDB that
recvd[i].sent
time is set to 0 while packet is being processed in do_recv() inner loop. Dunno how is that possible.Commit: 432b47f - i.e. before merging support for periodic stats and latency histograms, but with the recent errno fixes.
Log:
PCAP with the session: dns.pcap.zip
The text was updated successfully, but these errors were encountered: