• edited by
23,857 views
96 96 votes

Suppose that it takes $1$ unit of time to transmit a packet (of fixed size) on a communication link. The link layer uses a window flow control protocol with a window size of $N$ packets. Each packet causes an ack or a nak to be generated by the receiver, and ack/nak transmission times are negligible. Further, the round trip time on the link is equal to $N$ units. Consider time $i > N$. If only acks have been received till time i(no naks), then the goodput evaluated at the transmitter at time i(in packets per unit time) is

  1. $1- \dfrac{  N}{i}$
     
  2. $\dfrac{i}{(N + i)}$
     
  3. $1$
     
  4. $1 - e^{\left(\frac{i}{N}\right)}$

7 Answers

Best answer
144 144 votes

In computer networks, goodput is the application level throughput, i.e. the number of useful information bits delivered by the network to a certain destination per unit of time. (From wikipedia).

So, successful delivery of packet can be assured if $\text{ACK}$ has been received for it.

So till time $'i'$ we would have transmitted $'i'$ packets but only $(i-N)$ can be acknowledged as minimum time for a packet to get Acknowledged is $N$ (since $\text{RTT}$ is $N$ which is equal to the window size, there is no waiting time
for the sender).

So, successfully delivered packets $=(i-N)$

Time for transmission $=i$

Goodput $=\dfrac{\text{Successfully delivered data}}{\text{Time}}$

$=\dfrac{(i-N)}{i}$

$= 1- \dfrac{ N}{i}$

Therefore (A)

• edited by
69 69 votes

I tried to make it easier by taking an example that how it is actually working. 

 

4 4 votes




At T = N + 1 1st ack arrives judging this pattern and some manipulation we can get to the answer :)

2 2 votes

1 unit of time —  packet.

N units of time — N packets.

i units of time — i packets.

 

If only acks have been received till time i (no naks)

It means till time i, i packets are ACKed?

No.

Whatever i is, ACKed packets would always be (i - N) because it takes N units of time to receive an ACK for a packet (because N is the RTT). So from total packets (ie i packets) ACKed packets are (i - N).

 

So, Goodput = $\frac{i-N}{i}$

=> $\frac{i}{i} - \frac{N}{i}$

=> $1 - \frac{N}{i}$

 

Option A

1 1 vote

Goodput is the application level throughtout, i.e., the no. of useful information bits delivered by the network to a certain destination per unit of time.
So, successful delivery of packet can be assured if ack has been received for it.
So till time 'i' we would have transmitted 'i' packets but only (i - N) can be acknowledged as minimum time for a packet to get acknowledged is N (since RTT is N which is equal to the window size, there is no waiting for the sender).
So, successfully delivered packets = (i - N)
Time for transmission = i
Goodput = Successfully delivered data/Time
= (i - N)/i
= 1 - N/i

Answer:
Position:
Show:

Related questions

78 78 votes
14 answers 14 answers
24.7k
24.7k views
Ishrat Jahan asked Nov 1, 2014
24,725 views
On a wireless link, the probability of packet error is $0.2$. A stop-and-wait protocol is used to transfer data across the link. The channel condition is assumed to be in...
95 95 votes
11 answers 11 answers
23.1k
23.1k views
Ishrat Jahan asked Nov 1, 2014
23,131 views
A subnetted Class $B$ network has the following broadcast address: $144.16.95.255$Its subnet maskis necessarily $255.255.224.0$is necessarily $255.255.240.0$is necessaril...
61 61 votes
11 answers 11 answers
24.2k
24.2k views
Ishrat Jahan asked Nov 1, 2014
24,170 views
A program on machine $X$ attempts to open a $UDP$ connection to port $5376$ on a machine $Y$, and a $TCP$ connection to port $8632$ on machine $Z$. However, there are no ...
69 69 votes
13 answers 13 answers
20.7k
20.7k views
Ishrat Jahan asked Nov 1, 2014
20,736 views
A link of capacity $100$ $\text{Mbps}$ is carrying traffic from a number of sources. Each source generates an on-off traffic stream; when the source is on, the rate of tr...