Posts

Showing posts from June, 2026

Performance Comparison of TCP Reno, TCP NewReno, TCP Cubic, and TCP Vegas

Image
TCP Reno, TCP NewReno, TCP Cubic, and TCP Vegas: Performance Comparison Under 5% Random Packet Loss in NS-3 Transmission Control Protocol (TCP) plays a vital role in ensuring reliable data delivery across networks. However, different TCP variants respond differently when packet losses occur. In this experiment, we used the NS-3 network simulator to compare four popular TCP congestion control algorithms—TCP Reno, TCP NewReno, TCP Cubic, and TCP Vegas—under a wired topology with a 5% random packet loss rate. AI (LLM) Used: Claude Anthropic Prompt: Write NS-3 C++ code to compare TCP Reno, NewReno, Cubic, and Vegas under 5% random  packet loss in a wired topology. The simulation should: 1. Create a point-to-point wired network topology 2. Implement 5% random packet loss using the error model 3. Run simulations for all four TCP variants 4. Generate NetAnim XML file for visualization 5. Output throughput data for gnuplot graphs 6. Use proper NS-3 coding conventions The file should be nam...