Use ES3528M, ES3528Mv2 console cable
Friday, March 23, 2012
Thursday, March 15, 2012
Rate Limiting Burst Rate Calculation
This command has configured the rate to 50Mb, the burst is 327680
But, if we only know the rate we want, and how to decide the burst for this rate? So we need the formula as below...
burst = (inrate/8) *(5%~10%). (divided by 8 for bit to bytes conversion)
For the example of command line, the rate is 50Mb, so...
50(Mb)*1024 = 51,200(Kb)
51,200(Kb)*1024 = 5,242,800(bits)
5,242,800(bits)/8 = 6,553,600(Bytes)
6,553,600(Bytes) * 0.05 = 327,680
But, if we only know the rate we want, and how to decide the burst for this rate? So we need the formula as below...
burst = (inrate/8) *(5%~10%). (divided by 8 for bit to bytes conversion)
For the example of command line, the rate is 50Mb, so...
50(Mb)*1024 = 51,200(Kb)
51,200(Kb)*1024 = 5,242,800(bits)
5,242,800(bits)/8 = 6,553,600(Bytes)
6,553,600(Bytes) * 0.05 = 327,680
Subscribe to:
Posts (Atom)