Seeren Cos Junos Module1
Seeren Cos Junos Module1
“Managed unfairness”
ATM
Edge
Fra
me
Rel Core
ay PE1
PE2
Ethernet
PE3
PE4
TDM
Raw
Metro Ethernet
IP/MPLS
ATM/FR
ATM/FR, POS, GE
ATM/FR, POS, GE
VoIP
ATM Voice
Internet Access
• Delay (latency)
• End-to-end delay for data delivery (forwarding, queuing, propagation, serialization)
• Loss
• Percentage of packets not delivered, usually related to congestion
Serialization time taken to clock a packet onto a link, depends on link speed
delay and packet size, can’t do better than line rate. E.g. 1500 byte
packet for oc-48 = 5us
Scheduling/
Queueing time difference between enquiring the packet of the outbound
delay: interface scheduler and the start of clocking the packet onto
the outbound link.
Propagation delay
(Distance)
VoIP
• VoIP packet has to wait for Time “t+x”: Best effort is serviced
and VOIP just arrives
best-effort packet to be
Service
serviced Best effort
VoIP Arrive
VoIP
This happens hop-by-hop Service
STM-1
STM-64
“Bit bucket”
Packet drop
Sender Receiver
Sender Receiver
Applications ACK...maybe
166 [172.16.2.60] [239.239.239.119] 1494 0:00:29.242 0.007.079 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30316,T=317895538,SSRC=2233125814
167 [172.16.2.60] [239.239.239.119] 1494 0:00:29.247 0.005.675 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30317,T=317895538,SSRC=2233125814
168 [172.16.2.60] [239.239.239.119] 1494 0:00:29.253 0.006.041 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30318,T=317895538,SSRC=2233125814
169 [172.16.2.60] [239.239.239.119] 1494 0:00:29.259 0.006.023 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30319,T=317895538,SSRC=2233125814
170 [172.16.2.60] [239.239.239.119] 1494 0:00:29.265 0.006.040 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30320,T=317895538,SSRC=2233125814
171 [172.16.2.60] [239.239.239.119] 1494 0:00:29.271 0.006.061 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30321,T=317895538,SSRC=2233125814
172 [172.16.2.60] [239.239.239.119] 1494 0:00:29.277 0.006.025 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30322,T=317895538,SSRC=2233125814
173 [172.16.2.60] [239.239.239.119] 1494 0:00:29.283 0.006.031 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30323,T=317895538,SSRC=2233125814
174 [172.16.2.60] [239.239.239.119] 1494 0:00:29.290 0.006.036 2000-04-05 12:23:26 RTP: PT=MPV video,SEQ=30324,T=317895538,SSRC=2233125814
[…]
RNC MSC/VLR
UMTS Terrestrial Corporate / VPN’s
Radio Access
Network
UTRAN
HLR
BTS SGSN
Internet
GGSN
Backbone
MS
GW ISP Service
PSTN,ISDN PLMN Co-location
precedence Precedence
VoIP
node PSTN
VoIP
RSVP Reservation from Gateway
Host Receiver (H-323 Gateway)
IP ToS
RFC 791 IP Precedence D T R Reserved
0 1 2 3 4 5 6 7
DiffServ
DiffServ Code Point Reserved
RFC 2474
Recommended codepoints for the four general use AF classes are given
below. These codepoints do not overlap with any other general use PHB
groups.
1. Introduction
The EF PHB can be used to build a low loss, low latency, low jitter, assured bandwidth, end-to-
end service through DS domains.
Loss, latency and jitter are all due to the queues traffic experiences while transiting the
network. Therefore providing low loss, latency and jitter for some traffic aggregate means
ensuring that the aggregate sees no (or very small) queues. Queues arise when (short-term)
traffic arrival rate exceeds departure rate at some node.Thus a service that ensures no queues
for some aggregate is equivalent to bounding rates such that, at every transit node, the
aggregate's maximum arrival rate is less than that aggregate's minimum departure rate.
The EF PHB is defined as a forwarding treatment for a particular diffserv aggregate where the
departure rate of the aggregate's packets from any diffserv node must equal or exceed a
configurable rate. The EF traffic SHOULD receive this rate independent of the intensity of any
other traffic attempting to transit the node. It SHOULD average at least the configured rate
when measured over any time interval equal to or longer than the time it takes to send an
output link MTU sized packet at the configured rate.
Several types of queue scheduling mechanisms may be employed to deliver the forwarding behavior
and thus implement the EF PHB.
1) A simple priority queue [PQ] will give the appropriate behavior as long as there is no
higher priority queue that could preempt the EF for more than a packet time at the configured
rate.(This could be accomplished by having a rate policer such as a token bucket associated
with each priority queue to bound how much the queue can starve other traffic.) Eq Priority
Queueing
2) It's also possible to use a single queue in a group of queues serviced by a weighted round
robin [WRR]scheduler where the share of the output bandwidth assigned to the EF queue is equal
to the configured rate. This could be implemented, for example, using one PHB of a Class
Selector Compliant set of PHBs [RFC2474].
3) Another possible implementation is a CBQ [CBQ] scheduler that gives the EF queue priority up
to the configured rate.
Egress
LSR
Ingress
LSR
CSPF
ERO Egress
PATH LSR
RSVP RESV
Ingress
LSR
Seattle
Chicago New
San York
Francisco
Kansas
City
Los Atlanta
Angeles
Stockholm
London
Paris
Munich
Madrid Geneva
Rome
Problems:
• Wastes a lot of resources.
• Problematic to guarantee for failure
scenarios.
• What happens when the traffic increases?
LSR
LDP/RSVP LDP/RSVP
E-LSP
AF1 AF1
EF EF
EF
LSR
E-LSPs
BE