Google Answers Logo
View Question
 
Q: Computer Networks ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Computer Networks
Category: Computers > Internet
Asked by: shabach-ga
List Price: $15.00
Posted: 09 Jan 2005 12:26 PST
Expires: 08 Feb 2005 12:26 PST
Question ID: 454614
5. Calculate the latency (from first bit sent to last bit received)
for the following:
a) 10-Mbps Ethernet with a single store-and-forward switch in the
path, and a packet size of 5000 bits. Assume that each link introduces
a propagation delay of 10 µs and that the switch begins retransmitting
immediately after it has finished receiving the packet.
b) Same as (a) but with three switches.
c) Same a (a) but assume the switch implements ?cut-through?
switching: It is able to begin retransmitting the packet after the
first 200 bits have been received.
Answer  
Subject: Re: Computer Networks
Answered By: livioflores-ga on 09 Jan 2005 19:51 PST
Rated:5 out of 5 stars
 
Hi again!!

a) 10-Mbps Ethernet with a single store-and-forward switch in the
path, and a packet size of 5000 bits. Assume that each link introduces
a propagation delay of 10 µs and that the switch begins retransmitting
immediately after it has finished receiving the packet.

propagation delay = 10 µs = 0.00001 s 

We have one switch, then there are two links.

Latency = propagation delay of links + transmit delay of links =
        = 2 * propagation delay + 2 * Packet Size/Bandwidth =
        = 2 * 0.00001 s + 2 * (5000/10000000)s =
        = 0.00002 s + 0.001 s =
        = 0.00102 s =
        = 1.02 ms

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

b) Same as (a) but with three switches.

The problem is the same as the above but now we have 4 links: 

Latency = propagation delay of links + transmit delay of links =
        = 4 * propagation delay + 4 * Packet Size/Bandwidth =
        = 4 * 0.00001 s + 4 * (5000/10000000)s =
        = 0.00004 s + 0.002 s =
        = 0.00204 s =
        = 2.04 ms

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

c) Same a (a) but assume the switch implements ?cut-through?
switching: It is able to begin retransmitting the packet after the
first 200 bits have been received.

We have one switch again, then there are two links.

With cut-through the switch delays the packet by 200 bits, this means
a cut-through delay of:
Cut-through packet Size/Bandwidth = (200/10000000) s =
                                  = 0.00002 s =
                                  = 0.02 ms 

Latency = propagation delay of links + transmit delay + cut-through delay =
        = 2 * propagation delay + Packet Size/Bandwidth + 0.00002 s =
        = 2 * 0.00001 s + (5000/10000000) s + 0.00002 s =
        = 0.00002 s + 0.0005 s + 0.00002 s =
        = 0.00054 s =
        = 0.54 ms 

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

I hope that this helps you. Feel free to request for a clarification
if you need it. I will gladly respond your requests.


Regards.
livioflores-ga
shabach-ga rated this answer:5 out of 5 stars
Hi livioflores-ga,

This is just to tell you that your answers are great. look forward to
working with you again.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy