- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: CPview Mbits vs Mbps columns
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CPview Mbits vs Mbps columns
Searching through docs and forums, can't seem to get the difference between Mbits and Mbps in cpview under Network, Interfaces, Traffic
We kinda understand Mbps numbers here, but Mbits column is throwing us off.
Thanks again checkmates!!
checkpoint 77.30.. just in case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @iSu10,
Mbps = Mbits = Megabits per Second
Is exactly the same.
Some programmers will not have agreed on this point. 😀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe someone has confused bit and byte.
In networking, only bits make sense.
In cpview some display values are also wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My favorite in R80.40 is this one:
# fwaccel stats -s
Accelerated conns/Total conns : 18446744073709551613/18446744073709551038 (0%)
I have even seen it to be negative value, like -5% 😀
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An example of the cpview data in those columns:
Mbits Mbps
2,578 0
6,482 0
26,368 39
6,484 21
15,500 0
.
.
.
and so...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Something seems to have gone wrong with the programming:
https://en.wikipedia.org/wiki/Data-rate_units#Megabit_per_second
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps Mbits is being expressed as some kind of average utilization over a time period such as 60 seconds, and Mbps is second-by-second utilization in more or less real time?
CET (Europe) Timezone Course Scheduled for July 1-2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We were thinking it was some number that increments and resets every now and then, but it didn't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Mbits is current network traffic (MB per second).
Mbps is aggregated network traffic since sampling started (MB per second).
So you understand why they display different results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is confusing from my point of view. If you average values over time, you should output this as an average value.
And you should specify the time period (for example 60 seconds, 1 day or since the last boot). Otherwise the values are mathematically useless.
For example I would then display it:
Mbps average 1 day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
like @Maarten_Sjouw said:
Mbits is a number of Megabits that have passed since the last reset (/proc/net/dev reset) and the Mbps is current Megabits per second.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have ran into this log entry inside test_ad_connectivity.elg that made me fall off the chair:
hash_drbg_add_sample: Adding 55 bytes worth 27500 milibits. Total: 27500. Required: 0
Is someone mining bitcoins on my gateway ? 😀
