Skip to content
New issue

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

being able to plot cleanly from the command line #32

Open
dtaht opened this issue Nov 9, 2021 · 1 comment
Open

being able to plot cleanly from the command line #32

dtaht opened this issue Nov 9, 2021 · 1 comment

Comments

@dtaht
Copy link

dtaht commented Nov 9, 2021

from this thread over here:

https://forum.openwrt.org/t/validating-nss-fq-codels-correctness/111123/33

I've longed to plot dynamically the output of a high resolution irtt sample, but the output has two problems in that it uses mixed units (us, ms, s), and the one way delay measurements require a sync'd clock. the rtt measurement does not. (ok, that's three problems).

The json output doesn't use mixed units but requires the test complete before plotting. four problems. A command line option to always use ns would help.

a typical test I do is:

irtt client -i3ms -d1m --dscp=0xfe

and then I parse that with tr, awk and gnuplot. There isn't a way to send the json output (-o whatever.json) to a stream either. I have some really cool plots of how starlink works but haven't twiddled it enough to do one way delay yet (five problems).

@heistp
Copy link
Owner

heistp commented Nov 9, 2021

OWD will always require a sync'd clock, right?

The during-test output was intended for humans, and the json for programs. The data is collected first in memory then dumped in one big chunk. That would have to be re-worked, but it's possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants