Top Banner
Mechanisms for Mechanisms for Value Value- Added IP Services Added IP Services Georg Carle Fraunhofer FOKUS / University of Tübingen [email protected] http://www.fokus.gmd.de/usr/carle/ work in collaboration with Tanja Zseby, Sebastian Zander, Henning Sanneck Dagstuhl Seminar on Quality of Service in Networks and Distributed Systems, October 2002 Dagstuhl, October 2002 2 Overview Overview Introduction AAA-based Quality of Service Control Utility/Prize-based Error Control Adaptive Streaming – Related Work – Implementation – Testbed Evaluation Conclusions Future Work
17

Mechanisms for Value-Added IP Services Overview

Mar 22, 2023

Download

Documents

Khang Minh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mechanisms for Value-Added IP Services Overview

Mechanisms for Mechanisms for ValueValue--Added IP ServicesAdded IP Services

Georg CarleFraunhofer FOKUS / University of Tübingen

[email protected]://www.fokus.gmd.de/usr/carle/

work in collaboration with Tanja Zseby, Sebastian Zander, Henning Sanneck

Dagstuhl Seminar on Quality of Service in Networks and Distributed Systems, October 2002

Dagstuhl, October 2002 2

OverviewOverviewIntroductionAAA-based Quality of Service ControlUtility/Prize-based Error ControlAdaptive Streaming– Related Work– Implementation– Testbed Evaluation

ConclusionsFuture Work

Page 2: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 3

IntroductionIntroductionHigh quality IP based streaming is appealing– Video on Demand; Tele-Teaching; TV; Surveillance

Streaming applications suffer from network congestion – Unreliable transport (UDP): Dropouts– Reliable transport (TCP): Hangs/Freezes

Approach 1: “No problem. Just use guaranteed QoS”– L3 QoS (Intserv; Diffserv)

However – guaranteed QoS will not come for free!– Hard reservations are expensive– Need to validate QoS (QoS measurements - also add costs)

How to reduce cost for high quality streaming?Utility-based Error ControlAdaptive Streaming (low cost high quality streaming)

Dagstuhl, October 2002 4

QoSQoS enhanced Continuous Media Servicesenhanced Continuous Media ServicesProvider-viewpoint: AAA-based Quality of Service control– Policy-based QoS support

• QoS provisioning (L3 - DiffServ)• QoS validation: QoS measurements

– Transparent protection of streams on „lossy“ links• Error control middleboxes (L4 - FEC).

– Flexible Unicast/Multicast splitting and merging of streams – Adapting streams for bandwidth/resolution requirements

according to • client connectivity; end system configuration;

personal preferencesApplication viewpoint:– E2E Error Control– Adaptive Streaming

Page 3: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 5

QoS MechanimsQoS Mechanims: : Cost/quality tradeoffsCost/quality tradeoffs

Adaptive Streaming

feedback

feedback

AAAAAA--based Quality of Service Controlbased Quality of Service Control(Provider Viewpoint)(Provider Viewpoint)

Page 4: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 7

Standardisation of AAA ArchitectureStandardisation of AAA Architecture

RTFM (RFC2720-2724)Acct. Management (draft-ietf-aaa-acct-06.txt)Acct. Attributes (draft-ietf-aaa-accounting-attributes-04.txt)Policy-based Accounting (RFC3334 by Zseby/Zander/Carle)

Generic AAA Architecture (RFC 2903)

Manager Reader

MeasurementInfrastructure

AAAAAA

Configuration

AAA Protocol

Billing

Accounting Protocol

Accounting Policies

Transfer Protocol

Accounting Message

Client

ASM

Meter MeterRFCs and Internet Drafts

Dagstuhl, October 2002 8

AAAAAA--based Continuous Media Scenariobased Continuous Media Scenario

Manager Reader

AAAAAAAccounting Protocol

AccountingProtocol

Accounting Policies

Transfer Protocol

Acct.Records

user

ASM

Metering MeteringMetering

PolicyDatab.

Charging &Settlements

CustomerBilling

ApplicationSpecificModule

Router Router

PC

Router

ContentServer

PolicyServer

COPS

ECBooster EC

Booster

Page 5: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 9

Video Server AAA InteractionVideo Server AAA InteractionAAA server

RTSP SETUP (+Auth)

RTSP PLAY

Video Stream

RTSP BYE

AAA Auth RequestAAA Auth Response

200 OK

AAA Acct Request (Stop Record)

AAA Acct Response

AAA Acct Request (Start Record)

AAA Acct Response

200 OK

Session Creation

Session Termination

AuthenticationAuthorization

Accounting

Client / user

Video server

Dagstuhl, October 2002 10

InterdomainInterdomain ScenarioScenario

ASMASM

VideoClientVideoClient

VideoServer

AAALAAAL AAAHAAAHAAA

RTSP Acct

Trust 1

Trust 2

Mobile Node Video Provider Home Network

Trust 3

Page 6: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 11

QoSQoS--enhanced Continuous Media Streamingenhanced Continuous Media Streaming

Policy-based configuration of QoS compontens (routers, booster) Policy-based configuration of measurement infrastructure

SignallingProxy (RTSP)

AAA&PolicyServer

AAA&PolicyServer

User

MM

MediaServer

M M

MAcct.Policy

Database

Acct.Policy

DatabaseECBooster EC

Booster

M: Meter

SignallingProxy (RTSP)

Dagstuhl, October 2002 12

Media Streaming Media Streaming –– an example of a an example of a service bundle service bundle

StreamingServer

(Darwin)

AAA Server

(Radius)AAADB

MPEG4Stream

Fixed LinkWireless Link

RTSPRTP

Wireless Link

Page 7: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 13

Media Streaming:Media Streaming: User PerspectiveUser Perspective

UserRegistration

ReceiveSMS or E-mailconfirmation

Request Live Streamwith Streaming

Client

Enjoy Live Stream

ObserveAccounting Data

You areregisteredfor GloNe

Live Stream!

Utility/PrizeUtility/Prize--based Error Controlbased Error Control(Application Viewpoint) (Application Viewpoint)

Page 8: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 15

Boosters with TariffBoosters with Tariff--Dependent Dependent Service SelectionService Selection

Base layer: MPEG audio/videoError Control (EC) for enhanced reliability:FEC + optional retransmission Utility-Price-Optimiser (UPO) for service selection

ECBooster

EC Booster

Sender

Receiver 1

Receiver 2

Receiver 3

EC Booster

EC Booster

UPO

UPO

UPO

Dagstuhl, October 2002 16

Enabler for Service Selection:Enabler for Service Selection:TFL: Tariff Formula LanguageTFL: Tariff Formula Language

Description of charging formulas and utility curvescontext-free languageMathematical operations (addition, multiplication, etc.)Mathematical functions (exponential function, square root, etc.)Logical functions (AND, OR, NOT)Conditional expressions (if/then/else)Pre-defined charging variablesExample:

# parameter a a = IF(AND(td>=TIME("00:00:00"), td<TIME("05:00:00")), 0.5, IF(AND(td>=TIME("05:00:00"), td<TIME("21:00:00"), 0.8, 0.5))# parameter bb = IF(AND(td>=TIME("00:00:00"), td<TIME("05:00:00")), 0.2, IF(AND(td>=TIME("05:00:00"), td<TIME("21:00:00"), 0.4, 0.2))# tariff formulap = a*tr + b * (sr-tr)

Token DescriptionD DateTD Time of DayT Time/DurationV Volume (Bytes)VP Volume (Packets)TR Token RateSR Service RateBN Normalized Bandwidth

Page 9: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 17

UtilityUtility--PricePrice--Optimizer: Example Optimizer: Example Utility and price only dependent on bandwidthSimple maximum search

0

1

2

3

4

5

6

0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 1Bandwidth/Bandwidth max

Utility/PriceUtilityPrice

)()()(n

nn Bp

BuBUPR =

max)( BBUPSBp nV

Vn ⋅⋅+=

min)( uBu n ≥

with:

max)( pBp n ≤

Dagstuhl, October 2002 18

Error Control Optimization PoliciesError Control Optimization Policies

Optimization policies:

DATA

DATA

DATA

EC

EC

EC

a) SV = const.

c) bw = const.

bwdatamax

bw

bw

b) SV bw

= const

Smallest BW for const. SV(low network load)

Best ratio of SV vs. BW

Best SV for given BW(high network load, or assured bandwidth)

Goal: choose best distribution of error control (proactive/reactive redundancy) for different transmission rounds

Page 10: Mechanisms for Value-Added IP Services Overview

Adaptive StreamingAdaptive Streaming(Application Viewpoint) (Application Viewpoint)

Dagstuhl, October 2002 20

Adaptive Streaming Adaptive Streaming -- GoalsGoalsAssumptions:– Best effort bandwidth will be cheap (flat rate)– Guaranteed bandwidth will be more expensive

(charge per volume - sent/reserved)– ISPs or companies have long term SLAs covering different

service classes (no dynamic re-negotiation)– Important business case: pre-recorded video

(large end-to-end delay budget)Goals– Use the expensive guaranteed classes as little as possible– Utilize best effort class as good as possible– Provide high quality streaming (DVD-like quality)– Provide 100% quality (no dropouts, no freezes)

Page 11: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 21

Adaptive Streaming Adaptive Streaming -- ApproachApproach

1) Reservation

2) Best Effort

3) Adaptive

Costly

No guarantees

Full quality but less expensive

Dagstuhl, October 2002 22

Adaptive Streaming Adaptive Streaming -- ApproachApproachTransport the stream reliably and TCP friendly using Best Effort service (BE)Use bandwidth from a Guaranteed service (G) if BE bandwidth is insufficient (smaller than video bandwidth)Dynamically adjust G bandwidth according to available BE bandwidth, so that there are no buffer underuns or overflows at the receiverIf G bandwidth is insufficient sender rate (and quality) must be decreasedThe algorithm consists of two parts– Sender Rate Control– Adaptive Marking

Page 12: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 23

Adaptive Streaming Adaptive Streaming -- Sender Rate ControlSender Rate ControlThe sender adjust its rate in intervals T according to the rate required by the videoThe server always knows its position in the video streamA receiver playout buffer compensates network bandwidth fluctuationsThe receiver periodically informs the server on playout buffer fill status

Video Position

L

Time T

T

Gradient: Send Rate s

(T, L)

Target

L

The server adjusts the send rate according to the desired video position and receiver buffer fill status

Dagstuhl, October 2002 24

Adaptive StreamingAdaptive Streaming-- Adaptive MarkingAdaptive Marking

Two service classes: guaranteed (G), best effort (BE)A packet is marked with probability p as G class and 1-p as BE classp depends on ratio of the real and optimal sending rate (p increases for decreasing receiver buffer level)A video frame based marking scheme would lead to better performance if G bandwidth is insufficientIf there is sufficient G bandwidth the probabilistic scheme is simpler to implement and produces the same result (100% quality)

Page 13: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 25

Implementation Implementation -- FeaturesFeatures

MPEG-2 over RTP (transport, program)RTCP fast feedbackNew RTCP Application Feedback Messages– Buffer fill, Throughput measured for classes, …

Basic RTSP implementation – play, pause, stop

Text based interface to RTSP engine enables GUI flexibility– Java GUI, Web GUI, Shell Scripts

Dagstuhl, October 2002 26

Implementation Implementation -- OverviewOverview

RTSP Client

Pause Resume

RTP

RTSP

Client

RTSP Library

MPEG Server

Server

MPEG Client

Output

RTSP GUI

RTCP

Page 14: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 27

Implementation Implementation –– Adaptive StreamingAdaptive Streaming

Client sends extended RTCP feedback messages to the serverServer assigns each RTP packet to one class (via the RTP m-bit)Kernel classifier implemented which classifies packets based on RTP m-bit (no control I/F needed)Linux Diffserv is used for marking and schedulingRTP over TCP provides reliability and TCP-friendliness

Dagstuhl, October 2002 28

Implementation Implementation -- ScreenshotScreenshot

Page 15: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 29

Evaluation Evaluation -- TestbedTestbed

VideoServer

RTSP, RTCP

Diffserv Edge

Diffserv CoreMeter

Delay/Loss Emulation

RTP (2 classes)

•MPEG-2 video stream: 8 Mbit/s constant bit rate (DVD)•Routers run Linux 2.4 (DiffServ enabled)•Edge router marks with a DSCP according to the RTP m-bit•2 Classes: Expedited Forwarding (EF) and a best effort (BE)•Congestion emulated by dropping BE packets

Dagstuhl, October 2002 30

Evaluation Evaluation -- Algorithm BehaviourAlgorithm Behaviour

•Mean packet loss: 3%, maximum packet loss: 6% •8 MByte receiver buffer

64% of the video sent over BE (only 36% over G) No application layer losses (100% quality)

Page 16: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 31

Evaluation Evaluation –– Loss Rate ImpactLoss Rate Impact

0

10

20

30

40

50

60

70

80

90

0 2 4 6 8 10 12 14 16Mean Loss [%]

Rat

io G

uara

ntee

d/O

vera

ll [%

]

For small loss rates the gain is quite high while for large loss rates (>10%) the ratio is still over 70% but moving to 100%.

Dagstuhl, October 2002 32

Evaluation Evaluation –– Feedback Frequency ImpactFeedback Frequency Impact

0

10

20

30

40

50

60

0,1 1 10 100

Feedback Frequency [1/s]

Rat

io G

uara

ntee

d/O

vera

ll [%

]

Algorithm looses performance in case of too frequent feedback. The smallest usable frequency is the playouttime of half of the receiver buffer size.

Page 17: Mechanisms for Value-Added IP Services Overview

Dagstuhl, October 2002 33

Conclusions Conclusions -- Adaptive StreamingAdaptive StreamingLightweight flexible experimental MPEG-2 Video Server & Client– RTSP, RTP/RTCP over UDP/TCP – MPEG-2 transport/program payload

Adaptive Streaming Algorithm & Proof of Concept ImplementationEvaluation shows that for mean loss rates up to 10% a substantial amount of bandwidth can be obtained from a best effort service and thus saving guaranteed bandwidth

Dagstuhl, October 2002 34

Future Work Future Work -- Adaptive StreamingAdaptive StreamingImprove the algorithmTest the behaviour with real TCP background trafficIntegrate marking schemes which are based on the video frames to improve performance when overall bandwidth is insufficientOpen loop solution (without receiver feedback)Smooth the usage of the guaranteed bandwidthDerive rules for dimensioning receiver buffer size, feedback intervalInvestigate how much guaranteed bandwidth is needed to satisfy a certain number of clients to be able to create admission control rules Combinations with application-level (MPEG4/H.26L) retransmissions and/or FEC