Quality of Service: Improving QOS in IP Networks
Quality of Service: Improving QOS in IP Networks
Quality of Service
Slide 360
Slide 361
bursts of FTP can congest the router and cause audio packets
to be dropped.
want to give priority to audio over FTP
Slide 362
Slide 364
Slide 363
Slide 365
Summary
Slide 366
Scheduling Policies
Slide 367
Slide 368
Slide 369
Policing Mechanisms
Slide 370
Three criteria:
(Long term) Average Rate (100 packets per sec
or 6000 packets per min??), crucial aspect is
the interval length
Peak Rate: e.g., 6000 p p minute Avg and 1500
p p sec Peak
(Max.) Burst Size: Max. number of packets
sent consecutively, ie over a short period of
time
Slide 371
Integrated Services
Slide 372
Slide 373
Differentiated Services
Differentiated Services
Approach:
Only simple functions in the core, and relatively
complex functions at edge routers (or hosts)
Do not define service classes, instead provides
functional components with which service
classes can be built
Slide 374
Slide 375
Forwarding (PHB)
Forwarding (PHB)
Slide 376
Slide 377
Multimedia Networking
Slide 378
Slide 379
Multimedia in Networks
Fundamental characteristics:
Typically delay sensitive
delay.
But loss tolerant:
infrequent losses cause
minor glitches that can be
concealed.
Antithesis of data
(programs, banking info,
etc.), which are loss
intolerant but delay
tolerant.
Multimedia is also called
continuous media
Streaming stored MM
Clients request audio/video
files from servers and
pipeline reception over the
network and display
Interactive: user can
control operation (similar
to VCR: pause, resume, fast
forward, rewind, etc.)
Delay: from client request
until display start can be 1
to 10 seconds
Classes of MM applications:
Streaming stored audio and
video
Streaming live audio and
video
Real-time interactive video
Slide 380
Unidirectional Real-Time:
similar to existing TV and
radio stations, but delivery
over the Internet
Non-interactive, just
listen/view
Interactive Real-Time :
Phone or video conference
More stringent delay
requirement than Streaming
& Unidirectional because of
real-time nature
Video: < 150 msec acceptable
Audio: < 150 msec good, <400
msec acceptable
Slide 381
best-effort, no guarantees
on delay or delay variation.
Slide 383
Differentiated services
philosophy:
Fewer changes to Internet
infrastructure, yet provide
1st and 2nd class service.
Datagrams are marked.
User pays more to
send/receive 1st class
packets.
ISPs pay more to
backbones to send/receive
1st class packets.
Slide 384
Media player:
removes jitter
decompresses
error correction
graphical user interface
with controls for
interactivity
Slide 386
Slide 387
Some concerns:
Media player communicates
over HTTP, which is not
designed with pause, ff,
rwnd commands
May want to stream over
UDP
Slide 388
Slide 389
Real-Time Protocol
(RTP)
RTP specifies a packet
structure for packets
carrying audio and
video data: RFC 1889.
RTP packet provides
payload type
identification
packet sequence
numbering
timestamping
PC-2-PC phone
PC-2-phone
Dialpad
Net2phone
videoconference
Webcams
Slide 391
Slide 392
Real-time interactive
applications
packet loss
UDP segment is
encapsulated in IP
datagram
datagram may overflow a
router queue
TCP can eliminate loss, but
Slide 394
Slide 395
RTP Example
Consider sending 64
kbps PCM-encoded
voice over RTP.
Application collects
the encoded data in
chunks, e.g., every 20
msec = 160 bytes in a
chunk.
The audio chunk along
with the RTP header
form the RTP packet,
which is encapsulated
into a UDP segment.
RTP Streams
RTP allows each source (for
example, a camera or a
microphone) to be assigned
its own independent RTP
stream of packets.
Slide 396
Slide 398