Quality of Service (QoS) is the ability of a network to provide a certain level of performance to a particular type of traffic. QoS is important for real-time applications, such as voice and video, which are sensitive to delay and jitter. QoS is also important for mission-critical applications, which require a high level of reliability.
There are a number of different QoS parameters, but some of the most common parameters are:
- Bandwidth: Bandwidth is the amount of data that can be transmitted over a network in a given amount of time. Bandwidth is measured in bits per second (bps).
- Latency: Latency is the amount of time that it takes for a packet to travel from the source to the destination. Latency is measured in milliseconds (ms).
- Jitter: Jitter is the variation in the delay of received packets. Jitter is measured in milliseconds (ms).
- Packet loss: Packet loss is the percentage of packets that are lost in transit. Packet loss is measured as a percentage.
There are a number of different QoS mechanisms that can be used to provide a certain level of performance to a particular type of traffic. These mechanisms include:
- Classification and marking: Classification and marking is the process of identifying and marking different types of traffic. This allows the network to give different levels of priority to different types of traffic.
- Congestion management: Congestion management is the process of managing the traffic on a network to prevent congestion. Congestion can cause delay, jitter, and packet loss.
- Congestion avoidance: Congestion avoidance is the process of preventing congestion from occurring in the first place. This can be done by using a variety of techniques, such as random early detection (RED).
- Shaping and policing: Shaping and policing is the process of controlling the rate at which traffic is sent into the network. This can be used to prevent a single user from consuming all of the bandwidth.
- Link efficiency: Link efficiency is the process of using the available bandwidth as efficiently as possible. This can be done by using a variety of techniques, such as compression and fragmentation.
There are two main QoS models:
- Integrated Services (IntServ): IntServ is a QoS model that reserves resources on a network for a particular flow of data. IntServ is a connection-oriented model, which means that a connection must be established before data can be transmitted.
- Differentiated Services (DiffServ): DiffServ is a QoS model that uses a priority system to give different levels of service to different types of traffic. DiffServ is a connectionless model, which means that data can be transmitted without establishing a connection.
QoS and Class of Service (CoS) are two different but related concepts. QoS is the ability of a network to provide a certain level of performance to a particular type of traffic. CoS is a method of classifying and marking traffic so that it can be given a certain level of priority.