Watch: Understanding QoS Concepts
Materials
Quality of Service (QoS) refers to the ability of a network to provide differentiated handling and performance to various types of traffic. In modern communication systems—especially where real-time applications like voice, video, and data coexist—QoS ensures that critical services receive the bandwidth, delay, and reliability they require.
In this simulation-based project, we model a network output link shared by multiple traffic flows (VoIP, Video, and Data). Each flow generates packets at specific rates (determined by packet size and inter-arrival time) and is subjected to the selected scheduling discipline. The simulator manages packet arrivals, queueing, and transmission while computing essential QoS metrics such as throughput, delay, jitter, and packet loss.
The theoretical foundation of this system lies in queueing theory and packet scheduling algorithms. A queue represents the waiting line of packets contending for transmission on a shared link. Depending on the scheduling strategy, packets are either served in arrival order, by strict priority, or according to weighted fairness. The simulator demonstrates how these policies impact the end-to-end service quality of each traffic type.
Scheduling Algorithms Explained
- FIFO (First-In First-Out): The simplest discipline, where packets are transmitted in the order they arrive. Although easy to implement, FIFO does not differentiate between traffic classes, meaning high-priority traffic (e.g., VoIP) may experience unacceptable delays if low-priority flows dominate the link.
- PQ (Priority Queuing): Each traffic class is assigned a priority level. The scheduler always serves the highest-priority queue first. While this guarantees low delay for critical flows, it can cause starvation of lower-priority traffic under heavy load.
- WFQ (Weighted Fair Queuing): A fairness-oriented scheduler that allocates bandwidth proportionally to each flow’s weight. Implemented here via Deficit Round Robin (DRR), WFQ approximates fair bandwidth distribution while accounting for variable packet sizes. This ensures balanced performance across flows with minimal starvation.
Each scheduler impacts performance differently. For instance, VoIP requires low delay (<150 ms) and low jitter (<30 ms), Video demands higher throughput but moderate delay tolerance, and Data transfers (like FTP or downloads) can tolerate higher delay but require reliability. The simulator evaluates whether each flow meets its QoS thresholds based on measured metrics.
Overall, this model offers a clear, visual way to understand how buffering, queue management, and scheduler choice influence QoS metrics. It bridges the gap between theory and practical understanding, making it valuable for students, researchers, and professionals studying computer networks.
How We Built This
The QoS Parameter Analyzer was developed as an educational tool to visualize and analyze the impact of scheduling on network performance. The interface follows a modern, Fluent-inspired design with accessibility and responsiveness as key principles.
- Designed a clean and responsive user interface using HTML5, CSS3 (Flex & Grid), and accessible semantics for screen readers.
- Implemented a discrete-event simulation engine to handle packet generation, queueing, and service under FIFO, PQ, and DRR-based WFQ scheduling policies.
- Each packet event tracks timestamps for arrival, queueing delay, and departure to compute precise QoS metrics.
- Visualized performance results (throughput, delay, jitter, loss) using the Canvas 2D API with threshold-based coloring to show compliance.
- Enabled users to download detailed reports (in pdf) summarizing simulation parameters and computed metrics.
- Ensured cross-device compatibility and keyboard navigation to support all learners effectively.
References
- Kurose, J. F., & Ross, K. W. (2021). Computer Networking: A Top-Down Approach (8th ed.). Pearson Education.
- Tanenbaum, A. S., & Wetherall, D. J. (2011). Computer Networks (5th ed.). Pearson Prentice Hall.
- RFC 4594. (2006). Configuration Guidelines for DiffServ Service Classes. Internet Engineering Task Force (IETF).
- RFC 3393. (2002). IP Packet Delay Variation Metric for IP Performance Metrics (IPPM). IETF.
- Stallings, W. (2017). Data and Computer Communications (10th ed.). Pearson.
- Floyd, S., & Jacobson, V. (1993). Random Early Detection Gateways for Congestion Avoidance. IEEE/ACM Transactions on Networking, 1(4), 397–413.


