Question: 3 . Host A has opened a TCP connection with Host B . Host A then sends a long sequence of data segments to B
Host A has opened a TCP connection with Host B Host A then sends a long sequence of data segments to B Each data segment is bytes long. Host A and B agree to use stopandwait protocol for reliable data transfer. The RTT is msec.
a If the channel is perfect, what is the throughput of the connection in bits per secondbps
b If the channel is perfect and the link speed at Host A is alpha bps At what value of alpha below which the throughput for sure cannot be achieved.
c How would you double the throughput?
d Assume the channel corrupts segments at the receiver Host B only. What version of rdt should be used?
e If on the average out segments are corrupted at the receiver, what is the throughput of the connection?
f Assume, if segments are not lost in the network, the RTT for these segments is a uniform distributed random variable between RTT and RTT Would you choose a timeout value smaller than RTT and why?
g Refer to f would you choose a timeout value larger than RTT and why?
h Assume Host A and B agree to use a modified stop and wait protocol in which A is allowed to send back to back segments before the acknowledgment for the first segment is received. If the channel is perfect, what is the throughput?
i Assume the channel can corrupt segments with probability q The modified stopandwait protocol is such that if one or more of the three backtoback segments are corrupted, all three segments must be discarded. What is the throughput?
j Let the modified stopandwait protocol allows n backtoback segments sent before receiving any acknowledgment. The channel corrupts segments with probability q Write the equation for the TCP throughput in terms of n and q Given q find the optimal value of n
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
