Nokia – Alcatel Lucent SAR-8 7705 Port Utilization

alcatel-lucent-7750bandwidthspeed

Typically I use the following command to show port utilization percentage:

monitor port 1/1/8 rate interval 5

As an example, this would result in the following output every few seconds:

===============================================================================
Monitor statistics for Port 1/1/8
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets                                    75258450207721         75077561029121
Packets                                     690944243167           685878159990
Errors                                                 1                      0

-------------------------------------------------------------------------------
At time t = 5 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets                                           1185742                1015941
Packets                                            10264                   8347
Errors                                                 0                      0
Utilization (% of port capacity)                    1.11                   0.94

-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets                                           1182030                1020105
Packets                                            10231                   8397
Errors                                                 0                      0
Utilization (% of port capacity)                    1.10                   0.95

How is the Utilization (% of port capacity) calculated for a 1000Mbps port?

The solution does NOT appear to be (octets*8)/1E9 for a 1000Mbps port. For example, at t = 5 sec, (1185742 octets * 8)/1E9 * 100% = .95% rather than 1.11 %.

I assume there is something to the math used by Nokia/ALU I am not seeing.

Best Answer

The octet statistics count L2, not L1, so do not include preamble, start of frame delimiter and inter frame gaps, totaling 20B per packet on the wire. Port utilization of course looks at L1. If you add 20B per packet you'll see the calculations are correct. So basically use 8*(octets+packets*20)/capacity instead of 8*octets/capacity.