_  _______ ____    ____             _        _   
| |/ /_   _|  _   / ___|  ___   ___| | _____| |_ 
| ' /  | | | |_) | ___  / _  / __| |/ / _  __|
| .   | | |  __/   ___) | (_) | (__|   <  __/ |_ 
|_|_ |_| |_|     |____/ ___/ ___|_|____|__|

Documentation for CS39006: Networks Laboratory Assignment 4

Name: Sumit Kumar

Roll No: 22CS30056

Link of the pcap file: View PCAP File

The graphs for this data is plotted on https://k-socket-graphs.vercel.app

Project Overview

This dashboard visualizes network performance metrics for the KTPSocket implementation. The graphs show how different probability values (P) affect message transmissions, acknowledgments, and total network traffic.

Average Transmissions vs P Value

This graph shows how the probability of packet loss (P value) affects the average number of message transmissions, acknowledgments sent, and total transmissions required per message.

Transmission Components by P Value

This stacked bar chart shows the breakdown of total transmissions into message transmissions and acknowledgments sent for each probability value.

Total Transmissions vs P Value

This graph isolates the total transmission metric to better visualize how the probability of packet loss impacts overall network traffic.

Performance Analysis

The data reveals several important trends in the KTCPSocket performance:

  • Impact of P Value: As the probability of packet loss increases, the number of message transmissions increases exponentially, especially after P = 0.35.
  • ACK Efficiency: The number of acknowledgments sent increases more gradually than message transmissions, suggesting that the ACK mechanism remains relatively efficient even under higher loss rates.
  • Total Network Load: At P = 0.50, the total transmissions are nearly 6 per message, indicating significant overhead for reliable delivery in high-loss environments.