SlideShare a Scribd company logo
1 of 20
Download to read offline
Packet Switch Architectures




                   The following are (sometimes modified and rearranged slides) from
                   an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji
                   Prabhakar , Stanford University

                   Slides used with permission from authors.
                   © 1999-2000. All rights reserved by authors.




Outline


     • Introduction:
          What is a Packet Switch?
     • Packet Lookup and Classification:
          Where does a packet go next?
     • Switching Fabrics:
          How does the packet get there?




                         Copyright 1999. All Rights Reserved                           2




                                                                                           1
Introduction
What is a Packet Switch?




             • Basic Architectural Components
             • Some Example Packet Switches




                           Copyright 1999. All Rights Reserved                3




      Basic Architectural Components
      Datapath: per-packet processing
                                                                     3.
            1.
                                                                   Output
        Forwarding                                    2.         Scheduling
           Table
                                              Interconnect
        Forwarding
         Decision

         Forwarding
            Table


        Forwarding
         Decision

         Forwarding
            Table


        Forwarding
         Decision

                           Copyright 1999. All Rights Reserved                4




                                                                                  2
Where high performance packet
    switches are used

                                                  - Carrier Class Core Router
                                                  - ATM Switch
                                                  - Frame Relay Switch




                      The Internet Core




    Edge Router                                          Enterprise WAN access
                                                        & Enterprise Campus Switch




                      Copyright 1999. All Rights Reserved                            5




Some Example Packet Switches

• Packet switches exist for different networking technologies
   – Internet: IP protocol suite
   – Ethernet: Ethernet switches
   – ATM (Asynchronous Transfer Mode): ATM switch
   – MPLS (Multiprotocol label switching): MPLS switch

• There are many similarities in the architecture of the switches




                      Copyright 1999. All Rights Reserved                            6




                                                                                         3
Packet Lookup
    Where does a packet go next?


     • ATM and MPLS switches
        – Direct Lookup
     • Bridges and Ethernet switches
        – Associative Lookup
        – Hashing

     • IP Routers
        – Patricia trees/tries




                        Copyright 1999. All Rights Reserved   7




Lookup in an ATM Switch

•   Lookup cell VCI/VPI in VC table.
•   Replace old VCI/VPI with new.
•   Forward cell to outgoing interface.
•   Transmit cell onto link.




                        Copyright 1999. All Rights Reserved   8




                                                                  4
Lookup in an Ethernet Switch

• Lookup frame DA in forwarding table.
   – If known, forward to correct port.
   – If unknown, broadcast to all ports.
• Learn SA of incoming frame.
• Forward frame to outgoing interface.
• Transmit frame onto link.




                      Copyright 1999. All Rights Reserved    9




Lookup in an IP Router

• Lookup packet DA in forwarding table.
   – If known, forward to correct port.
   – If unknown, drop packet.
• Decrement TTL, update header Cksum.
• Forward packet to outgoing interface.
• Transmit packet onto link.




                      Copyright 1999. All Rights Reserved   10




                                                                 5
ATM and MPLS Switches
Direct Lookup




          VCI              Address                                     (Port, VCI)




                                                                Data
                                         Memory




                                Copyright 1999. All Rights Reserved                  11




Bridges and Ethernet Switches
Associative Lookups




             Associative                                      Advantages:
           Memory or CAM
                                                              • Simple
                                     Associated
 Search
           Network Associated          Data                   Disadvantages
           Address

                                     {
                     Data
  Data                                   Hit?                 • Slow
   48                                 Address
                                                              • High Power
                                         log2 N
                                                              • Small
                                                              • Expensive



                                Copyright 1999. All Rights Reserved                  12




                                                                                          6
Bridges and Ethernet Switches
Hashing




                                                                        Associated
          Search                                                          Data
           Data
                                                                        {
                                              Address




                                                                 Data
                         Hashing      16                                    Hit?
                                                        Memory
                48       Function                                       Address
                                                                             log2 N




                             Copyright 1999. All Rights Reserved                                   13




Lookups Using Hashing
An example



                                                        Memory

                                            #1           #2      #3     #4
                                                                                      Associated
Search                                                                                  Data
 Data
     48
          Hashing Function

           CRC-16
                             16
                                            #1           #2                           {   Hit?
                                                                                      Address
                                                                                          log2 N




                                            #1           #2      #3
            Linked lists

                             Copyright 1999. All Rights Reserved                                   14




                                                                                                        7
IP Router
      Lookup
  H
              Dstn                                Forwarding Engine
  E                                                                     Next Hop
  A           Addr
                                Next Hop Computation
  D
  E
  R
                                  Forwarding Table
                               Destination Next Hop
                                   ----       ----
                                   ----       ----

 Incoming
   Packet                              ----                ----

                  IPv4 unicast destination address based lookup
                             Copyright 1999. All Rights Reserved                15




IP Routers
Lookup

  • Longest Prefix Matching


                Prefix          Port
              65/8                3
                                                         • Lookup time
128.9.16.14   128.9/16            5                      • Storage space
              128.9.16/20         2                      • Update time
              128.9.19/24         7
              128.9.25/24         10                     • Preprocessing time
              128.9.176/20        1
              142.12/19           3




                             Copyright 1999. All Rights Reserved                16




                                                                                     8
Ternary CAMs


                           Associative Memory
                 Value              Mask
               10.0.0.0         255.0.0.0                      R1
               10.1.0.0         255.255.0.0                    R2             Next Hop
               10.1.1.0         255.255.255.0                  R3
               10.1.3.0         255.255.255.0                  R4
               10.1.3.1         255.255.255.255                R4
                                                                    Priority Encoder


                              Copyright 1999. All Rights Reserved                      17




Binary Tries


                   0               1                                Example Prefixes
                                                                      a) 00001
                                                                      b) 00010
                                                                      c) 00011
                                                                      d) 001
       d                       g                                      e) 0101
                       f
                                                                      f) 011
                                                                      g) 100
                                   h             i                    h) 1010
               e
                                                                      i) 1100
 a b       c
                                                                      j) 11110000

                                            j
                              Copyright 1999. All Rights Reserved                      18




                                                                                            9
Patricia Tree

                                                                  Example Prefixes
                      0              1                               a) 00001
                                                                     b) 00010
                                                                     c) 00011
                                                                     d) 001
                                                            Skip=5   e) 0101
                      f        g                             j       f) 011
          d                                                          g) 100
                                                                     h) 1010
                  e            h             i                       i) 1100
    a b       c                                                      j) 11110000



                          Copyright 1999. All Rights Reserved                   19




Switching Fabrics:
How does the packet get there?


• Output and Input Queueing
• Output Queueing
• Input Queueing

• Other non-blocking fabrics




                          Copyright 1999. All Rights Reserved                   20




                                                                                     10
Basic Architectural Components
      Datapath: per-packet processing
                                                                                   3.
            1.
                                                                                Output
        Forwarding                                       2.                   Scheduling
           Table
                                                 Interconnect
       Forwarding
        Decision

        Forwarding
           Table


       Forwarding
        Decision

        Forwarding
           Table


       Forwarding
        Decision

                              Copyright 1999. All Rights Reserved                          21




Interconnects
Two basic techniques




         Input Queueing                                       Output Queueing




          Usually a non-blocking                              Usually a fast bus
        switch fabric (e.g. crossbar)
                              Copyright 1999. All Rights Reserved                          22




                                                                                                11
Interconnects
Output Queueing




 Individual Output Queues                     Centralized Shared Memory
                                                                  Memory b/w = 2N.R
 1

 2

 N                                           1

                                             2

     Memory b/w = (N+1).R                     N

                            Copyright 1999. All Rights Reserved                       23




Output Queueing
How fast can we make centralized shared memory?




                              5ns SRAM
                  Shared
                  Memory

        1                                • 5ns per memory operation
                                         • Two memory operations per packet
        2                                • Therefore, up to 160Gb/s
                                         • In practice, closer to 80Gb/s
        N

                    200 byte bus

                            Copyright 1999. All Rights Reserved                       24




                                                                                           12
Switching Fabrics

             • Output and Input Queueing
             • Output Queueing
             • Input Queueing
                – Scheduling algorithms
                – Other non-blocking fabrics
                – Combining input and output queues
                – Multicast traffic




                               Copyright 1999. All Rights Reserved                     25




Input Queueing with Crossbar


                                                                     Memory b/w = 2R

                                                                           Scheduler
   Data In




  configuration     Data Out



                               Copyright 1999. All Rights Reserved                     26




                                                                                            13
Input Queueing
Head of Line Blocking




                              Delay


                                          Load
                                                          58.6%   100%


                    Copyright 1999. All Rights Reserved                  27




   Head of Line Blocking




                    Copyright 1999. All Rights Reserved                  28




                                                                              14
Copyright 1999. All Rights Reserved   29




Copyright 1999. All Rights Reserved   30




                                           15
Input Queueing
    Virtual output queues




                        Copyright 1999. All Rights Reserved          31




Input Queues
Virtual Output Queues
                                  Delay




                                              Load
                                                              100%


                        Copyright 1999. All Rights Reserved          32




                                                                          16
Input Queueing

                               Memory b/w = 2R


                                      Scheduler
                                                           Can be quite
                                                            complex!




                 Copyright 1999. All Rights Reserved                      33




Input Queueing
Scheduling




                      1                                1

                      2                                2

                      1                                1

                      2                                2
                 Copyright 1999. All Rights Reserved                      34




                                                                               17
Wave Front Arbiter
Scheduling Algorithm




              Requests                                  Match
        1                       1           1                   1
        2                       2           2                   2
        3                       3           3                   3
        4                       4           4                   4
                       Copyright 1999. All Rights Reserved          35




Wave Front Arbiter




              Requests                                  Match



                       Copyright 1999. All Rights Reserved          36




                                                                         18
Other Non-Blocking Fabrics
Clos Network




                        Copyright 1999. All Rights Reserved            37




Other Non-Blocking Fabrics
Clos Network


Expansion factor required = 2-1/N (but still blocking for multicast)




                        Copyright 1999. All Rights Reserved            38




                                                                            19
Other Non-Blocking Fabrics
Self-Routing Networks




                000                                                 000
                001                                                 001
                010                                                 010
                011                                                 011
                100                                                 100
                101                                                 101
                110                                                 110
                111                                                 111




                              Copyright 1999. All Rights Reserved           39




Other Non-Blocking Fabrics
Self-Routing Networks



       The Non-blocking Batcher Banyan Network
          Batcher Sorter                           Self-Routing Network
  3   7     7         7   7    7   7                                      000
  7   2     5         0   4    6   6                                      001
  5   3     2         5   5    4   5
                                                                          010
  2   5     3         1   6    5   4                                      011
  6   6     1         3   0    3   3
                                                                          100
  0   1     0         4   3    2   2
                                                                          101
  1   0     6         2   1    0   1
                                                                          110
  4   4     4         6   2    2   0
                                                                          111

                • Fabric can be used as scheduler.
                •Batcher-Banyan network is blocking for multicast.
                              Copyright 1999. All Rights Reserved           40




                                                                                 20

More Related Content

What's hot

Quality of Experience
Quality of ExperienceQuality of Experience
Quality of ExperienceThomas Kernen
 
R fmodem data_sheet_337
R fmodem data_sheet_337R fmodem data_sheet_337
R fmodem data_sheet_337kainkama
 
Backplane Technology Overview for AdvancedTCA
Backplane Technology Overview for AdvancedTCABackplane Technology Overview for AdvancedTCA
Backplane Technology Overview for AdvancedTCAhuichenphd
 
Networking lecture 4 Data Link Layer by Mamun sir
Networking lecture 4 Data Link Layer by Mamun sirNetworking lecture 4 Data Link Layer by Mamun sir
Networking lecture 4 Data Link Layer by Mamun sirsharifbdp
 
New solutions for wireless infrastructure applications
New solutions for wireless infrastructure applicationsNew solutions for wireless infrastructure applications
New solutions for wireless infrastructure applicationschiportal
 
Computer network lesson plan
Computer network lesson planComputer network lesson plan
Computer network lesson plansangusajjan
 
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...gogo6
 
ipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick Grosseteteipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick GrosseteteFebrian ‎
 
RFCONNEXT\’s HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONS
RFCONNEXT\’s  HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONSRFCONNEXT\’s  HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONS
RFCONNEXT\’s HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONSrfconnex
 
4 g americas final hspa+ lte carrier aggregation webinar brazil
4 g americas final hspa+ lte carrier aggregation webinar brazil4 g americas final hspa+ lte carrier aggregation webinar brazil
4 g americas final hspa+ lte carrier aggregation webinar brazilRafael Junquera
 
2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 TransitionJohnson Liu
 
Openflow Stanford University - Ericsson Collaboration
Openflow Stanford University - Ericsson CollaborationOpenflow Stanford University - Ericsson Collaboration
Openflow Stanford University - Ericsson CollaborationEricsson Labs
 
ARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack PortingARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack PortingMathivanan Elangovan
 
CCNxCon2012: Session 4: Caesar: a Content Router for High Speed Forwarding
CCNxCon2012: Session 4: Caesar:  a Content Router for High Speed ForwardingCCNxCon2012: Session 4: Caesar:  a Content Router for High Speed Forwarding
CCNxCon2012: Session 4: Caesar: a Content Router for High Speed ForwardingPARC, a Xerox company
 
Bobcat hotchips final 8 2 10
Bobcat hotchips final 8 2 10Bobcat hotchips final 8 2 10
Bobcat hotchips final 8 2 10mbasford
 

What's hot (20)

Quality of Experience
Quality of ExperienceQuality of Experience
Quality of Experience
 
Cyclone iii
Cyclone iiiCyclone iii
Cyclone iii
 
R fmodem data_sheet_337
R fmodem data_sheet_337R fmodem data_sheet_337
R fmodem data_sheet_337
 
Introduction to Serial RapidIO® (SRIO) by IDT
Introduction to Serial RapidIO® (SRIO) by IDTIntroduction to Serial RapidIO® (SRIO) by IDT
Introduction to Serial RapidIO® (SRIO) by IDT
 
Backplane Technology Overview for AdvancedTCA
Backplane Technology Overview for AdvancedTCABackplane Technology Overview for AdvancedTCA
Backplane Technology Overview for AdvancedTCA
 
Networking lecture 4 Data Link Layer by Mamun sir
Networking lecture 4 Data Link Layer by Mamun sirNetworking lecture 4 Data Link Layer by Mamun sir
Networking lecture 4 Data Link Layer by Mamun sir
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
New solutions for wireless infrastructure applications
New solutions for wireless infrastructure applicationsNew solutions for wireless infrastructure applications
New solutions for wireless infrastructure applications
 
How to implement mpls
How to implement mplsHow to implement mpls
How to implement mpls
 
Computer network lesson plan
Computer network lesson planComputer network lesson plan
Computer network lesson plan
 
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
Troubleshooting Dual-Protocol Networks and Systems by Scott Hogg at gogoNET L...
 
ipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick Grosseteteipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick Grossetete
 
RFCONNEXT\’s HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONS
RFCONNEXT\’s  HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONSRFCONNEXT\’s  HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONS
RFCONNEXT\’s HIGH SPEED INTERCONNECT TECHNOLOGIES AND APPLICATIONS
 
4 g americas final hspa+ lte carrier aggregation webinar brazil
4 g americas final hspa+ lte carrier aggregation webinar brazil4 g americas final hspa+ lte carrier aggregation webinar brazil
4 g americas final hspa+ lte carrier aggregation webinar brazil
 
2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition2011 TWNIC SP IPv6 Transition
2011 TWNIC SP IPv6 Transition
 
Openflow Stanford University - Ericsson Collaboration
Openflow Stanford University - Ericsson CollaborationOpenflow Stanford University - Ericsson Collaboration
Openflow Stanford University - Ericsson Collaboration
 
ARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack PortingARM LPC2300/LPC2400 TCP/IP Stack Porting
ARM LPC2300/LPC2400 TCP/IP Stack Porting
 
Bgp
BgpBgp
Bgp
 
CCNxCon2012: Session 4: Caesar: a Content Router for High Speed Forwarding
CCNxCon2012: Session 4: Caesar:  a Content Router for High Speed ForwardingCCNxCon2012: Session 4: Caesar:  a Content Router for High Speed Forwarding
CCNxCon2012: Session 4: Caesar: a Content Router for High Speed Forwarding
 
Bobcat hotchips final 8 2 10
Bobcat hotchips final 8 2 10Bobcat hotchips final 8 2 10
Bobcat hotchips final 8 2 10
 

Viewers also liked

Hong kong
Hong kongHong kong
Hong kongmike-97
 
Nork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolaraNork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolaramike-97
 
Vete y vive
Vete y viveVete y vive
Vete y vivemike-97
 
Australia
AustraliaAustralia
Australiamike-97
 
Points in favour of the bullfighting
Points in favour of the bullfightingPoints in favour of the bullfighting
Points in favour of the bullfightingmike-97
 
Vete y vive
Vete y viveVete y vive
Vete y vivemike-97
 
Nork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolaraNork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolaramike-97
 
The proyect of my live
The proyect of my liveThe proyect of my live
The proyect of my livemike-97
 
Aficiones
AficionesAficiones
Aficionesmike-97
 
Chemical Vapour Deposition
Chemical Vapour DepositionChemical Vapour Deposition
Chemical Vapour DepositionViji Vijitha
 
Flemming nielsen, resultater fra 3 år med den nye læringsplatform
Flemming nielsen, resultater fra 3 år med den nye læringsplatformFlemming nielsen, resultater fra 3 år med den nye læringsplatform
Flemming nielsen, resultater fra 3 år med den nye læringsplatformFlemming Nielsen
 

Viewers also liked (18)

Iec61508 guide
Iec61508 guideIec61508 guide
Iec61508 guide
 
Acdc
AcdcAcdc
Acdc
 
Hong kong
Hong kongHong kong
Hong kong
 
хзош №118 оздоровлення
хзош №118   оздоровленняхзош №118   оздоровлення
хзош №118 оздоровлення
 
Nork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolaraNork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolara
 
Vete y vive
Vete y viveVete y vive
Vete y vive
 
Australia
AustraliaAustralia
Australia
 
Points in favour of the bullfighting
Points in favour of the bullfightingPoints in favour of the bullfighting
Points in favour of the bullfighting
 
Vete y vive
Vete y viveVete y vive
Vete y vive
 
Nork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolaraNork jolasten du gehiago futbolara
Nork jolasten du gehiago futbolara
 
The proyect of my live
The proyect of my liveThe proyect of my live
The proyect of my live
 
5 gaia
5 gaia5 gaia
5 gaia
 
Jupiter
JupiterJupiter
Jupiter
 
Aficiones
AficionesAficiones
Aficiones
 
система нов безпека
система нов безпекасистема нов безпека
система нов безпека
 
ао работа+
ао работа+ао работа+
ао работа+
 
Chemical Vapour Deposition
Chemical Vapour DepositionChemical Vapour Deposition
Chemical Vapour Deposition
 
Flemming nielsen, resultater fra 3 år med den nye læringsplatform
Flemming nielsen, resultater fra 3 år med den nye læringsplatformFlemming nielsen, resultater fra 3 år med den nye læringsplatform
Flemming nielsen, resultater fra 3 år med den nye læringsplatform
 

Similar to 757 08-switcharchp2

QsNetIII Adaptively Routed Network For HPC
QsNetIII Adaptively Routed Network For HPCQsNetIII Adaptively Routed Network For HPC
QsNetIII Adaptively Routed Network For HPCFederica Pisani
 
QsNetIII, An HPC Interconnect For Peta Scale Systems
QsNetIII, An HPC Interconnect For Peta Scale SystemsQsNetIII, An HPC Interconnect For Peta Scale Systems
QsNetIII, An HPC Interconnect For Peta Scale SystemsFederica Pisani
 
Ngn2004 Moving Up And To The Edges110204
Ngn2004 Moving Up And To The Edges110204Ngn2004 Moving Up And To The Edges110204
Ngn2004 Moving Up And To The Edges110204guestf6c708
 
[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)
[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)
[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)Insight Technology, Inc.
 
Continuum PCAP
Continuum PCAP Continuum PCAP
Continuum PCAP rwachsman
 
Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...Fisnik Kraja
 
Bh fed-03-kaminsky
Bh fed-03-kaminskyBh fed-03-kaminsky
Bh fed-03-kaminskyDan Kaminsky
 
Arch Rock Overview
Arch Rock OverviewArch Rock Overview
Arch Rock Overviewpauldeng
 
20121205 open stack_accelerating_science_v3
20121205 open stack_accelerating_science_v320121205 open stack_accelerating_science_v3
20121205 open stack_accelerating_science_v3Tim Bell
 
LTE = Femtocells Biggest Opportunity
LTE = Femtocells Biggest OpportunityLTE = Femtocells Biggest Opportunity
LTE = Femtocells Biggest OpportunityContinuous Computing
 
Open stack in action cern _openstack_accelerating_science
Open stack in action  cern _openstack_accelerating_scienceOpen stack in action  cern _openstack_accelerating_science
Open stack in action cern _openstack_accelerating_scienceeNovance
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5Waqas Ahmed Nawaz
 
Ip Networking Over Satelite Course Sampler
Ip Networking Over Satelite Course SamplerIp Networking Over Satelite Course Sampler
Ip Networking Over Satelite Course SamplerJim Jenkins
 
Ethernet vs-mpls-tp-in-the-access-presentation
Ethernet vs-mpls-tp-in-the-access-presentationEthernet vs-mpls-tp-in-the-access-presentation
Ethernet vs-mpls-tp-in-the-access-presentationNir Cohen
 
GE Smallworld Network Inventory Overview
GE Smallworld Network Inventory OverviewGE Smallworld Network Inventory Overview
GE Smallworld Network Inventory Overviewcwilson5496
 
Chapter 4 internetworking [compatibility mode]
Chapter 4   internetworking [compatibility mode]Chapter 4   internetworking [compatibility mode]
Chapter 4 internetworking [compatibility mode]Sĩ Anh Nguyễn
 
Bandwidth measurement
Bandwidth measurementBandwidth measurement
Bandwidth measurementjeromy fu
 

Similar to 757 08-switcharchp2 (20)

Chapter03
Chapter03Chapter03
Chapter03
 
QsNetIII Adaptively Routed Network For HPC
QsNetIII Adaptively Routed Network For HPCQsNetIII Adaptively Routed Network For HPC
QsNetIII Adaptively Routed Network For HPC
 
QsNetIII, An HPC Interconnect For Peta Scale Systems
QsNetIII, An HPC Interconnect For Peta Scale SystemsQsNetIII, An HPC Interconnect For Peta Scale Systems
QsNetIII, An HPC Interconnect For Peta Scale Systems
 
Ngn2004 Moving Up And To The Edges110204
Ngn2004 Moving Up And To The Edges110204Ngn2004 Moving Up And To The Edges110204
Ngn2004 Moving Up And To The Edges110204
 
[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)
[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)
[INSIGHT OUT 2011] A25 2 TB highly available mysql solution(alex)
 
To Infiniband and Beyond
To Infiniband and BeyondTo Infiniband and Beyond
To Infiniband and Beyond
 
Continuum PCAP
Continuum PCAP Continuum PCAP
Continuum PCAP
 
Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...Using Many-Core Processors to Improve the Performance of Space Computing Plat...
Using Many-Core Processors to Improve the Performance of Space Computing Plat...
 
Bh fed-03-kaminsky
Bh fed-03-kaminskyBh fed-03-kaminsky
Bh fed-03-kaminsky
 
Arch Rock Overview
Arch Rock OverviewArch Rock Overview
Arch Rock Overview
 
20121205 open stack_accelerating_science_v3
20121205 open stack_accelerating_science_v320121205 open stack_accelerating_science_v3
20121205 open stack_accelerating_science_v3
 
LTE = Femtocells Biggest Opportunity
LTE = Femtocells Biggest OpportunityLTE = Femtocells Biggest Opportunity
LTE = Femtocells Biggest Opportunity
 
Open stack in action cern _openstack_accelerating_science
Open stack in action  cern _openstack_accelerating_scienceOpen stack in action  cern _openstack_accelerating_science
Open stack in action cern _openstack_accelerating_science
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 5
 
Bluetooth tutorial-2001
Bluetooth tutorial-2001Bluetooth tutorial-2001
Bluetooth tutorial-2001
 
Ip Networking Over Satelite Course Sampler
Ip Networking Over Satelite Course SamplerIp Networking Over Satelite Course Sampler
Ip Networking Over Satelite Course Sampler
 
Ethernet vs-mpls-tp-in-the-access-presentation
Ethernet vs-mpls-tp-in-the-access-presentationEthernet vs-mpls-tp-in-the-access-presentation
Ethernet vs-mpls-tp-in-the-access-presentation
 
GE Smallworld Network Inventory Overview
GE Smallworld Network Inventory OverviewGE Smallworld Network Inventory Overview
GE Smallworld Network Inventory Overview
 
Chapter 4 internetworking [compatibility mode]
Chapter 4   internetworking [compatibility mode]Chapter 4   internetworking [compatibility mode]
Chapter 4 internetworking [compatibility mode]
 
Bandwidth measurement
Bandwidth measurementBandwidth measurement
Bandwidth measurement
 

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

757 08-switcharchp2

  • 1. Packet Switch Architectures The following are (sometimes modified and rearranged slides) from an ACM Sigcomm 99 Tutorial by Nick McKeown and Balaji Prabhakar , Stanford University Slides used with permission from authors. © 1999-2000. All rights reserved by authors. Outline • Introduction: What is a Packet Switch? • Packet Lookup and Classification: Where does a packet go next? • Switching Fabrics: How does the packet get there? Copyright 1999. All Rights Reserved 2 1
  • 2. Introduction What is a Packet Switch? • Basic Architectural Components • Some Example Packet Switches Copyright 1999. All Rights Reserved 3 Basic Architectural Components Datapath: per-packet processing 3. 1. Output Forwarding 2. Scheduling Table Interconnect Forwarding Decision Forwarding Table Forwarding Decision Forwarding Table Forwarding Decision Copyright 1999. All Rights Reserved 4 2
  • 3. Where high performance packet switches are used - Carrier Class Core Router - ATM Switch - Frame Relay Switch The Internet Core Edge Router Enterprise WAN access & Enterprise Campus Switch Copyright 1999. All Rights Reserved 5 Some Example Packet Switches • Packet switches exist for different networking technologies – Internet: IP protocol suite – Ethernet: Ethernet switches – ATM (Asynchronous Transfer Mode): ATM switch – MPLS (Multiprotocol label switching): MPLS switch • There are many similarities in the architecture of the switches Copyright 1999. All Rights Reserved 6 3
  • 4. Packet Lookup Where does a packet go next? • ATM and MPLS switches – Direct Lookup • Bridges and Ethernet switches – Associative Lookup – Hashing • IP Routers – Patricia trees/tries Copyright 1999. All Rights Reserved 7 Lookup in an ATM Switch • Lookup cell VCI/VPI in VC table. • Replace old VCI/VPI with new. • Forward cell to outgoing interface. • Transmit cell onto link. Copyright 1999. All Rights Reserved 8 4
  • 5. Lookup in an Ethernet Switch • Lookup frame DA in forwarding table. – If known, forward to correct port. – If unknown, broadcast to all ports. • Learn SA of incoming frame. • Forward frame to outgoing interface. • Transmit frame onto link. Copyright 1999. All Rights Reserved 9 Lookup in an IP Router • Lookup packet DA in forwarding table. – If known, forward to correct port. – If unknown, drop packet. • Decrement TTL, update header Cksum. • Forward packet to outgoing interface. • Transmit packet onto link. Copyright 1999. All Rights Reserved 10 5
  • 6. ATM and MPLS Switches Direct Lookup VCI Address (Port, VCI) Data Memory Copyright 1999. All Rights Reserved 11 Bridges and Ethernet Switches Associative Lookups Associative Advantages: Memory or CAM • Simple Associated Search Network Associated Data Disadvantages Address { Data Data Hit? • Slow 48 Address • High Power log2 N • Small • Expensive Copyright 1999. All Rights Reserved 12 6
  • 7. Bridges and Ethernet Switches Hashing Associated Search Data Data { Address Data Hashing 16 Hit? Memory 48 Function Address log2 N Copyright 1999. All Rights Reserved 13 Lookups Using Hashing An example Memory #1 #2 #3 #4 Associated Search Data Data 48 Hashing Function CRC-16 16 #1 #2 { Hit? Address log2 N #1 #2 #3 Linked lists Copyright 1999. All Rights Reserved 14 7
  • 8. IP Router Lookup H Dstn Forwarding Engine E Next Hop A Addr Next Hop Computation D E R Forwarding Table Destination Next Hop ---- ---- ---- ---- Incoming Packet ---- ---- IPv4 unicast destination address based lookup Copyright 1999. All Rights Reserved 15 IP Routers Lookup • Longest Prefix Matching Prefix Port 65/8 3 • Lookup time 128.9.16.14 128.9/16 5 • Storage space 128.9.16/20 2 • Update time 128.9.19/24 7 128.9.25/24 10 • Preprocessing time 128.9.176/20 1 142.12/19 3 Copyright 1999. All Rights Reserved 16 8
  • 9. Ternary CAMs Associative Memory Value Mask 10.0.0.0 255.0.0.0 R1 10.1.0.0 255.255.0.0 R2 Next Hop 10.1.1.0 255.255.255.0 R3 10.1.3.0 255.255.255.0 R4 10.1.3.1 255.255.255.255 R4 Priority Encoder Copyright 1999. All Rights Reserved 17 Binary Tries 0 1 Example Prefixes a) 00001 b) 00010 c) 00011 d) 001 d g e) 0101 f f) 011 g) 100 h i h) 1010 e i) 1100 a b c j) 11110000 j Copyright 1999. All Rights Reserved 18 9
  • 10. Patricia Tree Example Prefixes 0 1 a) 00001 b) 00010 c) 00011 d) 001 Skip=5 e) 0101 f g j f) 011 d g) 100 h) 1010 e h i i) 1100 a b c j) 11110000 Copyright 1999. All Rights Reserved 19 Switching Fabrics: How does the packet get there? • Output and Input Queueing • Output Queueing • Input Queueing • Other non-blocking fabrics Copyright 1999. All Rights Reserved 20 10
  • 11. Basic Architectural Components Datapath: per-packet processing 3. 1. Output Forwarding 2. Scheduling Table Interconnect Forwarding Decision Forwarding Table Forwarding Decision Forwarding Table Forwarding Decision Copyright 1999. All Rights Reserved 21 Interconnects Two basic techniques Input Queueing Output Queueing Usually a non-blocking Usually a fast bus switch fabric (e.g. crossbar) Copyright 1999. All Rights Reserved 22 11
  • 12. Interconnects Output Queueing Individual Output Queues Centralized Shared Memory Memory b/w = 2N.R 1 2 N 1 2 Memory b/w = (N+1).R N Copyright 1999. All Rights Reserved 23 Output Queueing How fast can we make centralized shared memory? 5ns SRAM Shared Memory 1 • 5ns per memory operation • Two memory operations per packet 2 • Therefore, up to 160Gb/s • In practice, closer to 80Gb/s N 200 byte bus Copyright 1999. All Rights Reserved 24 12
  • 13. Switching Fabrics • Output and Input Queueing • Output Queueing • Input Queueing – Scheduling algorithms – Other non-blocking fabrics – Combining input and output queues – Multicast traffic Copyright 1999. All Rights Reserved 25 Input Queueing with Crossbar Memory b/w = 2R Scheduler Data In configuration Data Out Copyright 1999. All Rights Reserved 26 13
  • 14. Input Queueing Head of Line Blocking Delay Load 58.6% 100% Copyright 1999. All Rights Reserved 27 Head of Line Blocking Copyright 1999. All Rights Reserved 28 14
  • 15. Copyright 1999. All Rights Reserved 29 Copyright 1999. All Rights Reserved 30 15
  • 16. Input Queueing Virtual output queues Copyright 1999. All Rights Reserved 31 Input Queues Virtual Output Queues Delay Load 100% Copyright 1999. All Rights Reserved 32 16
  • 17. Input Queueing Memory b/w = 2R Scheduler Can be quite complex! Copyright 1999. All Rights Reserved 33 Input Queueing Scheduling 1 1 2 2 1 1 2 2 Copyright 1999. All Rights Reserved 34 17
  • 18. Wave Front Arbiter Scheduling Algorithm Requests Match 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 Copyright 1999. All Rights Reserved 35 Wave Front Arbiter Requests Match Copyright 1999. All Rights Reserved 36 18
  • 19. Other Non-Blocking Fabrics Clos Network Copyright 1999. All Rights Reserved 37 Other Non-Blocking Fabrics Clos Network Expansion factor required = 2-1/N (but still blocking for multicast) Copyright 1999. All Rights Reserved 38 19
  • 20. Other Non-Blocking Fabrics Self-Routing Networks 000 000 001 001 010 010 011 011 100 100 101 101 110 110 111 111 Copyright 1999. All Rights Reserved 39 Other Non-Blocking Fabrics Self-Routing Networks The Non-blocking Batcher Banyan Network Batcher Sorter Self-Routing Network 3 7 7 7 7 7 7 000 7 2 5 0 4 6 6 001 5 3 2 5 5 4 5 010 2 5 3 1 6 5 4 011 6 6 1 3 0 3 3 100 0 1 0 4 3 2 2 101 1 0 6 2 1 0 1 110 4 4 4 6 2 2 0 111 • Fabric can be used as scheduler. •Batcher-Banyan network is blocking for multicast. Copyright 1999. All Rights Reserved 40 20