Made with ScholarlyMake flashcards like these from your own notes
Question:What is the motivation behind the exponential backoff in TCP retransmission?
Answer:The motivation behind the exponential backoff in TCP retransmission is to address congestion, which is the most likely cause of lost segments. It aims to improve the timeout mechanism by setting the next timeout to be twice the last timeout, rather than basing it on the last EstimatedRTT.
Question:What is the Jacobson-Karels Algorithm in TCP?
Answer:The Jacobson-Karels Algorithm in TCP addresses the issue of not taking the variance of the sample RTTs into account. It states that if the variance among samples is small, the EstimatedRTT can be better trusted, and there is no need to multiply this estimate by 2 to compute the timeout. The algorithm involves computing the timeout value as a function of both EstimatedRTT and Deviation, where Deviation is typically set to 1 and is set to 4.
Question:How does TCP calculate the timeout value in the new approach according to the text?
Answer:In the new approach, TCP measures a new SampleRTT, then incorporates this new sample into the timeout calculation by calculating both the mean RTT and the variation in that mean using a fraction between 0 and 1. The timeout value is then computed as a function of both EstimatedRTT and Deviation. When the variance is small, the timeout is close to EstimatedRTT, while a large variance causes the Deviation term to dominate the calculation.
Question:What are the two mechanisms discussed in TCP for handling record boundaries?
Answer:The two mechanisms discussed in TCP for handling record boundaries are the urgent data feature, implemented by the URG flag and UrgPtr field in the TCP header, and the push operation. The urgent data feature was originally designed to allow sending out-of-band data, while the push operation was designed to flush bytes connected to its peers. These mechanisms can be used to insert end-of-record markers into a byte stream, with TCP notifying the application when receiving special data or PUSH flag in incoming segments.
Question:What are the extensions to TCP mentioned in the text?
Answer:The extensions to TCP mentioned in the text are: 1. Improving TCP's timeout mechanism by using timestamps in the header to measure the RTT. 2. Extending the 32-bit SequenceNum field using a 32-bit timestamp to effectively increase the sequence number space. 3. Allowing TCP to advertise a larger window by defining a scaling factor for the advertised window. 4. Introducing the Selective Acknowledgements (SACK) option, which allows TCP to acknowledge additional segments that are not contiguous with previously received segments, enabling the sender to retransmit only the missing segments according to the selective acknowledgement.