In QoS, quotas, and bandwidth-status kilo or kbits is often used, but there is no indication of it being base two or base ten. So when converting should I be using 1024 or 1000? (same for mega where used)
Still using v1.12.0
[Is there official source for your answer, or are you just assuming?]
does gargoyle report kilo kbps as 1000 or 1024
Moderator: Moderators
-
- Posts: 6
- Joined: Thu Aug 20, 2020 2:15 am
-
- Posts: 6
- Joined: Thu Aug 20, 2020 2:15 am
Re: does gargoyle report kilo kbps as 1000 or 1024
I think I found my answer in github.com/ericpaulbishop/gargoyle/blob/1.12/package/qos-gargoyle/src/qosmon.c
The math seems to use 1000 throughout this source file.
The math seems to use 1000 throughout this source file.
Re: does gargoyle report kilo kbps as 1000 or 1024
You’re asking about kilobits vs kibibits (and equivalent higher magnitudes)?
Gargoyle uses base 10 for the majority of the interface.
There are specific elements that differ.
The source code is the point of truth.
The part you highlighted is for reporting the Active Congestion Control status and the QoS class statuses.
Gargoyle uses base 10 for the majority of the interface.
There are specific elements that differ.
The source code is the point of truth.
The part you highlighted is for reporting the Active Congestion Control status and the QoS class statuses.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.