Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
iSu10
Participant

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

0 Kudos
14 Replies
HeikoAnkenbrand
Champion Champion
Champion

Hi @iSu10,

Mbps = Mbits = Megabits per Second

Is exactly the same.

Some programmers will not have agreed on this point. 😀

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
iSu10
Participant

But the numbers shown in cpview are not, so the confusion.

0 Kudos
HeikoAnkenbrand
Champion Champion
Champion

Maybe someone has confused bit and byte.
In networking, only bits make sense.

In cpview some display values are also wrong.

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
0 Kudos
HristoGrigorov

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% 😀

iSu10
Participant

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...


0 Kudos
HeikoAnkenbrand
Champion Champion
Champion

Something seems to have gone wrong with the programming:

https://en.wikipedia.org/wiki/Data-rate_units#Megabit_per_second

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
0 Kudos
Timothy_Hall
Legend Legend
Legend

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?

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
0 Kudos
Maarten_Sjouw
Champion
Champion

Mbits is just what is says: a number of Megabits that have passed the interface, since the last reset and the Mbps is just the current Megabits per second.
Regards, Maarten
iSu10
Participant

We thought that, but the Mbits sometimes lowers in value.
We were thinking it was some number that increments and resets every now and then, but it didn't.
0 Kudos
Arik_Ovtracht
Employee
Employee

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.

 

0 Kudos
HeikoAnkenbrand
Champion Champion
Champion

Hi @Arik_Ovtracht 

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

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
Maarten_Sjouw
Champion
Champion

On top of what @HeikoAnkenbrand said, the industry standard is that you use Mb for mega bits and MB for mega bytes.
Regards, Maarten
Noam
Employee Alumnus
Employee Alumnus

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.

0 Kudos
HristoGrigorov


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 ? 😀

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events