Frame Relay. Frame Relay: characteristics

Similar documents
QoS in Frame relay networks

QoS in Frame relay networks

QoS in Frame relay networks

Lecture 4 Wide Area Networks - Congestion in Data Networks

What Is Congestion? Computer Networks. Ideal Network Utilization. Interaction of Queues

Congestion in Data Networks. Congestion in Data Networks

(Refer Slide Time: 2:20)

different problems from other networks ITU-T specified restricted initial set Limited number of overhead bits ATM forum Traffic Management

Resource allocation in networks. Resource Allocation in Networks. Resource allocation

Frame Relay Switching Enhancements

Advanced Computer Networks

What is Frame Relay? Frame Relay. Agenda. Frame Relay Basic Topology

Introducing Frame Relay

Chapter 24 Congestion Control and Quality of Service Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Defining QoS for Multiple Policy Levels

QOS in ATM Networks. Traffic control in ATM networks. Layered model. Call level. Pag. 1

What Is Congestion? Effects of Congestion. Interaction of Queues. Chapter 12 Congestion in Data Networks. Effect of Congestion Control

ADVANCED COMPUTER NETWORKS

Scheduling. Scheduling algorithms. Scheduling. Output buffered architecture. QoS scheduling algorithms. QoS-capable router

Network Support for Multimedia

Chapter 24 Congestion Control and Quality of Service 24.1

ATM Quality of Service (QoS)

Traffic control in ATM networks

Frame Relay and Testing with the PFA-35

Unit 2 Packet Switching Networks - II

Congestion Control in Communication Networks

Quality of Service (QoS)

Supporting Service Differentiation for Real-Time and Best-Effort Traffic in Stateless Wireless Ad-Hoc Networks (SWAN)

Lecture 17 Multimedia Transport Subsystem (Part 3)

Module 10 Frame Relay and ATM

UNIT IV TRANSPORT LAYER

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

Data Link Control. Outline. DLC functions

Network management and QoS provisioning - revise. When someone have to share the same resources is possible to consider two particular problems:

Frame Relay. Bigger, Longer, Uncut 2005/03/11. (C) Herbert Haas

MPLS AToM Overview. Documentation Specifics. Feature Overview

QoS Policy Parameters

Teldat Router. Frame Relay

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

TEMPORARY DOCUMENT. Attached is a clean copy of Draft Recommendation X.84. TD 1143 Rev3 is the source document used to produce this clean version.

EC1009 HIGH SPEED NETWORKS (ELECTIVE) (2 marks Questions and answers)

QOS Section 6. Weighted Random Early Detection (WRED)

CS244 Advanced Topics in Computer Networks Midterm Exam Monday, May 2, 2016 OPEN BOOK, OPEN NOTES, INTERNET OFF

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

QoS: Regulating Packet Flow Configuration Guide, Cisco IOS Release 15S

Computer Networking. Queue Management and Quality of Service (QOS)

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Superseded by a more recent version INTERNATIONAL TELECOMMUNICATION UNION

Network management and QoS provisioning - QoS in ATM Networks

Intermediate Traffic Management

Introduction to IP QoS

Episode 5. Scheduling and Traffic Management

Comparing the bandwidth and priority Commands of a QoS Service Policy

The BANDIT can also concentrate and switch multiple sources of Frame Relay traffic simultaneously.

of-service Support on the Internet

Frame Relay. Raj Jain. Professor of Computer and Information Sciences. The Ohio State University. Columbus, OH 43210

Part II. Chapter 6. Frame Relay

Network Model for Delay-Sensitive Traffic

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Multimedia Traffic Management and Congestion Control in Satellite ATM Networks

Rohit Goyal 1, Raj Jain 1, Sonia Fahmy 1, Shobana Narayanaswamy 2

Frame Relay Switching Diagnostics and Troubleshooting

Network Control and Signalling

Lecture Outline. Bag of Tricks

Frame Relay show Command and debug Command Enhancements

Frame Relay. Frame Relay Information 1 of 18

Implementing Enterprise WAN Links

Frame Relay Network Performance

Network Layer Enhancements

Real-Time Protocol (RTP)

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

The Network Layer. Network Layer Design Objectives

Lecture 24: Scheduling and QoS

Rohit Goyal 1, Raj Jain 1, Sonia Fahmy 1, Shobana Narayanaswamy 2

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

TCP/IP over ATM using ABR, UBR, and GFR Services

Random Early Detection (RED) gateways. Sally Floyd CS 268: Computer Networks

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

Quality of Service. Traffic Descriptor Traffic Profiles. Figure 24.1 Traffic descriptors. Figure Three traffic profiles

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

SIMULATION OF PACKET DATA NETWORKS USING OPNET

QoS: Match on ATM CLP

UNIT 2 TRANSPORT LAYER

Configuring QoS Policy Actions and Rules

Congestion control in TCP

Before configuring standard QoS, you must have a thorough understanding of these items: Standard QoS concepts.

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

frame-relay lmi-n391dte

Teldat Router. Frame Relay

ITBF WAN Quality of Service (QoS)

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

IP QOS Theory and Practice. eng. Nikolay Milovanov CCIE SP# 20094

Journal of Telecommunications System & Management

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Chapter 12 Frame Relay

Quality of Service Mechanism for MANET using Linux Semra Gulder, Mathieu Déziel

Byte-Based Weighted Random Early Detection

Improving the Congestion Control over Stateless Wireless Ad Hoc Network Systems

Transcription:

Frame Relay Andrea Bianco Telecommunication Network Group firstname.lastname@polito.it http://www.telematica.polito.it/ Network management and QoS provisioning - 1 Frame Relay: characteristics Packet switching with virtual circuit service Label named DLCI: Data Link Connection Identifier Virtual circuits are bi-directional Connection is associated with the virtual circuit No error control (DL-control is not used even at edge) No flow control LAP-F protocol Packet size: variable up to 4096byte Mainly thought for data traffic Network management and QoS provisioning - 2 Pag. 1

LAPF packet ADDRESS field contains the DLCI (Data Link Connection Identifier) and some additional bits DL-CORE DL-CONTROL FLAG ADDR (MSB) ADDR (LSB) control Information CRC (MSB) CRC (LSB) FLAG Network management and QoS provisioning - 3 DLCI: Data Link Connection Identifier FECN/BECN: forward/backward explicit congestion notification DE: discard eligibility C/R: command/response D/C: DLCI or DL- CORE EA: extension bit ADDRESS field lower DLCI DLCI upper DLCI upper DLCI FECN BECN FECN BECN lower DLCI or DL-CORE control DLCI upper DLCI DLCI C/R DE C/R DE D/C C/R FECN BECN DE lower DLCI or DL-CORE control D/C EA 0 EA 1 EA 0 EA 0 EA 1 EA 0 EA 0 EA 0 EA 1 Default format (2 byte) 3 byte format 4 byte format Network management and QoS provisioning - 4 Pag. 2

Frame Relay: user-network interface Negotiable parameters, a-priori, on a contract basis: CIR (Committed Information Rate) [bit/s] CBS (Committed Burst Size) [bit] EBS (Excess Burst Size) [bit] CIR: guaranteed bit rate (throughput) CBS: amount of data the network is willing to accept over a measurement period T EBS: amount of excess data the network may transfer over T. Packets are marked with the DE bit set to 1 Data exceeding CBS+EBS are directly discarded at network access Network management and QoS provisioning - 5 Frame Relay: measurement interval T definition CIR CBS EBS T > 0 > 0 > 0 CBS/CIR > 0 > 0 = 0 CBS/CIR = 0 = 0 > 0 EBS/Access Rate Network management and QoS provisioning - 6 Pag. 3

Frame Relay: resource allocation Σ A CIR A,j ACCESS_RATE A A A,j _ A where A,j refers to the VC from A to j B A D C Network management and QoS provisioning - 7 Frame Relay: resource allocation Σ A CIR A,j ACCESS_RATE A A A,j _ A where A,j refers to the VC from A to j B A D C Network management and QoS provisioning - 8 Pag. 4

Frame Relay: resource allocation Σ A CIR A,j ACCESS_RATE A A A,j _ A where A,j refers to the VC from A to j B A D C Network management and QoS provisioning - 9 Frame Relay: resource allocation Σ A CIR A,j ACCESS_RATE A A A,j _ A where A,j refers to the VC from A to j B A D C Network management and QoS provisioning - 10 Pag. 5

Frame Relay: resource allocation Σ A CIR A,j ACCESS_RATE A A A,j _ A where A,j refers to the VC from A to j B A D C Network management and QoS provisioning - 11 Frame Relay: resource allocation Σ LINK CIR i,j LINK_SPEED links LINK i,j _ where i,j refers to the VC from i to j B A D C Network management and QoS provisioning - 12 Pag. 6

Frame Relay: resource allocation Σ LINK CIR i,j LINK_SPEED links LINK i,j _ where i,j refers to the VC from i to j B A D C Network management and QoS provisioning - 13 Frame Relay: resource allocation Σ LINK CIR i,j LINK_SPEED links LINK i,j _ where i,j refers to the VC from i to j B A D C Network management and QoS provisioning - 14 Pag. 7

Frame Relay: resource allocation Σ LINK CIR i,j LINK_SPEED links LINK i,j _ where i,j refers to the VC from i to j B A D C Network management and QoS provisioning - 15 Frame Relay: congestion Summation of CIR over all virtual circuits on each link may exceed the available bit rate over a link (overbooking) Creates congestion, potentially a long-term congestion Traffic burstiness may create congestion (typically short term congestion) Need to control congestion? X.25 (ISDN) may exploit link-by-link (hop-by-hop) flow control (and internal switch backpressure) to control (un-fairly) congestion In Internet the congestion control is delegated to hosts running TCP, the network simply drops packets Frame relay, which does not implement flow control, uses explicit signaling from network nodes to signal congestion to users through FECN and BECN bits Network management and QoS provisioning - 16 Pag. 8

Frame Relay: algorithms Policing, or conformance verification Leaky Bucket Token Bucket Congestion control backward forward Network management and QoS provisioning - 17 Conformance verification Basic idea If a packet reaches network access and is conformant to the CBS constraint over T, it is transmitted at high priority with DE=0 If a packet reaches network access and is not conformant to CBS over T but it is conformant to CBS+EBS over T, it is transmitted at low priority with DE=1 If a packet reaches network access and is not conformant to CBS+EBS over T, it is discarded Same algorithms can be used to do shaping Traffic adaptation to make it conformant Delay instead of marking/dropping Network management and QoS provisioning - 18 Pag. 9

As a traffic regulator Leaky Bucket User traffic entering the buffer is transmitted at a maximum CBR rate equal to ρ User traffic exceeding the buffer size B is dropped Any source becomes a CBR source at rate ρ If packet size is fixed When using to do conformance verification, if packets arrives earlier than they should be, with respect to ρ, drop it B ρ Network management and QoS provisioning - 19 Leaky Bucket Buffer size B is not a critical parameter: we can assume infinite buffer size Amount of data sent over a period T is Tρ Dimensioning of parameter ρ for VBR traffic ρ B M : too much traffic could be discarded ρ B P : waste of link bit rate, largely underutilized Traffic regulator which does not admit any burstiness Network management and QoS provisioning - 20 Pag. 10

Token Bucket ρ β Token buffer source network Network management and QoS provisioning - 21 Token Bucket Tokens are generated at a fixed rate ρ A maximum number of β tokens can be stored in the token buffer Permits some burstiness User data are sent over the network only if there is a token available in the token buffer Maximum amount of data send over a period T is Tρ + β The source becomes a VBR source with B M ρ B P = access rate Burst duration β Access to the network can be further regulated with a cascading leaky bucket to limit B P Network management and QoS provisioning - 22 Pag. 11

Token Bucket+ Leaky Bucket Regulates average rate ρ 2, peak rate ρ 1, burst duration β ρ 2 β Token buffer B source network ρ 1 Network management and QoS provisioning - 23 All packets conformant to CBS bits Discard CBS+EBS CBS Access rate CIR DE=1 DE=0 T 0 T 0 +T Frame arrival time Network management and QoS provisioning - 24 Pag. 12

One packet at low priority bits Discard CBS+EBS CBS Access rate CIR DE=1 DE=0 T 0 T 0 +T Frame arrival time Network management and QoS provisioning - 25 One packet discarded bits Discard CBS+EBS CBS Access rate CIR DE=1 DE=0 T 0 T 0 +T Frame arrival time Network management and QoS provisioning - 26 Pag. 13

Measurement problems Measuring a rate of an asynchronous packet flow may be complex Simple solution: Measure over fixed length intervals Interval 1 Interval 2 time When does the interval starts? Border effect between adjacent intervals? Network management and QoS provisioning - 27 Measurements problems Better solution is a temporal sliding window of W seconds When a packet arrives, the rate is measured accounting for the amount of byte received during the last W seconds Difficult to implement (necessary to remember packet arrival times) It is possible to exploit a fluid approximation New rate R estimate at each packet arrival At packet arrival, we assume that the flow has transmitted R*W byte in the last W seconds and the estimate of R is updated Network management and QoS provisioning - 28 Pag. 14

Congestion control Flow control is not supported in Frame Relay The network is unprotected against congestion Only protection mechanism is packet discarding Congestion should not occur if sources are sending at CIR! When a switch (network node) establishes that congestion has occurred, to signal congestion it sets one among two bits: FECN (Forward technique) BECN (Backward technique) Network management and QoS provisioning - 29 Congestion control: goals Avoid packet loss Constraints? Maximum network utilization Fairness Often in contrast Simple case: all flows are alike Fairness means to provide the same set of resources to all flows Over a single bottleneck the problem is trivial Network wide problem Network management and QoS provisioning - 30 Pag. 15

Congestion control: an example 1 2 Link A=10Mb/s Link C=10Mb/s Link B=45 Mb/s 3 Maximize the bit rate received by each flow Flow 1: 5 Mb/s Flow 2: 5 Mb/s Flow 3: 40 Mb/s Maximize the overall network utilization Flow 1: 10 Mb/s Flow 2: 0 Mb/s Flow 3: 45 Mb/s Network management and QoS provisioning - 31 Max-min fairness One possible definition of fairness A bandwidth allocation is defined as max-min if It maximizes the bandwidth allocation to flows who receive the minimum allocation Property: A max-min allocation is such that, to increase the bandwidth allocated to a flow, it is necessary to decrease the bandwidth allocated to another flow which is already a smaller or equal bandwidth In other words, no bandwidth increase can be obtained without penalizing flows already receiving a smaller allocation A max-min allocation cannot be obtained with local assignments A global network view is needed Network management and QoS provisioning - 32 Pag. 16

Max-min fairness: algorithm Given: topology, link capacity, flows and flow routing 1) The algorithm starts with a 0 allocation to all flows, each flow is marked as unsatisfied 2) The allocation of all unsatisfied flows is increased by the same, small, quantity, until a bottleneck link is saturated 3) All bottlenecked flows are saturated, thus, cannot receive a larger allocation Bottlenecked flows are marked as satisfied 4) Goto 2, until all flows are bottlenecked and satisfied Must re-run for any topology or flow modification Network management and QoS provisioning - 33 Max-min fairness: example Problem: find a fair bandwidth allocation to flows, according to the max-min paradigm S1 S2 R R Link 1 Link 2 D1 D3 D5 R R Link 3 Link 4 R 100 Mb/s 34 Mb/s D2 D4 D6 D7 D8 S3 S4 S5 S6 S7 S8 Network management and QoS provisioning - 34 Pag. 17

Max-min fairness: example Order in which links are saturated L1, L4, L3, L2 Solution: fair max-min allocation S1: 45.25 Mbps S2 : 20.75 Mbps S3 : 17 Mbps S4 : 17 Mbps S5 : 37.75 Mbps S6 : 20.75 Mbps S7 : 20.75 Mbps S8 : 20.75 Mbps Network management and QoS provisioning - 35 Forward congestion When a switch detects congestion, it sets the FECN bit to 1 on all arriving packets sharing the congested buffer Congestion signaled to all congested VCs When the congestion indication reaches the receiver, it is redirected to the transmitter on a data flow traveling in the opposite direction The transmitter reduces the transmission speed according to a standardized algorithm Properties: Relatively slow Simple to implement No additional traffic is created, if there is a data flow from receiver to transmitter (normally at least ACKs are sent) Network management and QoS provisioning - 36 Pag. 18

Backward congestion When a switch detects congestion, it sets the BECN bit to 1 on all packets belonging to congested VCs These packets are not stored in the congested buffer! Ad-hoc signaling packets may be generated by the switch if no data traffic is flowing in the opposite direction The transmitter reduces the transmission speed according to a standardized algorithm when it detects packets with BECN=1 Properties: Relatively fast Complex: need to store a list of congested DLCI on the forward path and to wait (or create after a timeout) packets with the proper DLCI on the backward path Network management and QoS provisioning - 37 Source behaviour: FECN The FECN technique is based on the idea that congestion phenomena are relatively slow Transmitter Start transmitting at a speed equal to CIR Computes the percentage of LAP-F frames received with a FECN bit set to 1 (FECN 1 ) over a pre-determined d time interval If FECN 1 is >50%, the emission rate is reduced If FECN 1 is <50%, the emission rate is incremented Network management and QoS provisioning - 38 Pag. 19

Source behaviour: FECN Measuring interval δ=2rtt Rate based transmitter: R INITIAL = CIR if FECN 1 > FECN 0 R New =0.875R Old if FECN 1 < FECN 0 R New =1.0625R Old If not transmitting for T, restart from R INITIAL Window based transmitter: W INITIAL = 1 if FECN 1 >FECN 0 W New =0.875W Old if FECN 1 < FECN O W New = W Old +1 Network management and QoS provisioning - 39 Source behaviour: BECN The BECN technique is based on the idea that congestion phenomena are fast Instantaneous reaction (not based on δ=2rtt) R INITIAL = CIR If a single frame with BECN=1 is received: R N =1/8R O If a single frame with BECN=0 is received: Increase rate Network management and QoS provisioning - 40 Pag. 20

Congestion control: issues Fairness among flows More active flows receive more congestion signals May be ok, since are creating more congestion, but is it max-min fair? Temporarily inactive flows? Signaling frequency Any reaction to congestion signals is constrained by the flow RTT It would make sense to adapt the (congestion) signaling frequency to flow RTT Practically impossible to know flow RTT in network nodes (may be done at the tx/rx side) Connections with shorter RTTs react faster Both when increasing and decreasing rate When congestion is detected (set up congestion bit in the header) Operate on packet reaching the buffer or leaving the buffer? Network management and QoS provisioning - 41 Congestion control: issues How to detect congestion? Measure ingress flow speed in each buffer Over which time interval? Worth complexity given the binary feedback available? Always balance complexity, performance, signaling capability Operates on a flow basis or on traffic aggregate? Threshold on buffer occupancy Instantaneous buffer occupancy Fast, but unstable Typically exploits some hysteresis to avoid switching between congested/noncongested state Average occupancy over a time-sliding measurement window How the window size should be determined? More stable, but slower in reaction Occupancy derivative More precise than occupancy alone» Buffer occupancy of 100 packets should be treated differently if the previous buffer occupancy was 150 or 50 packets Need to define time interval over which evaluate the derivative Threshold value? Close to zero occupancy to exploit most of the buffer size Enough space below threshold to allow for synchronous arrivals and avoid unneeded congestion signals Network management and QoS provisioning - 42 Pag. 21

Congestion control: issues Buffer sizing? Buffer above threshold should increase proportionally to Number of connections involved in congestion Connection RTTs Need to buffer in-flight packets Connection rate Always pay attention to The scenario in which algorithms are compared Network topology (often single bottleneck node examined) Number of flows Flow behavior Difficulty in properly setting parameters If choosing wrong values what happens? How difficult is to set up proper values? Algorithm robustness to parameter setting Algorithm complexity w.r.t. performance gain All parameters (threshold, measurement window, buffer size) could be set off-line or modified at run time Run time modification is worth the effort? Network management and QoS provisioning - 43 Pag. 22