21
R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with Matthias Scheidegger, Marco Studer, Ruy de Oliveira Computer Networks and Distributed Systems Institute of Computer Science and Applied Mathematics University of Bern, Switzerland www.iam.unibe.ch/~rvs COST 279 Mid Term Seminar, January 22, 2004, Rome

End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Embed Size (px)

Citation preview

Page 1: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

RVS

End-to-End Mechanisms for QoS Support in Wireless Networks

Torsten Braunjoint work with Matthias Scheidegger, Marco Studer, Ruy de Oliveira

Computer Networks and Distributed SystemsInstitute of Computer Science and Applied Mathematics

University of Bern, Switzerland

www.iam.unibe.ch/~rvsCOST 279 Mid Term Seminar, January 22, 2004, Rome

Page 2: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

2/21

RVS

Overview§ Motivation

l IEEE 802.11 Wireless LANs

§ End-to-End Probing and Service Selectionl Experimental Results

§ Endpoint Admission Controll Simulation Resultsl Virtual Dropping and Out-of-Band Marking

§ TCP in Wireless Multi-Hop Networksl RTTs in Wireless Multi-Hop Networksl Fuzzy Logic for TCP Congestion Controll Future Work

§ Conclusions

Page 3: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

3/21

RVS

Motivation§ Increasing multimedia application requirements,

but:l limited resources in wireless networksl limited QoS support in wireless LANs / IP networks

§ This requires additional mechanisms in end systems such as l end-to-end probing / admission controll application / end-to-end (e2e) protocol adaptation

Page 4: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

4/21

RVS

IEEE 802.11 Wireless LANs§ CSMA/CA § Acknowledgements and retransmissions

(default: 4) on MAC levell Link errors can often be repaired but may lead to

congestion in retransmitting nodes → prioritization l Packet loss due to link errors or due to congestion

§ Nodes far from access point can reduce available bandwidth.

Page 5: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

5/21

RVS

E2E Probing and Service Selection§ Assumptions

l 2 services (high / low) availablel High service costs more than low service.

§ Approach [IPCCC 2002]l Select low service whenever appropriatel Switch to high service whenever low service is not

sufficient to meet application requirements§ Examples: bottleneck due to overload or high link error rate

l Switch back from high to low service as soon as low service is good again§ This requires parallel monitoring of low service quality

(2 % probing traffic)§ Implementation with RTP/RTCP

l Oscillations → random probing periods, hysteresis

Page 6: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

6/21

RVS

Experiment

sender

router

receiver

loadgenerator

100 %

PCM audio

Background traffic

t

load

Page 7: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

7/21

RVS

Results§ Application reacts

rather quickly and selects cheapest appropriate service.

§ Further experiments with more service classes and additional metrics (jitter, delay) Service

Loss rateMonitoredlow serviceloss rate

Overload

Sequencenumbers

Time (s)

High

Low

Page 8: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

8/21

RVS

Endpoint Admission Control (EAC)§ Idea

l Edge devices (e.g., end systems or access routers) measure impact of probing traffic prior to data transmission.

l Data transmission will only be started if sufficient QoS can be expected, e.g. loss < ε.

§ Classification [Breslau et al., SIGCOMM 2000]l Probing traffic can be transmitted with the same (in-band) or

with a different priority / service (lower than data but higher than best-effort, out-of-band)

l Routers can mark (e.g., explicit congestion notification) or drop probing traffic.

l 4 combinations§ in-band dropping§ out-of-band dropping§ in-band marking§ out-of-band marking

l Options: § slow start (several short intervals with increasing probing rate),

early reject (several short intervals), simple (one interval)

Page 9: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

9/21

RVS

EAC Results§ Validation of results [Breslau 2000]: ns simulation of 10 Mbps link§ Admission controlled traffic modelled by Poisson arrival process

with average inter-arrival time γ = 3.5 s § Flows have exponential lifetime with average = 300 s§ Default traffic sources: exponential on/off times (500 ms),

burst rate = 256 kbps, packet size = 125 bytes§ Probing time = 5 s, slow start probing with 1 s intervals

loss probability

utilization

ε = 0, 0.01, 0.02, 0.03, 0.04

Page 10: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

10/21

RVS

Virtual Dropping§ Marking: Simulation of a virtual queue with 90%

bandwidth and marking those packets that would have been dropped by the virtual queue§ Idea: do not mark but drop those packets

→ virtual droppingl This can only be applied to out-of-band marking.

Otherwise regular data packets would be dropped.

§ [Breslau et al. 2000] claims without evaluation that „one could easily achieve exactly the same results doing out-of-band virtual dropping instead of out-of-band marking“

Page 11: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

11/21

RVS

Virtual Dropping / Out-of-Band Marking

star wars tracePareto on/off (500 ms), burst rate 256 kbps

exponential (on: 125 ms), burst rate 1024 kbps

Page 12: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

12/21

RVS

Virtual Dropping / Out-of-Band Marking§ Out-of-band marking / virtual dropping

allow to detect service unavailability earlier. § Both behave similar but NOT exactly the same:

Higher utilization and loss probability for virtual dropping than for out-of-band marking due to several reasons: l Virtual dropping reduces congestion level slightly. l Higher probability that virtual dropping might not

detect losses at the end of the probing phase.

§ Differences are smaller for periods with rather high overload.

Page 13: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

13/21

RVS

TCP in Wireless Multi-Hop Networks§ Bad TCP performance because congestion

control window is decreased for each lost packet even if caused by wireless link errors or by mobility§ TCP should be able to distinguish packet loss

caused by network overload and caused by other reasons.

Page 14: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

14/21

RVS

TCP in Wireless Multi-Hop Networks§ Most approaches are based on special functions in the

network or TCP extensions: l TCP-Feedback / Explicit Link Failure Notification:

nodes notify sender about packet loss reason. l ATCP distinguishes loss reasons based on ICMP error

messages and explicit congestion notificationsl TCP DOOR receiver reports to signal out of order events to the

sender in order to avoid slow start. § Problems

l Mechanisms require new functionality in network nodes or TCP protocol changes

l Security problem: Can a TCP sender trust each intermediate node ?

Page 15: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

15/21

RVS

RTTs in Wireless Multi-Hop Networks§ Goal

l Design a reliable congestion control algorithm without special network feedback or protocol extensions

§ Approachl Observe round trip times

(RTTs) to decide whether a packet has been lost due to congestion or due to link errors

§ Probleml RTTs might have a very high

variance in wireless networks.l Reasons

§ MAC level retransmissions§ Mobility of nodes§ Changing routes§ Congestion § ...

3 hops

2 hops

Page 16: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

16/21

RVS

Fuzzy Logic for TCP Congestion Control§ Fuzzification

l Mapping of (discrete) input values to membership functions with smooth transition from 0 to 1.

l Determination of RTT mean and delay variance parameters (t0, t1, Tmax)

§ Inferencel Application of (here: 9)

predefined fuzzy rules to mapped inputs

l Min-max inference method

§ Defuzzificationl Results of rules are

accumulated to discrete output value

l Gravity-of-mass method for calculating final result

S M L

CongestionBit ErrorBit ErrorLarge

CongestionUncertainBit ErrorMedium

CongestionCongestionBit ErrorSmall

LargeMediumSmall

Del

ayva

rianc

e

Mean Delay

t0 t1 Tmax t / δt0

1

0 10.5Bit Error Uncertain Congestion

Mem

bers

hip

Mem

bers

hip

0

1

Page 17: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

17/21

RVS

Accuracy of Status Detection§ Simulation experiments with ns-2, stationary 3-hop-scenario§ Fuzzy logic engine collects RTT samples and decides whether link is

l bit erroneousl congested l both

§ Accuracy increases with the number of samples considered, in particular for bit errors. [NEW2AN 2004]

Page 18: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

18/21

RVS

Detection of Congestion§ Simulation experiment:

l Low packet error rate: 0 - 5 %l Generation of congestion

§ Fuzzy engine detects congestion faster than TCP. [WCNC 2004]

Page 19: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

19/21

RVS

TCP Performance§ Experiment: 10 % packet error rate, no congestion§ Increased TCP performance, because congestion

control does not become active for link errors [WCNC 2004]

Page 20: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

20/21

RVS

Future Work§ Automatic parameter determination§ Mobility§ More simulations with various scenarios

§ Additional metrics§ Improved algorithms

Page 21: End-to-End Mechanisms for QoS Support in Wireless Networksbraun/pdf_zip/cost279.pdf · R V S End-to-End Mechanisms for QoS Support in Wireless Networks Torsten Braun joint work with

Janu

ary

22, 2

004

T. B

raun

(U B

ern)

: E2E

Mec

hani

sms

for Q

oS S

uppo

rt in

Wire

less

Net

wor

ks

21/21

RVS

Conclusions§ End-end mechanisms are often necessary

to adapt applications and protocols in dynamic network environments.

§ Smart algorithms might help to improve application performance.