-- Final Exam Practice Problems
Originally Posted By: RobertToney
Extra Credit goes to: Robert Toney, David Blausey
Problem 8.
Give an example of how the silly window syndrome can arise. Show how Nagle's algorithm prevents this situation from occurring.
The silly window syndrome arises in TCP when a server is too slow to process data and requests smaller amounts of data to be sent. If the server continues to request smaller amounts of data, the client will start sending data so small that most of the actual data being sent is IP and TCP headers, thus wasting most of the data with headers.
Nagle's Algorithm solves the problem by deciding when to wait and how long to wait.
If both the available data to send and the window size are >= than the MSS, then send the full segment
Otherwise,
If there is unconfirmed data still being sent, buffer until the ACKs arrive
else send all the data
'''Originally Posted By: RobertToney'''
Extra Credit goes to: Robert Toney, David Blausey<br><br>Problem 8.<br>Give an example of how the silly window syndrome can arise. Show how Nagle's algorithm prevents this situation from occurring.<br><br>The silly window syndrome arises in TCP when a server is too slow to process data and requests smaller amounts of data to be sent. If the server continues to request smaller amounts of data, the client will start sending data so small that most of the actual data being sent is IP and TCP headers, thus wasting most of the data with headers.<br><br>Nagle's Algorithm solves the problem by deciding when to wait and how long to wait.<br>If both the available data to send and the window size are >= than the MSS, then send the full segment<br>Otherwise,<br>If there is unconfirmed data still being sent, buffer until the ACKs arrive<br>else send all the data