Analysis of Round Trip Time (RTT) under Different Traffic Conditions using Wireshark
Introduction
Network performance depends on several parameters such as delay, bandwidth, throughput, and packet loss. Among these, delay plays a significant role in determining how efficiently data is transferred between communicating devices. One of the most important delay-related metrics is Round Trip Time (RTT).
RTT directly influences the behaviour of transport-layer protocols, especially the Transmission Control Protocol (TCP). TCP relies on acknowledgments to ensure reliable data transmission. The sender cannot continuously transmit unlimited data; it must wait for acknowledgments before sending additional packets. Therefore, RTT has a direct impact on data transfer speed.
RTT is measured as the time difference between when a packet is sent and when its acknowledgment is received.
Objectives
To analyze Round Trip Time (RTT) in TCP communication
To study network performance under different traffic conditions
To observe the impact of RTT on throughput and packet loss
To analyze TCP behavior using Wireshark
Reference from which the DA was started
Description of the Source
The Sharkfest presentation provided a detailed understanding of TCP performance analysis using Wireshark. It explained how RTT, packet loss, and throughput can be analyzed using captured packets. The YouTube resource helped in understanding practical implementation and visualization of network traffic.
Architecture of the Work
Description:
The setup consists of a client system communicating with a server over a network. Wireshark is used to capture and analyze packets at the client side. Different traffic conditions are generated using command-line tools.
Procedure
Low Traffic
Command used:
ping -n 20 google.com
Observation:
Low number of packets transmitted, resulting in low RTT and efficient communication.
Medium Traffic
Command used:
ping -n 100 google.com
Observation:
Increased packet transmission leads to moderate RTT and slight variations in delay.
High Traffic
Command used:
ping -n 500 google.com
Observation:
Heavy traffic leads to congestion, increased RTT, packet delay, and possible packet loss.
Outputs
(RTT Analysis)
The Round Trip Time (RTT) values were observed under different traffic conditions using Wireshark. RTT represents the time taken for a packet to travel from the sender to the receiver and back.
In low traffic conditions, RTT remained low with slight fluctuations due to limited packet transmission.
During medium traffic conditions, RTT values showed noticeable variation as the number of packets increased, indicating moderate network load.
In high traffic conditions, RTT values increased significantly with large fluctuations, reflecting network congestion and delay in packet acknowledgment.
Overall, it was observed that RTT varies with traffic intensity and increases as network load increases.
Inferences on Network Parameters
Graph 1: RTT vs Time (Low Traffic)
The RTT graph under low traffic conditions shows very small and stable values over time. There are minimal fluctuations, indicating that packets are transmitted and acknowledged quickly without delay. This reflects efficient network performance with negligible congestion and low latency.
Graph 2: RTT vs Time (Medium Traffic)
In the medium traffic RTT graph, slight variations in RTT values are observed. The delay increases compared to low traffic, and occasional spikes indicate temporary congestion. However, the overall trend remains fairly stable, showing that the network can still handle moderate load efficiently.
Graph 3: RTT vs Time (High Traffic)
Graph 4: Throughput vs Time (Low Traffic)
Throughput is low but stable since fewer packets are being transmitted. There is no congestion, so the network delivers data efficiently but at a lower rate.
Graph 5: Throughput vs Time (Medium Traffic)
Throughput increases and becomes more optimal. The network resources are utilized efficiently, resulting in higher data transfer rates with minimal packet loss or delay.
Graph 6: Throughput vs Time (HighTraffic)
Throughput initially increases but may fluctuate or even degrade due to congestion. Packet loss, delays, and retransmissions can reduce effective throughput, leading to instability in performance.
Graph 7: Packet Count vs Time (low traffic)
Packet count increases slowly over time with a nearly flat and stable curve. This indicates fewer packets are being transmitted, and the network is underutilized with no congestion.
Graph 8: Packet Count vs Time (medium traffic)
Graph 9: Packet Count vs Time (high traffic)
Graph 10: TCP Window Size vs Time (low traffic)
The TCP window size remains relatively small and stable over time. Since there is no congestion, the sender does not need to aggressively increase the window size. The graph shows a smooth and steady pattern.
Graph 11: TCP Window Size vs Time (medium traffic)
The TCP window size shows sharp increases followed by sudden drops. This behavior is due to congestion control mechanisms (like slow start and congestion avoidance). When packet loss occurs, the window size decreases, then increases again, creating a fluctuating pattern.
Graph 13: Sequence Number (Low Traffic)
Graph 14: Sequence Number (Medium Traffic)
Graph 15: Sequence Number (High Traffic)
Graph 19: Packets/1sec (medium traffic)
Graph 20: Packets/1sec (high traffic)
New Findings and Recommendations
RTT increases significantly under high traffic conditions
High RTT leads to reduced throughput
Packet loss increases during congestion
TCP reduces its window size under heavy load
Efficient bandwidth management is required
Use congestion control mechanisms to improve performance
Use of AI in this DA
Artificial Intelligence tools were used to structure the report, analyze network behavior, and interpret Wireshark graphs. AI assisted in organizing the experimental data and presenting it in a clear and structured format.
Conclusion
This study highlights the importance of RTT in determining network performance. As traffic increases, RTT and packet delays increase, leading to reduced throughput and efficiency. Wireshark proves to be an effective tool for analyzing TCP performance under varying traffic conditions.
YouTube Video Link
https://youtu.be/KjDC43hFDds
GitHub Repository Link
https://github.com/shreyashree0207/Analysis-of-Round-Trip-Time-RTT-under-Different-Traffic-Conditions-using-Wiresharks
References
Sharkfest Wireshark Presentation
YouTube Tutorial on Wireshark
Wireshark Official Documentation
Acknowledgement
- I sincerely express my gratitude to the School of Computer Science and Engineering (SCOPE) at the Vellore Institute of Technology, Chennai, for offering the theory and laboratory courses in Computer Networks during the Winter Semester 2025–2026 with an industry-standard and well-structured curriculum.
- I extend my heartfelt thanks to my course faculty, Dr. T. Subbulakshmi, Professor, SCOPE, VIT Chennai, for her valuable guidance, continuous support, and insightful teaching throughout the course.
- I would like to acknowledge Gerald Combs, the founder of Wireshark and recipient of the ACM Software System Award (2018), for developing an exceptional tool that greatly facilitated network traffic analysis and enhanced practical learning.
- I also thank my peers for their support, collaboration, and valuable suggestions, which contributed significantly to my learning experience.
- A special note of appreciation goes to my friend (Garv Goyal), who guided and supported me in understanding key concepts and practical aspects at various stages of this work.
- I express my sincere gratitude to my parents, siblings, and relatives for their constant encouragement, motivation, and unwavering support.
- Lastly, I would like to acknowledge all the books, online resources, and individuals whose contributions, though not individually mentioned, have supported me in completing this work successfully.
Author
Shreyashree Tiwari, II year B.Tech. CSE Student ,School of Computer Science and Engineering , VIT Chennai
Understood the concept really well. Clear understanding of the graphs and RTT.
ReplyDeleteGreat insights on topic, keep up the work
ReplyDeleteThe graphs create great insights about RTT!
ReplyDeleteGreat work Shreyashree, the graphs depict accurate understanding on that concept.
ReplyDelete