Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please explain step ny step. I do not undestand anything B. A packet switch rece

ID: 3800681 • Letter: P

Question

please explain step ny step. I do not undestand anything

B. A packet switch receives a packet and determines the outbound link to which the packet should be forwarded. When the packet arrives, one other packet is halfway (50%) done being transmitted on this outbound link and three other packets are waiting to be transmitted. Packets are transmitted in order of arrival. Suppose all packets are 800 bytes and the link rate is 2 Mbps. What is the queuing delay for the packet? More generally, what is the queuing delay when all packets have length L, the transmission rate is R, x bits of the currently-being-transmitted packet have been transmitted, and n packets are already in the queue?

Explanation / Answer

Solution:

step 1: Find the number of bytes to be transmitted.

Given, Packet size is 800 bytes
So total bytes to be transmitted is = 4.5 *800 =3600 bytes
= 28800 bits.

Hence the arriving packet must first wait for the link to transmit 3600   bytes or 28,800   bits.  

Step 2:

Since these bits are transmitted at 2 Mbps,
the queuing delay is =28800/2
=14.3 msec (approx)

Generally,the   queuing   delay   is (nL   + (L - x))/R.