Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
respdiff
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
respdiff
Commits
80d65f95
Commit
80d65f95
authored
Mar 23, 2018
by
Tomas Krizek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README: add info about histogram tool
parent
379e3b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
respdiff/README.rst
respdiff/README.rst
+16
-0
No files found.
respdiff/README.rst
View file @
80d65f95
...
...
@@ -14,6 +14,7 @@ Respdiff v2 is conceptually chain of independent tools:
2. orchestrator: send pre-generated wire format to servers and gather answers
3. msgdiff: compare DNS answers
4. diffsum: summarize differences into textual report
5. histogram: plot graph of answer latencies
This split allows us to repeat steps using the same data as necessary,
e.g. run analysis with different parameters without re-querying the
...
...
@@ -78,6 +79,15 @@ with higher granularity, producing stats for each field in DNS message
Ordering and grouping of mismatches is specified in ``[report]`` section of config file.
Histogram
---------
``orchestrator.py`` saves the latency for each answer in LMDB. Afterwards, they
can be used to analyze the performance of the resolver. ``histrogram.py`` generates a
`logarithmic percentile histogram <https://blog.powerdns.com/2017/11/02/dns-performance-metrics-the-logarithmic-percentile-histogram/>`_
from these latencies.
Usage
-----
Please note that this is very basic use-case where nothing is prepared beforehand.
...
...
@@ -105,4 +115,10 @@ Compute differences in responses and generate a text report from them.
$ ./msgdiff.py "${DIR}"
$ ./diffsum.py "${DIR}" > "${DIR}"/"${DIR}".txt
Plot a logarithmic percentile graph of answer latencies.
.. code-block:: console
$ ./histogram.py -o histogram.svg "${DIR}"
You can also re-run ``msgdiff.py`` and ``diffsum.py`` using different configuration.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment