Flow control on IEEE 802.3x switch



Similar documents
Fulvio Risso Politecnico di Torino

Ethernet/IEEE evolution

Configuration of Cisco Routers. Mario Baldi

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

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

Data Center Architecture

Troubleshooting and Auto-Negotiation Features for IMC Networks Media Conversion Products

IEEE frame format

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

Gigabit Ethernet: Architectural Design and Issues

Gigabit Ethernet. Today a number of technologies, such as 10BaseT, Auto-Negotiation

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

WHITE PAPER : TROUBLESHOOTING FEATURES for Media Conversion Products

Introduction to Ethernet

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

Advanced features on Ethernet networks. Fulvio Risso Politecnico di Torino

INTRODUCTION TO 100BASE-T: FAST (AND FASTER) ETHERNET

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

10/100 Mbps Ethernet MAC

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

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

Data Link Protocols. TCP/IP Suite and OSI Reference Model

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

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

11/22/

Gigabit Ethernet. Abstract. 1. Introduction. 2. Benefits of Gigabit Ethernet

Chapter 7 Low-Speed Wireless Local Area Networks

User Guide. MC100CM MC110CS Fast Ethernet Media Converter. MC111CS MC112CS WDM Fast Ethernet Media Converter

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

HP ProCurve High-Speed Transceivers Installation Guide

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

MICROSENS Media Converter 10/100/1000T to Gigabit Fiber

Things You Must Know About Gigabit Ethernet 1. Understanding Gigabit Ethernet

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

Ethernet. Ethernet. Network Devices

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

A Dell Technical White Paper Dell PowerConnect Team

Gigabit Switching Ethernet Media Converters - Product User Guide

Data Link Layer. Page 1. Ethernet

RFC 2544 Testing of Ethernet Services in Telecom Networks

This is a product of VCCI Class B Compliance

Local-Area Network -LAN

How To Use A Network Instrument Ntap

4-Port 10/100Mbps with PoE + 1-Port 100FX Industrial Ethernet Switch Wide Temperature

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

PROFINET Diagnostics Software and Tools

Based on Computer Networking, 4 th Edition by Kurose and Ross

DATA COMMUNICATION AND NETWORKS

CMA5000 SPECIFICATIONS Gigabit Ethernet Module

D-Link DES-1024D 24-Port 10/100Mbps Ethernet Switch. Manual

8-port 10/100Base-TX +2-port 100Base-FX Switch. User s Guide

High-Level Data Link Control

Mathatma Gandhi University

USER S MANUAL. Ethernet 10/100 Transceiver Series DL221/DL221A

COMPUTER NETWORK TECHNOLOGY (300)

Fiber Optic Connectivity SECURITY SURVEILLANCE SOLUTIONS. ComNet Managed Ethernet Switches

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Copper to Fiber Stand-Alone Media Converter. Quick Installation Guide

Contents. Connection Guide. What is Dante? Connections Network Set Up System Examples Copyright 2015 ROLAND CORPORATION

FOUNDATION Fieldbus High Speed Ethernet Control System

DES-1005P 5-Port 10/100Mbps with 1-Port PoE Unmanaged Switch

4-Port 10/100Base-TX with PoE + 1-Port BNC / RJ-11 Industrial Ethernet Extender

Adhoc Contributors. Nader Vijeh

Ethernet is Moving out of the Office into Harsh Industrial Environments.

COMPUTER NETWORKS - LAN Interconnection

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Security & Surveillance Cabling Systems

iseries Ethernet cabling and configuration requirements

Region 10 Videoconference Network (R10VN)

Communication Systems Internetworking (Bridges & Co)

Controlled Random Access Methods

ETHERNET. The Technology and a Polemic History. Jim Jackson University of Leeds School of Computing

Industrial Networks & Databases

Chapter 5. Data Communication And Internet Technology

Frame Burst Adjusting for Transmitting Video Conference in Gigabit Ethernet

IEEE p1394c: 1394 with 1000BASE-T PHY Technology. Kevin Brown

Carrier Ethernet: New Game Plan for Media Converters

AT-S60 Version Management Software for the AT-8400 Series Switch. Software Release Notes

Network Categories. Network Types for the Local Range. Ethernet

By: Mohsen Aminifar Fall 2014

Network Instruments white paper

FSW-0505TX/0805TX 5/8 Port SOHO 10/100Mbps NWay Switch FSW-0505TX FSW-0805TX. 5/8 Port SOHO 10/100Mbps NWay Switch. User s Manual. (Revision 1.

Virtual LANs. or Raj Jain

10 Gigabit Ethernet (10GbE) and 10Base-T - RoadMap

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Tools for Building a Better Network

Ring Local Area Network. Ring LANs

Contents. Load balancing and high availability

CSCI 362 Computer and Network Security

VMWARE WHITE PAPER 1

Network Categories. Network Types for the Local Range. Ethernet. Carrier Sense Multiple Access

AT-2916SX AT-2931SX AT-2972SX AT-2972SX/2 AT-2972T/2

MICROSENS. Installation Switch with PoE (5x10/100Base-TX) and fiber uplink (1x100Base-FX) General. Features

The OSI and TCP/IP Models. Lesson 2

Ten top problems network techs encounter

Analyzing Full-Duplex Networks

Advanced Network Services Teaming

Transcription:

Flow control on IEEE 802.3x switch Mario Baldi Politecnico di Torino mario.baldi[at]polito.it staff.polito.it/mario.baldi Pietro Nicoletti Studio Reti piero[at]studioreti.it www.studioreti.it Based on chapter 8 : M. Baldi, P. Nicoletti, Switched LAN, McGraw-Hill, 2002, ISBN 88-386-3426-2 08_SwFlowContr -

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. 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. 08_SwFlowContr - 2

Half or full duplex? LANs are intrinsecally half-duplex: Only a station at a time can transmit Switching strongly reduces shared medium role: often transmissive medium become point to point: only a station is linked to switch Point to point transmissive media can be full-duplex: both stations can transmit at same time Trasmissions take place on different physical channels 08_SwFlowContr - 3

Full duplex and 802.3x standard 802.3x standard define full duplex functioning modes Modes are negotiated between equipment and stored in the 4 th register Technology Ability Field D0 D D2 D3 D4 D5 D6 D7 D8 D9 D0 D D2 D3 D4 D5 rsvd rsvd rsvd rsvd rsvd FD HD PS PS2 rsvd rsvd rsvd RF RF2 Ack NP 0 Half Duplex 0 Full Duplex 0 0 No error, Link OK 0 Offline 0 Link Failure Auto-Negotiation Error 08_SwFlowContr - 4

Full duplex functioning modes MAC CSMA-CD is no longer used Packets are immediately transmitted by Ethernet stations without sensing the channel Always used on switch-switch links, less on switchstation links Special transceiver are needed because collision mustn t be detected: ordinary transceiver send a collision signal to the interface when contemporary TX and RX activities are present Distance between two Ethernet full-duplex station depends on transmissive channel features only is independent from collision diameter domain 08_SwFlowContr - 5

Half and full duplex transceivers DO CI DI Coll. detect TX RX TX RX Coll. detect DI CI DO links between traditional transceiver MAU CABLE MAU DO CI DI Coll. detect TX RX TX RX Coll. detect DI CI DO links between Full-Duplex transceiver MAU CABLE MAU DO = Data Output DI = Data Input CI = Collision Input 08_SwFlowContr - 6

Distance limits In full-duplex Ethernet : 00 m for telephone twisted pair 2 Km for 62.5/25 µm multimode optic fiber in case of monomode optic fiber and transceiver equipped with category II laser (as in FDDI and Fast-Ethernet), the maximum distance can be 50 Km in Gigabit Ethernet with high power laser: 75 Km for monomode fiber 00 Km for dispertion-shift monomode fiber 08_SwFlowContr - 7

Flow control: IEEE 802.3x Define: MAC IEEE 802.3 necessary changes in order to support Full-Duplex mode flow control mechanism for Full-Duplex links available for all Ethernet networks (0/00/000 Mb/s) Mandatory for Gigabit Ethernet, optional for Ethernet and Fast Ethernet 08_SwFlowContr - 8

OSI model and IEEE 802.3x IEEE 802.3x introduce a sublayer (MAC Control) between MAC 802.3 and higher sublayer (Bridge Relay Entity, LLC,...) ISO/OSI model Application Presentation Session Transport Network Data Link Physical LAN 802 sublayers LLC sublayer MAC Control (optional) MAC - Media Access Control 08_SwFlowContr - 9

Flow control Control flow mechanism is defined in IEEE 802.3x: The device willing to stop transmission send a PAUSE packet in multicast to every partner concerned in the trasmission packet contains the amount of time (numbero of slot time) that each partner must stop transmission the times can be extended or aborted by sending another PAUSE packet 08_SwFlowContr - 0

PAUSE packet octet 6 octets 6 octets 2 octets 2 octets 2 octets Destination Address (0-80-C2-00-00-0) Source Address Legth/Type = 8808 OpCode = 00-0 (PAUSE) Pause_time (pause-quanta) 42 octets PAD (all 0s) 4 octets FCS 08_SwFlowContr -

Pause time Pause_time field: number of pause-quanta (from 0 to 65535) which indicate the pause time pause-quanta = 52 bit time speed equal or less than 00 Mb/s T-Pause in bit time = pause-quanta * 52 Speed greather than 00 Mb/s T-Pause in bit time = pause-quanta * 52 * 2 08_SwFlowContr - 2

IEEE 802.3x: flow control modes Two flow controls mechanism: asimmetric mode only one equipmet send pause packet, the other just receive the packet and stop transmitting simmetric mode both equipment at link s edge can transmit and receive the pause packet 08_SwFlowContr - 3

Flow Control negotiation Flow control negotiation using Burst FLP (Fast Link Pulse) coding initially sent by both partners in link s parameter negotiation phase 08_SwFlowContr - 4

Flow control: FLP Reg.4 encoding Technology Ability Field D0 D D2 D3 D4 D5 D6 D7 D8 D9 D0 D D2 D3 D4 D5 rsvd rsvd rsvd rsvd rsvd FD HD PS PS2 rsvd rsvd rsvd RF RF2 Ack NP 0 0 No error, Link OK 0 Offline 0 Link Failure 0 0 No Pause Auto-Negotiation Error 0 Asymmetric Pause to link partner 0 Symmetric Pause Symmetric Pause e Asymmetric Pause (tipo Both ) to local device 08_SwFlowContr - 5

Flow control: FLP Reg.4 encoding Register 4: Auto-Negotiation Advertisement Register Bit(s) Name Description Default R/W 5 Next Page Constant 0 = page transmissione with primary capacity 0 RO 4 Reserved Reserved. Must be set to 0 0 RO 3 Remote Fault = malfunctioninig at link s opposite side 0 RW 0 = nessun malfunzionamento 2:5 Technology Ability 8 bit field containing info on tecnologies specific 000 RW Field functionalities identified by selector field 4:0 Selector Field 5 bit field which identifies the kind of message 0000 RO sended for the negotiation. In the Intel 82559 circuitery this field is read-only and contains 0000b value which stand for IEEE 802.3 standard. 08_SwFlowContr - 6

Local Device Link Partner Bit - PS Bit - PS2 Bit - PS Bit - PS2 Local Device resolution Link Partner resolution 0 0 Don t Don t Disable PAUSE Disable PAUSE care care TX & RX TX & RX 0 0 Don t Disable PAUSE Disable PAUSE care TX & RX TX & RX 0 0 Disable PAUSE Disable PAUSE TX & RX TX & RX 0 Enable PAUSE TX Enable PAUSE RX Asymmetric PAUSE Pause Both Sym & Asym Pause Disable PAUSE RX Disable PAUSE TX 0 0 Don t Disable PAUSE Disable PAUSE care TX & RX TX & RX Don t care Don t care Enable PAUSE Enable PAUSE Symmetric or Both Symmetric or Both TX & RX TX & RX 0 0 Disable PAUSE Disable PAUSE TX & RX TX & RX 0 Enable PAUSE RX Enable PAUSE TX Both Sym & Asym Pause Asymmetric PAUSE Disable PAUSE TX Disable PAUSE RX 08_SwFlowContr - 7

Switch s flow control: output buffer Switch with output buffer and input port connection output buffer saturation cause the sending of Pause on input port linked with traffic flow solution not implemented by vendors because has more drawback than benefit Pause packet on link between two switches penalize also the traffic flows which don t congest output buffers Vendors solution: switch blocks transmission on port if it receive the Pause packet, but it can t send the pause packet 08_SwFlowContr - 8

Slow computer Fast computer Asymmetric flow control Interface s buffer Pause threshold Buffer saturation To the CPU pause Slow computer Fast computer Pause sending Interface s buffer Pause threshold Buffer saturation To the CPU 08_SwFlowContr - 9

pause Interface s buffer Pause sending Pause threshold Buffer saturation To the CPU Symmetric flow control pause Interface s buffer Pause sending Pause threshold Buffer saturation To the CPU 08_SwFlowContr - 20

PC-5 2 3 Sym. or Both Pause 00 Mb/s 4 Sym. or Both Pause 00 Mb/s Sym. or Both Pause Sym. or Both Pause PC-8 PC-7 Symmetric flow control 08_SwFlowContr - 2

2 3 PC-5 00 Mb/s 4 Output Buffer port 4 00 Mb/s Pause threshold PC-8 Buffer saturation PC-7 Interface s buffer Pause threshold To the CPU Buffer saturation 08_SwFlowContr - 22

2 3 PC-5 00 Mb/s 4 00 Mb/s Pause Output Buffer port 4 PC-8 PC-7 Pause threshold Buffer saturation Interface s buffer Pause sending Pause threshold Buffer saturation To the CPU 08_SwFlowContr - 23

2 3 PC-5 00 Mb/s 4 Output Buffer port 4 00 Mb/s Pause threshold PC-8 Buffer saturation PC-7 Interface s buffer Pause threshold To the CPU Buffer saturation 08_SwFlowContr - 24

2 3 PC-5 00 Mb/s 4 00 Mb/s Pause Output Buffer port 4 PC-8 PC-7 Pause threshold Buffer saturation Buffer Interfaccia Pause sending Pause threshold Buffer saturation To the CPU 08_SwFlowContr - 25

2 3 PC-5 00 Mb/s Pause 4 00 Mb/s Output Buffer port 4 PC-7 Pause sending Pause threshold Buffer saturation PC-8 Interface s buffer Pause threshold To the CPU Buffer saturation 08_SwFlowContr - 26

2 3 PC-5 00 Mb/s 4 Output Buffer port 4 00 Mb/s Pause threshold Buffer saturation PC-8 PC-7 Interface s buffer Pause threshold To the CPU Buffer saturation 08_SwFlowContr - 27

2 3 PC-5 00 Mb/s 4 00 Mb/s Interface s buffer Pause threshold Buffer saturation To the CPU PC-8 PC-7 Interface s buffer Pause threshold To the CPU Buffer saturation 08_SwFlowContr - 28

Sym. or Both Pause Sym. or Both Pause Sym. or Both Pause Fast station Symmetric flow control Sym. or Both Pause Sym. or Both Pause Sym. or Both Pause Both Pause Both Pause Asymmetric flow control Asym. Pause Asym. Pause Slow station Slow station 08_SwFlowContr - 29

Switch-2 7 8 3 Switch- 2 9 Server-C 4 5 Switch-3 PC-X Server-B 9 0 Server-A 08_SwFlowContr - 30 PC-Y

Pause Novembre 2002 Switch-2 7 8 3 Switch- 2 9 Server-C 4 5 Switch-3 PC-X Server-B 9 0 Server-A 08_SwFlowContr - 3 PC-Y

Switch-2 7 8 3 Switch- Pause 2 9 Server-C 4 5 Blocks all flows! Switch-3 PC-X Server-B 9 0 Server-A 08_SwFlowContr - 32 PC-Y

Flow control on switch with input buffer If an input buffer met is saturation because of input port congestion, it send a Pause packet in the concerned port If switching matrix is blocking If exist contention on output ports No output buffer Output buffer are full If switching matrix is congested, the event unleash the sending of Pause packet on all ports Pause packet sending occurs only on switch with blocking matrix 08_SwFlowContr - 33

Switch-2 7 8 3 Server-C 4 Switch- 5 Symmetric flow control 2 9 Switch-3 PC-X Server-B 9 0 Server-A 08_SwFlowContr - 34 PC-Y

Switch-2 7 8 3 Server-C 4 Switch- 5 Symmetric flow control Pause 2 9 Input Buffer port Saturat. Switch-3 PC-X Server-B 9 0 Server-A 08_SwFlowContr - 35 PC-Y

Switch-2 7 8 3 Switch- 2 9 Server-C 4 5 Pause Switch-3 PC-X Server-B Pause 9 0 Pause Server-A 08_SwFlowContr - 36 PC-Y

Realistical approach on switch with output buffer Asymmetric flow control is enabled only on switchstation connections make up temporary congestions on input buffers of station s network interfaces not an ideal solution, but can be a good deal in certain traffic condition 08_SwFlowContr - 37

Switch-2 7 8 3 Server-C 4 Switch- 5 No Flow control 2 9 Asymmetric flow control Switch-3 PC-X Server-B 9 0 Server-A Asymmetric flow control Asymmetric flow control PC-Y 08_SwFlowContr - 38