Fulvio Risso Politecnico di Torino



Similar documents
Flow control on IEEE 802.3x switch

Multi-layer switch hardware commutation across various layers. Mario Baldi. Politecnico di Torino.

Configuration of Cisco Routers. Mario Baldi

June Bridge & Switch. Pietro Nicoletti Piero[at]studioreti.it. Bridge-Switch-Engl - 1 P. Nicoletti: see note pag. 2

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

Data Center Architecture

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

This topic lists the key mechanisms use to implement QoS in an IP network.

Improving Quality of Service

VLAN for DekTec Network Adapters

SSL VPN. Virtual Private Networks based on Secure Socket Layer. Mario Baldi. Politecnico di Torino. Dipartimento di Automatica e Informatica

Turning Copper into Gold

IP SAN Best Practices

Gigabit Ethernet MAC. (1000 Mbps Ethernet MAC core with FIFO interface) PRODUCT BRIEF

Network Considerations for IP Video

A Dell Technical White Paper Dell PowerConnect Team

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Redundancy and load balancing at L3 in Local. Fulvio Risso Politecnico di Torino

Gigabit Ethernet Design

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

Distributed Systems 3. Network Quality of Service (QoS)

VOICE OVER IP AND NETWORK CONVERGENCE

Requirements of Voice in an IP Internetwork

IEEE Congestion Management Presentation for IEEE Congestion Management Study Group

Intel Ethernet Switch Load Balancing System Design Using Advanced Features in Intel Ethernet Switch Family

How to Keep Video From Blowing Up Your Network

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

H3C SR8800 RPR Technology White Paper

Central Office Testing of Network Services

Frequently Asked Questions

Chapter 1 Reading Organizer

Troubleshooting VoIP and Streaming Video Problems

VMWARE WHITE PAPER 1

Region 10 Videoconference Network (R10VN)

Application Note How To Determine Bandwidth Requirements

APPLICATION NOTE 209 QUALITY OF SERVICE: KEY CONCEPTS AND TESTING NEEDS. Quality of Service Drivers. Why Test Quality of Service?

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

Advanced features on Ethernet networks. Fulvio Risso Politecnico di Torino

Quality of Service (QoS) on Netgear switches

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

IP videoconferencing solution with ProCurve switches and Tandberg terminals

Using the ClearSight Analyzer To Troubleshoot the Top Five VoIP Problems And Troubleshooting Streaming Video

Preparing Your IP Network for High Definition Video Conferencing

Fiber Channel Over Ethernet (FCoE)

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

How Router Technology Shapes Inter-Cloud Computing Service Architecture for The Future Internet

How To Switch In Sonicos Enhanced (Sonicwall) On A 2400Mmi 2400Mm2 (Solarwall Nametra) (Soulwall 2400Mm1) (Network) (

Data Center Convergence. Ahmad Zamer, Brocade

Three Key Design Considerations of IP Video Surveillance Systems

hp ProLiant network adapter teaming

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

LANs and VLANs A Simplified Tutorial

Quality of Service in wireless Point-to-Point Links

Dell PowerVault MD Series Storage Arrays: IP SAN Best Practices

Using Industrial Ethernet Networks for PROFInet

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

Leased Line + Remote Dial-in connectivity

High Speed Ethernet. Dr. Sanjay P. Ahuja, Ph.D. Professor School of Computing, UNF

Quality of Service (QoS)) in IP networks

QoS & Traffic Management

The Basics. Configuring Campus Switches to Support Voice

基 於 SDN 與 可 程 式 化 硬 體 架 構 之 雲 端 網 路 系 統 交 換 器

Service Definition. Internet Service. Introduction. Product Overview. Service Specification

QoS issues in Voice over IP

TCP Offload Engines. As network interconnect speeds advance to Gigabit. Introduction to

Intel Ethernet Switch Converged Enhanced Ethernet (CEE) and Datacenter Bridging (DCB) Using Intel Ethernet Switch Family Switches

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Cisco EtherSwitch Network Modules

Transport for Enterprise VoIP Services

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

This is a product of VCCI Class B Compliance

32-bit PCI 10/100/1000Mbps Gigabit Ethernet Card. User s Guide. FCC Warning. CE Mark Warning. VCCI Warning

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

12 Quality of Service (QoS)

Redundancy and load balancing at L3 in Local Area Networks. Fulvio Risso Politecnico di Torino

An Oracle Technical White Paper November Oracle Solaris 11 Network Virtualization and Network Resource Management

Cisco Bandwidth Quality Manager 3.1

4 Internet QoS Management

VOIP QOS. Thomas Mangin. ITSPA - Autumn Seminar 11th October 2012 LEEDS. Technical Director IXLeeds AND THE IXP THE CORE THE EDGE

PC-over-IP Protocol Virtual Desktop Network Design Checklist. TER Issue 2

CSE 123: Computer Networks

Preparing Your IP network for High Definition Video Conferencing

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Redundancy and load balancing at L3 in Local Area Networks. Fulvio Risso Politecnico di Torino

RFC 2544 Testing of Ethernet Services in Telecom Networks

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

July, Figure 1. Intuitive, user-friendly web-based (HTML) interface.

APPLICATION NOTE 210 PROVIDER BACKBONE BRIDGE WITH TRAFFIC ENGINEERING: A CARRIER ETHERNET TECHNOLOGY OVERVIEW

A Guide to Simple IP Camera Deployment Using ZyXEL Bandwidth Solutions

Performance Evaluation of Linux Bridge

Enhance Service Delivery and Accelerate Financial Applications with Consolidated Market Data

ProCurve and Wired and Wireless Voice-over-IP Applications

D1.2 Network Load Balancing

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

Fibre Channel over Ethernet in the Data Center: An Introduction

ALL8894WMP. User s Manual. 8-Port 10/100/1000Mbps with 4-port PoE. Web Management Switch

Encapsulating Voice in IP Packets

Infrastructure for active and passive measurements at 10Gbps and beyond

Chapter 7 Configuring Trunk Groups and Dynamic Link Aggregation

Transcription:

Quality of Service in IEEE 802 LANs Fulvio Risso Politecnico di Torino 1 Based on chapter 8 of M. Baldi, P. Nicoletti, Switched LAN, MG McGraw-Hill, 2002, ISBN 88-386-3426-2 3426 2 and on an existing presentation of Mario Baldi and Piero Nicoletti

Copyright notice This set of transparencies, hereinafter referred to as slides, is protected by copyright laws and provisions of International Treaties. The title and copyright regarding the slides (including, but not limited to, each and every image, photography, animation, video, audio, music and text) are property of the authors specified on page 1. The slides may be reproduced and used freely by research institutes, schools and Universities for non-profit, institutional purposes. In such cases, no authorization is requested. Any total or partial use or reproduction (including, but not limited to, reproduction on magnetic media, computer networks, and printed reproduction) is forbidden, unless explicitly authorized by the authors by means of written license. Information included in these slides is deemed as accurate at the date of publication. Such information is supplied for merely educational purposes and may not be used in designing systems, products, networks, etc. In any case, these slides are subject to changes without any previous notice. The authors do not assume any responsibility for the contents of these slides (including, but not limited to, accuracy, completeness, enforceability, updated-ness of information hereinafter provided). In any case, accordance with information hereinafter included must not be declared. In any case, this copyright notice must never be removed and must be reported even in partial uses. 2

The problem: QoS QoS in traffic forwarding is required when: Limited amount of resources The offered traffic exceeds the capacity of draining data congestion Many other QoS aspects not considered here Resiliency of the network, etc. Input 1 Input 2 Output link Input 3 Network device 3

Do we need QoS in LANs? Usually, LANs are over-provisioned 30-40% of available bandwidth Much cheaper to expand the network than enforce QoS Apparently, no congestion no needs for QoS So, apparently no problems 4

QoS in LANs (1) Some possible scenarios in which we may have troubles Access links (eg (e.g. 1Gbps) Access links Uplink (e.g. Uplink (e.g. (e.g. 1Gbps) 1Gbps) 10Gbps) (1) Backbone not well dimensioned (2) Data transfer from several hosts to a single server (3) Data transfers from a fast host to a slow host 5 Fast/slow may refer to link speed (e.g. 1Gbps toward 100Mbps), CPU capacity, etc.

QoS in LANs (2) Example of congestions that may happen on LANs Micro-congestions on uplinks Emphasized when (uplink speed)/(access speed) ~ 1 Traffic from clients extremely bursty; may affect the traffic sent by other clients in short-term intervals Temporary congestions on clients Mainly present in the old days (long data transfers on slow links) Multiplexing at packet level alleviates the problem Persistent congestions on edge servers Emphasized when (uplink speed)/(access speed) > 1 6

Possible effects when QoS is missing (1) Congestion creates delay variations Receiving timings influence the behavior of sensitive apps Real-time (e.g., voice, telephony, music, video, videoconference) Storage Network with constant delays Network with variable delays 7

Possible effects when QoS is missing (2) Congestion causes dropped packets Small buffers in NIC of edge hosts Isn t TCP Window enough to prevent congestion? Small buffers in switches (e.g. some tens of KB) because Fast memory is costly (here we need SRAM, not DRAM) and power hungry We need to sell boxes at a very low price People believe congestions do not happen and, in case some packets get dropped the transport-layer protocol will recover the error Input Traffic Buffer Output Traffic Network device 8

Possible effects when QoS is missing (3) When packets are dropped TCP can recover the error Timeout and/or fast retransmit Window halved (plus possible timeout) Throughput declines What about if we do not have TCP? UDP (e.g. CIFS, NFS) Other protocols (e.g. FCoE) Interesting, sometimes performance decrease after a network upgrade 9

LAN, QoS and Congestion Congestion depends on different factors Link capacity Network topology Internal architecture of network devices and NIC cards Operating systems (e.g. TCP flavor) Applications and protocols used Congestion is possible in LAN environments Usually micro-congestions, congestions, not massive congestions such as in WAN Do we need QoS mechanisms in LANs? Yes, if we really care about QoS Think carefully if you really need those features 10

Possible solutions to QoS Problems Frames dropped Large buffers may reduce the problem Better congestion control Variable delay Queuing and scheduling algorithms Select the next packet in the buffer in optimal way(?) Sophisticated algorithms offer better control over delay Normally we do not want complicated layer 2 switches Limitation on number of frame contention (admission control) Normally not used in layer 2 switches 11

Possible solutions in IEEE 802 Scheduling-based solution in 802.1p Priority control Valid on all IEEE 802 technologies Congestion control in 802.3x Flow control Valid only on IEEE 802.3 12

13 IEEE 802.1p

Characteristics of the 802.1p standard Very simple solutions that Does not solve the problem Limits the troubles in your network Does not implement QoS, just Priority Characteristics 8 priority it levelsl It does not imply any hierarchical relationship among them, even if the word priority is used Priority level in the VLAN portion, encoded with 3 bits Different (logical) queues for different services At least 2, at most 8 Usually implemented in hardware 14

Tag coding: IEEE 802.1p e 802.1q 6 Destination Address 81-00 6 Source Address 801.Q Tag 2 Length/Type = TPID 3 1 user CFI priority VID (VLAN ID) - 12 bit 2 Tag Control Information 2 Client Length/Type 42-1500 MAC Client DATA PAD Defined in: IEEE 802.3ac IEEE 802.1p (QoS) IEEE 802.1q (VLAN) 15 4 FCS

Priority/traffic association proposed User Priority Description 0 Best Effort (BE) 1 Background (BA) 2 (not defined) 3 Excellent Effort (EE) 4 Controlled Load (CL) 5 Video, < 100ms latency and jitter (VI) 6 Voice, < 10ms latency and jitter (VO) 7 Network Control (NC) 16

IEEE 802.1p recommended aggregation g Code No. Kind of traffic 1 BE 2 BE VO 3 BE CL VO 4 5 BK BE CL VO BK BE CL VI VO 6 BK BE EE CL VI VO 7 BK BE EE CL VI VO NC 17 8 BK ---- BE EE CL VI VO NC

Scheduling IEEE 802.1p recommends fixed priority as traffic/queue association Possibility to use variable priority scheduling algorithms Round robin, weighted round robin, weighted fair queuing Different range equipments can offer different algorithms Configuration commands let to Assign priority value (user priority) to queue Set the scheduling algorithm 18

Who will set the Priority Level in the packet? (1) Network card of the host Several problems What about software configuration? We need VLAN trunking on the Access side Access Switch Several problems We have L2; we should need L3-L4 for proper identification No knowledge about application that generated the packet MAC-based: who will keep the MAC database updated? Usually done based on input port Not very clever, thoughh 19

Who will set the Priority Level in the packet? (2) Some examples of deployment in nowadays networks Switch-based marking (per port) Problematic in case multiple users are connected through the same access link Edge-device marking (per VLAN) Possible when the edge device is trusted Per-port marking Edge device marking (per-vlan) 20

IEEE 802.1p switch functional architecture Filtering Database Sender s port information Receiver s port information 1 2 3 Queues 4 5 6 Frame receipt Frame discard Frame transmission 1 Filtering Frames 2 Enforcing topology restriction (STP) 3 Queueing Frames 4 Selecting frames for transmission 5 Mapping priority 6 Recalculating FCS 21

22 IEEE 802.3x

Characteristics of the 802.3x standard Implements a flow control at the Ethernet level In addition to the Flow control existing TCP level Special PAUSE packet Sent in multicast on a physical link The receiver must stop data transmission on that link for a given amount of time The amount of idle time is specified within the packet This time can be updated (extended or reduced) by another PAUSE packet In case of a switch, the other links still receive/send data 802.3x defines also the Full Duplex mode Not presented in these slides 23

IEEE 802.3x Flow Control: example Slow computer Fast computer Interface s buffer To the OS Send Pause Pause threshold Buffer saturation 24

PAUSE packet 1 octet 6 octets Destination Address (01-80-C2-00-00-01) 6 octets 2 octets t 2 octets 2 octets Source Address Lenght/Type = 8808 OpCode = 00-01 (PAUSE) Pause_time (pause-quanta) 42 octets PAD (all 0s) 4 octets FCS 25

Pause time Defined in number of pause-quanta Values from 0 to 65535 Asinglepause-quanta: 512 bit time Transported in the pause_time field Total pause time (in bit times) <=100 Mb/s T-Pause = pause-quanta * 512 >100 Mb/s T-Pause = pause-quanta * 512 * 2 26

IEEE 802.3x: flow control modes Two flow control mechanisms: asimmetric mode only one equipment sends pause packet, the other just receives thepacket and stop transmitting simmetric mode both equipments at link s edge can transmit and receive the pause packet Configurable at each edge device Configuration should be coherent on both sides An auto-negotiation phase will determine the actual configuration on each link 27

Sending the PAUSE packet (1) Simple for an host OS-independent (the hardware does it all) Although the NIC/OS interaction may prevent the generation of PAUSE packets Livelock in the OS kernel DMA RAM PCI Bus CPU IRQ Host NIC 28

Sending the PAUSE packet (2) May be problematic for aswitch Key question: who is the responsible for a queue that starts growing? Input-buffered switch: simple Output-buffered switch: all IN ports that have packets in the output queue? Switching matrix congested: all IN ports? Several commercial switches accept a PAUSE packet (and block transmission on that port), but cannot send it Cannot be modified by configuration Pause 29 Switch with congested switching matrix

Effects of Flow Control in the network The PAUSE packet is per link May be fine in end-hosts, may be problematic in backbone networks The network may experiment complete blocks for some time The effect of a bunch of slow stations in the network Pause 30

Realistic approach in 802.3x deployment (1) Asymmetric flow control on the access network Hosts can pause the network, but not viceversa No flow control in the backbone Characteristics We can cope with temporary congestions on input buffers of station s network interfaces Does not block the entire network in case of a bunch of slow stations Does not solve entirely the problem, but it may be useful anyway 31

Realistic approach in 802.3x deployment (2) Asymmet tric Flow Control No Flow Control Asymme etric Flow Control Asymmetric Flow Control 32

Conclusions (1) QoS is potentially anicefeature QoS issues are possible even in LAN Small buffers, mismatch in link speed (access vs uplink), micro- congestions, server bandwidth Good for Voice, Storage QoS is just one of the problems to consider Resiliency 33

Conclusions (2) Problems 802.1p Interoperability between different vendors Lack of flexibility for marking (mainly per-port) 802.3x Realistic approach: edge only Full-features approach Who is the responsible for the congestion Blocks in the backbone network Do we really need QoS? Or, can we just stay with some congestions in the network? 34