HW1

HW1

by Joyti Valérian Goel -
Number of replies: 1

1)When asked (page 4) (Circuit Switching):

What is the total transfer time when N is equal to 2, then 3 links?

The formula we are given in general is: n x d-prop + t-transmission 1 + t-transmission 2...

Am i correct to say that if there was no circuit switching in this question then we would also have to multiply

 t-transmission 1 + t-transmission 2 by n?


2)When asked (page 8)(Store Forward):
What is the total transfer time with N-1 Switches and P packets of length L1,...LP?

In general, when the packets have different lengths, the order at which 
the packets are sent may affect the total transfer time. However, this is not the case in this exercise where all links have the same processing and propagation delays, the same transmission rate, and packet-switch buffers are infinite (no packet drops). Thus, the total transfer time is the same as when sending the longer packet, say L1, first and then the rest of the packets."

I don't understand why this makes sense because say L1 to Lp is in decreasing order of size : L1>L2>...LP we know that Queuing time for say L2 would be Transfer Time of L1 - Transfer Time fo L2 .... but if we had LX instead of L1.. this transfer time would obviously vary given it had a different size which in turn affects the queuing delay. 

and in the formula of the answer why is it that we multiply Dprop only N times?



In reply to Joyti Valérian Goel

Re: HW1

by Konstantinos Prasopoulos -
Hello,
1) "If there was no circuit switching ..." -> you mean if store-and-forward was used instead? This question is examined in the Store and forward exercise: it would be N*(dprop + dtrans1) + dtrans2 - you can see this in figure 8 if you ignore dproc.
Do you mean something else?

2) I sketched an explanation. In it, dprop = 0, so that it is easier to see the point.
Expl
In the example, messages are sent in ascending order based on their size. The total duration is the same.
You "pay" to transmit A N times, and to transmit B, C, and D once each.

"and in the formula of the answer why is it that we multiply Dprop only N times?" 
check figure 8 of the solutions. Only 1xdprop is added for every link.