Assignment - TCP Performance Study
In this assignment, you will use iperf3 and Wireshark to explore TCP performance when the number of parallel connections, TCP Window size, and Round Trip Time (RTT) from Client to Server vary.
DO YOU WANT TO EXCEL IN TCP PERFORMANCE ASSIGNMENT - ORDER AT EXPERTSMINDS!
Q1. Please provide the IP address of your server and describe the parameters you use, e.g., length of time to transmit (with -t), number of parallel connections (with -P), and other parameters if you specify any.
Answer - By making use of window size value field of the TCP header the communication takes place between TCP receive window and connection partner. The use of this field is informing the connection partner about the amount of data transferred via wire before receiving the acknowledgment. TCP window will be reduced in the acknowledgment packets and simultaneously the receiver buffer will be filled if the receiver is not able to handle the data as fast as it comes. This field will give alert to the sender to minimize the amount of data. It also allows the extra time to the receiver for clearing the buffer.
DON'T MISS YOUR CHANCE TO EXCEL IN TCP PERFORMANCE ASSIGNMENT! HIRE TUTOR OF EXPERTSMINDS.COM FOR PERFECTLY WRITTEN TCP PERFORMANCE ASSIGNMENT SOLUTIONS!
Q2. What's the number of parallel connections that give the highest aggregate bandwidth? What's the trend of aggregate bandwidth as the number of parallel connections increases?
Answer - The receive window value is 65535 bytes If the TCP header value allocated for the size of a window in 2 bytes. The provision of maximum traffic flows this size if not enough. Especially in case of a fat network that means the network which had high bandwidth and high latency.
For overcoming this problem new TCP option has been introduced I.e. RFC 1323. TCP WINDOW SCALING is the advanced function included in this to increase the window value size.
In the above figure, it shows that the sender is showing the TCP window value of 63792 bytes with scaling factor is 4 that means, in reality, the size is 63792*4 = 255168 bytes.
Time Sequence
Tcptrace shows similar metrics as the tcptrace utility which also includes acknowledgment, forwarded segments, zero, and reverse window size.
Throughput
Throughput and good put is a stage which does not effect by client window size and window size does not provide enough optimal network traffic.
Round Trip Time
Corresponding to the cow it segments the acknowledgment timestamp is the RTT.
Window Scaling
Size of a window with outstanding bytes.
WORK TOGETHER WITH EXPERTSMIND'S TUTOR TO ACHIEVE SUCCESS IN TCP PERFORMANCE ASSIGNMENT!
Q3. Briefly explain the possible reasons behind what you observe. For instance, if aggregate bandwidth increases with more parallel connections at the beginning, then what's the mathematical formula that may explain this? And if aggregate bandwidth stops increasing or even decreases a bit later on, what might be the possible causes?
Answer -
TCP Receive Window
In the above figure, we can clearly see that, As the communication takes place between the client and server the advertise the value of their window size. This value can be an increase or decrease as the connection process progresses. In the example we can consider that the TCP receive value for the client receive window is 65,535 bytes, and that of server has the value of 5840 bytes. As we can clearly see that the window size value of the client is greater than that of the server. Then before starting the communication handshake is takes place. HTTP GET request will be sent to the Server by the client, this request will be processed quickly by the Server. Then two packets which contain the acknowledgment and updated window size will be sent to the client. The client is able to process the data packets as its capacity is far greater than that of the client.
TCP Receive Window and TCP buffer
The indication of the shrinking value of the window will be s4nt. The end user will ignore this behavior as long as the window value doesn't fall to 0.