cpre 458/558: real-time systems

11
CprE 458/558: Real-Time Systems (G. Manimaran) 1 CprE 458/558: Real-Time Systems Real-Time Networks – WAN Channel establishment

Upload: dugan

Post on 05-Jan-2016

29 views

Category:

Documents


0 download

DESCRIPTION

CprE 458/558: Real-Time Systems. Real-Time Networks – WAN Channel establishment. QoS metrics: types of constraint. Metrics and their nature End-to-end delay: additive metric, path metric Delay jitter: additive metric, path metric Bandwidth: convex (min), link metric - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 1

CprE 458/558: Real-Time Systems

Real-Time Networks – WAN

Channel establishment

Page 2: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 2

QoS metrics: types of constraint

Metrics and their nature• End-to-end delay: additive metric, path metric

• Delay jitter: additive metric, path metric

• Bandwidth: convex (min), link metric

• Packet loss: multiplicative, path metric

Theorem: A problem with two or more path constraints is NP-Complete, assuming the constraints are independent and the values are real.

Page 3: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 3

QoS routing problem instances

Given a graph G(V,E), with each edge labeled with (cost, delay, available bw).

• Bandwidth-constrained least-cost routing– Polynomial time problem– Solution: Remove edges that don’t satisfy BW

constraint and then run shortest path algorithm on the reduced graph.

• Delay-constrained, BW-constrained, least-cost routing– NP-complete problem– Heuristics exists

Page 4: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 4

Channel establishment – QoS routing

• Source Routing– Source computes the routing path– Obtaining global state is difficult– Not scalable

• Distributed Routing (hop-by-hop)– Each node decides what is the next hop– Lack of global knowledge inferior paths– Scalable

• Hierarchical Routing– Based on aggregate state information– Scalable (works well for inter-domain routing)– Compromise between source and distributed routings

Page 5: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 5

Source Routing

S

D

Connection 11

•The source has the entire network state information (cost, delay, etc.. of each edge)

Choose the entire path

from source to destination

Page 6: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 6

Distributed / Hop-by-hop Routing

S

D

Connection 11

Page 7: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 7

Hierarchical Routing

S

D

Page 8: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 8

Hierarchical Routing

S

D

Routingbased on precise state

Routing based on precise state

Routing based on aggregate

state

1

Page 9: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 9

QoS Source Routing

S

D

Connection 1

With some QoS

requirements

1

•The source has the entire network state information (cost, delay, etc.. of each edge)

Choose the path from source to destination that

satisfies the QoS requirements based on some heuristic function

Page 10: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 10

QoS Hop-by-hop Connection setup

S

D

Connection 1

With some QoS

requirements

1

No outgoing edge satisfies the required

QoSTherefore, back off

Page 11: CprE 458/558: Real-Time Systems

CprE 458/558: Real-Time Systems (G. Manimaran) 11

Channel establishment – Resource reservation

• Once a feasible path is found, resources such as bandwidth, buffers are reserved along the path

• Resource Reservation Protocol (RSVP)– Receiver-driven protocol– Supports multicast as well as unicast– Provides different type of reservation styles