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

Refine stats table formatting #85

Merged
merged 1 commit into from
Jan 9, 2022
Merged

Conversation

kjbracey2
Copy link
Contributor

Make formatting of values in the stats table a little more consistent:

  • Use KiB/MiB/GiB for traffic counts, indicating 1024 dividers.
  • Allow thresholds to use Mbit or Gbit. Add "/s", matching (being removed) bandwidth label.
  • Format bandwidth like thresholds. (Which includes switching to pure 1000 dividers, allowing a quick comparison with the 1000*1024 based configured value).
  • Format round trip time like other times; correct "Rount"->"Round".

Make formatting of values in the stats table a little more consistent:

* Use KiB/MiB/GiB for traffic counts, indicating 1024 dividers.
* Allow thresholds to use Mbit or Gbit. Add "/s", matching (being
  removed) bandwidth label.
* Format bandwidth like thresholds. (Which includes switching to
  pure 1000 dividers, allowing a quick comparison with the 1000*1024
  based configured value).
* Format round trip time like other times; correct "Rount"->"Round".
@dave14305
Copy link
Collaborator

What happens to the Tin tables when using diffserv8? I have a vague sense that I had to conserve in-cell space for the diffserv8 scenario.

Can’t test it myself since I’m no longer running the firmware.

@kjbracey2
Copy link
Contributor Author

kjbracey2 commented Jan 8, 2022

This will tend to make the tin cells narrower - it may be adding /s, but it's clamping down on the decimal points and turning big Kbit values into Mbit.

In my set-up, the table doesn't get any wider by switching from diffserv3 to diffserv8. Each column is a neat 8.74 Mbit/s etc.

Copy link
Collaborator

@dave14305 dave14305 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let her rip.

@ttgapers ttgapers merged commit 1d9ec70 into ttgapers:master Jan 9, 2022
@ttgapers ttgapers removed their request for review January 9, 2022 03:15
ttgapers added a commit that referenced this pull request Jan 9, 2022
@ttgapers
Copy link
Owner

ttgapers commented Jan 9, 2022

Thanks @kjbracey & @dave14305

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

Successfully merging this pull request may close these issues.

None yet

3 participants