Professional Documents
Culture Documents
.VCI . , 2 state . /
"
:
(links) , (bandwidth) (buffers) (packets) . .
Quality of service
Quality of Service (QoS) refers to the capability of a network to provide better service to selected traffic.
What is better service?
Data Voice
Switch or Router
1.0M 1.0M
Switch or Router
1.0M 1.0M
Switch or Router
1.0M
Possible Solutions
Overprovisioning Traffic Management Traffic Engineering
predict and engineer
QoS Parameters
Reliability Delay Jitter Bandwidth
Reliability
Measured as Error bit rate Solutions:
CRC (error detecting code) + retransmission (TCP) Error correcting code
Delay
Source of delays:
Buffers Queues Multiplexing Headers Low level technology-specific delays
Half-Duplex
Jitter
Packets from the source will reach the destination with different delays. A packet's delay varies with its position in the queues of the routers along the path between source and destination and this position can vary unpredictably. This variation in delay is known as jitter and can seriously affect the QoS for audio/video
Bandwidth
Representing the available/consumed data communication resources, expressed in bits/second or multiples of it Bandwidth requirement types
Average Bandwidth Constant Bandwidth Minimum Bandwidth
Example
3x1Mb
Line rate - 1Mb/s Our traffic rate - 100Kb/s Max burst rate - 3Mb/s Max burst length - 500ms Min interval between bursts 10s Buffer size 500K [bits] Packet size 1600byte
Excess of traffic = (Max burst rate Line rate) Max burst length Buffer overflow = Excess of traffic Buffer size Our traffic rate Our traffic loss = Buffer overflow Max burst rate Our traffic loss Packet loss ratio = Our traffic rate (Min interval between bursts + Max burst length ) Min Max delay = Buffer size , Line rate Jitter = Max delay Min delay Min delay = Packet size Line rate
Excess of traffic = (3Mbps 1Mbps ) 0.5 sec = 1M [bits ] Buffer overflow = 1M [bits ] 0.5M [bits ] = 0.5M [bits ] 100kbps Our traffic loss = 0.5M [bits ] 3Mbps = 17 k [bits ] Packet loss ratio = 17 k [bits ] = 1.6% 100kbps (10 sec+ 0.5 sec )
3x1Mb
500k [bits ] Max delay Min delay = = 500[ms ] 1Mbps 1600k 8[bits ] Min delay = = 12.8[ms ] 1Mbps Jitter = 500 12.8 = 487.2500[ms ]
Bandwidth effect
Line rate - 2Mb/s Our traffic rate - 100Kb/s Max burst rate - 6Mb/s Max burst length - 500ms Min interval between bursts 10s
Buffer size 500K [bits] Packet size 1600 byte Burst size = 6M/s * 0.5s = 3 M Excess of traffic = 3M 0.5s * 2M/s = 2M Buffer overflow = 2M 0.5M = 1.5M Our Traffic loss = 1.5M/(6M/0.1M) = 25K Packet loss ratio = 25K/ ((10s+ 0.5s)*100K/s) = 2.4% Max delay = 0.5M / 2M/s = 250ms Min Delay = 1600 * 8 / 2 M/s = 6.4 ms Jitter = 250 6.4 = 243.6 ms
Burst size = 3M/s * 0.5s = 1.5 M Excess of traffic = 1.5M 0.5s * 1M/s = 1M Buffer overflow = 1M 1M = 0 Our Traffic loss = 0 Packet loss ratio = 0 Max delay = 1M / 1M/s = 1000ms Min Delay = 1600 * 8 / 1 M/s = 12.8 ms Jitter = 1000 12.8 = 987.2 ms
('
15) .
PING -
QoS -
('
5) .