02-08-2013 05:51 AM - edited 03-07-2019 11:35 AM
Hi,
We are trying to ascertain how much bandwidth in Mbps or Gbps is flowing through a device. This different vendor device only shows packet per second rate in its interface.
Can someone please help on converting pps to Mbps or Gbps.
Thanks for inputs!
Solved! Go to Solution.
02-21-2013 04:41 PM
Hi,
Lets say that the interface shows 10 pps
Lets say the packet size 100 bytes
So that would give 10 x 100 = 1000 bytes per sec
A byte = 8 bits
So 1000 bytes/sec = 8000bits/sec
++++++++++++++++++++++++++++++++++++++++++++++++++++
Now use your figures
164673pps x 256 bytes = 42156288 bytes/sec
42156288 x 8 = 337250304 bits/sec = 337.250304Mbits/sec
Hope this makes sense
Regards,
Alex.
Please rate useful posts.
02-08-2013 07:48 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
To convert PPS to bps, you would need to know each packet's size. Additionally, PPS to bps varies per media.
As PPS to bps varies very, very much based on packet's size you could guesstimate a bps if you assumed an average packet size.
For example, if you assume your average packet size is 256 bytes, which is 2K bits, just multiple that by your PPS.
02-21-2013 04:13 PM
So, for example if the pps shown on the device interface is 164673, this multiplied by 256 gives 42156288.
I am bit confused on how to convert this figure to Kbps or Mbps.
02-21-2013 04:41 PM
Hi,
Lets say that the interface shows 10 pps
Lets say the packet size 100 bytes
So that would give 10 x 100 = 1000 bytes per sec
A byte = 8 bits
So 1000 bytes/sec = 8000bits/sec
++++++++++++++++++++++++++++++++++++++++++++++++++++
Now use your figures
164673pps x 256 bytes = 42156288 bytes/sec
42156288 x 8 = 337250304 bits/sec = 337.250304Mbits/sec
Hope this makes sense
Regards,
Alex.
Please rate useful posts.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide