[c-nsp] easy question, PPS v Megabits

Saku Ytti saku+cisco-nsp at ytti.fi
Tue Aug 22 10:48:00 EDT 2006


On (2006-08-22 07:35 -0700), Scott Granados wrote:

> Could someone break down real fast the relationship between a number
> like 100 megabits of traffic V. 170 K PPS.  How do packets per second
> relate to bandwidth or is there an easy way to relate the two?

In ethernet:
[ytti at nekrotuska ~]% echo "(100*1000*1000)/(84*8)"|bc -l 
148809.52380952380952380952

100Mbps divided by 84bytes (minimum ethernet frame on wire is, 7B preamble,
1B SFD, 12B dst/src, 2B type, 46B payload, 4B CRC, 12B IFG == 84 bytes).

That gives is 148809pps with minimum packet size to saturate 100Mbps.

-- 
  ++ytti


More information about the cisco-nsp mailing list