Class 1
Class 1
CLASS 1
INTRODUCTION
About the instructor
• Name: Guilherme IECKER RICARDO
• Office : F-402
• Email : [email protected]
• Web page : http://irit.fr/~Guilherme.Ricardo
COURSE
PRESENTATION
Course Material
• No textbook !
• Moodle : N8EN18A - Qualité de Service
• Course slides
• TP and TD handouts
• Additional resources (e.g., papers, software)
Course Organization
Class Data Time Topic
CM1 24/01/2024 16h15 - 18h00 Networking, traffic characteristics and fairness
CM2 08/02/2024 08h00 - 10h00 Classification, Marking, and Congestion avoidance
CM3 13/02/2024 14h00 - 15h45 Policing, Shaping, and Scheduling
CM4 14/02/2024 14h00 - 15h45 Traffic Engineering: MPLS and RSVP
R: 08h00 - 09h45
TD 16/02/2024 -
A: 16h15 - 18h00
R: 01/03/2024 14h00 - 15h45
TP1 TCP Flows and Congestion Control
A: 01/03/2024 16h15 - 18h00
CM5 05/03/2024 10h15 - 12h00 QoS in modern mobile networks
R: 06/03/2024 14h00 - 15h45
TP2 Packet Processing and Queuing
A: 08/03/2024 08h00 - 09h45
Éxamen 22/03/2024 10h15 - 12h00 -
Before we start...
Objectives:
• Review of fundamental network
operations and performance
indicators
• Different traffic characteristics
• Definition of QoS
RECAP OF L3
NETWORKING
The Internet Networking Model
Layered Abstraction of End-to-End Communication
μ
λ
Managing Output Queues Parameters:
• Service rate (output link capacity)
Parameters and Scheduling • Number of queues
• Queue(s) size
• Arrival rate
μ
λ
Guaranteed Delivery • Every generated packet is delivered to the destination host, eventually
In-Order Delivery • Packets arrive at the destination in the order that they were sent
Minimal-Rate Delivery
Secure Delivery
Network Service Models
Example: Internet’s Service Model
Minimal-Rate Delivery
Secure Delivery
NETWORK TRAFFIC
CHARACTERISTICS
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Definition: Link’s capacity, commonly (and wrongly) referred to as bandwidth, is the maximum data rate
achievable in a given link. Simply put, it is the link’s speed. Capacity is measured in bits per second (bps).
𝑆
𝑅 = 𝐵∙ 𝑙𝑜𝑔2 1+
𝑁
R: Capacity [bps]
B: Bandwidth [Hz] What is the difference between
S: Transmission power [W] bandwidth and capacity?
N: Noise and Interference [W]
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Definition: End-to-end throughput, is the speed, in bits/s, at which a client host receives data from the
server. It is bounded by the link with the smallest capacity in the communication path, which is called a
bottleneck link.
𝑇 = 𝑚𝑖𝑛 𝑅𝑠 ,𝑅𝑐
𝑇 = 𝑚𝑖𝑛 𝑅𝑖
𝑖=1,...,𝑁
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Bottlenecks can also be formed when multiple data flows simultaneously share the link.
Answer:
- If R is sufficiently large, R >> Rc and R >> Rs,
then:
T=min(Rc, Rs).
(constant)
dProc L
i dTrans
i,j =
Ri,j
L: Packet size [bits/packet]
Queuing Propagation
Delay Delay
dQueue
i,j (later) Prop
di,j =
disti,j
c
c: Speed of light 3.0∙108m/s
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Special case: The queuing delay is sensitive to the experienced traffic intensity ρi,j going through link (i,j).
dQueue
i,j
L∙a
ρi,j =
Ri,j
Queue Prop
dE2E = dNodal
i = dProc
i + d i,i+1 + d Trans + d
i,i+1 i,i+1
i∈Fs→c i∈Fs→c
The time it takes to get from a source to the destination and back is called the round-trip delay, commonly
referred to as RTT (round-trip time).
RTT = dNodal
i + dNodal
j
i∈Fs→c j∈Fc→s
Characteristics of Network Traffic
Throughput Delay Jitter Loss
x3 x2 x1
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Example:
x3 x2 x1
For packet i=2, dE2E (2) = 30ms. Jitter(2) = dE2E (2) − dE2E (1) = 30 − 20 = + 10ms (Dispersion)
For packet i=3, dE2E (3) = 10ms. Jitter(3) = dE2E (3) − dE2E (2) = 10 − 30 = − 20ms (Clumping)
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Definition: Average jitter is the variance of one-way delay in a stream of packets in seconds (s).
Let X be a random variable capturing the inter-arrival time between two consecutive packets of the
same flow. Consider that its expected value Ε[X] and its variance Var[X] are known.
x3 x2 x1
In practice, if X={x1,..., xN} is the sample space containing the inter-arrival time of N packets, Jitter is
the sample variance S2X, i.e.,
S2X = 1 ∑ N
i=1 x i − x 2, where x = 1 ∑ N
i=1 x i
N N
Characteristics of Network Traffic
Throughput Delay Jitter Loss
Definition: The percentage of packets that are dropped due to full queues is called packet loss.
dQueue
i,j
Simple Instruction-Response
Application: SSH
Steps:
• Analog-Digital converter Codec
• Generate digital voice data
• Encapsulate data with IP/UDP/RTP headers
A few statistics:
• 1 s of voice data = 50 datagrams
• 24 - 80 kbps of required throughput
• Analog sound is digitized every 20ms
C2 8 9 4 C4
1 3
C3 2
S
Quality of Service
Definition: Quality of Service (QoS) is the description of performance
requirements for different traffic types. It also refers to the set of
• Architectures,
• Mechanisms, and
• Protocols
that are used to meet these requirements.
Requirements:
• E2E delay < 150ms
• Jitter < 30ms
• Loss < 1%
Wrapping up