583 views
3 votes
3 votes

Consider a router having buffer capacity to hold 5000 packets. The router is connected to multiple links which are having the bandwidth of 1 Gbps. Suppose the incoming data from 5 links are being redirected to one of its links. In these 5 flows, 4 flows(tiny flows) are sending 10000 packets/sec and another flow(huge flow) is sending 50000 packets/flow. Assume each packet in size in these flows is 10000 bits.
How many packets are in the buffer on an average?

  1.   9
  2.   0.9
  3.   10

------------------------------------------------------------------------

here efficiency will be 9/10 as incomin bits are 9 * 108 and outgoing flow is 109..but how to calculate average pakctes in buffer?

1 Answer

Best answer
1 votes
1 votes

Queue depth or no of packets in buffer=utilization/1-utilization.

Here utilization=Network load/ WAN Load.

Router having 5 multiple links and 4 are tiny flowing rate is=10000 packets/sec and another one is 50000packets/sec.

Consider entitre load on network it is $4*10^{4}+5*10^{4}$ ( 4 tiny flows and one huge flow).

Total load on network=9*$10^{4}$ packets .

but each packet is of length=10000bits.

So Total load on network=9*$10^{4}*10^{4}$=9*$10^{8}$.bits/sec

WAN load=1Gbps=$10^{9}$ bits/sec.

UTILIZATION=$\frac{9*10^{8}}{10^{9}}$

                    =0.9.

Queue depth=$\frac{0.9}{1-0.9}$=9.

Hence on an average no of packets in a buffer=9

selected by

Related questions

1 votes
1 votes
1 answer
1
Pradyumna Paralikar asked Apr 16, 2015
1,865 views
There are 200 computers in a lab which are attached to an ethernet 10 Mbps with a coaxial cable of 1500m .The packets are 800 bits long. The propagation speed is 2*10^8 m...
1 votes
1 votes
1 answer
3
arnav1827 asked Mar 21, 2023
1,219 views
One of the header fields in an IP datagram is the Time to Live (TTL) field. Which of the following statements best explains the need for this field ? It can be used to pr...