麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 17&18 Fast packet switching

Lectures 17&18 Fast packet switching Eytan Modiano Massachusetts Institute of Technolog
Lectures 17 & 18 Fast packet switching Eytan Modiano Massachusetts Institute of Technology Eytan Modiano Slide 1

Packet switches engine Switch Scheduler Packet DataReader→[ Packet Tag DestinationAddress Output port number or vc number a packet switch consists of a routing engine(table look-up),a switch scheduler and a switch fabric The routing engine looks-up the packet address in a routing table and determines which output port to send the packet Packet is tagged with port number The switch uses the tag to send the packet to the proper output port
Packet switches Packet Routing engine Switch Scheduler Packet Data Header Packet Tag DestinationAddress Output port number or VC number • A packet switch consists of a routing engine (table look-up), a switch scheduler, and a switch fabric. • The routing engine looks-up the packet address in a routing table and determines which output port to send the packet. – Packet is tagged with port number – The switch uses the tag to send the packet to the proper output port Eytan Modiano Slide 2

First Generation Switches CPU output buffer LC-1 LC-2 LC-3 Input buffer Computer with multiple line cards CPU polls the line cards CPU processes the packets Simple, but performance is limited by processor speeds and bus speeds Examples: Ethernet bridges and low end routers
First Generation Switches CPU LC-1 LC-2 LC-3 output buffer Input buffer • Computer with multiple line cards – CPU polls the line cards – CPU processes the packets • Simple, but performance is limited by processor speeds and bus speeds • Examples: Ethernet bridges and low end routers Eytan Modiano Slide 3

Second Generation switches Bus LC LC LC Most of the processing is now done in the line cards Route table look-up etc Line cards buffer the packets Line card send packets to proper output port Advantages: CPU and main Memory are no longer the bottleneck Disadvantage: Performance limited by bus speeds Bus Bw must be n times LC speed(N ports Example: cisco 7500 series router
Second Generation switches Computer LC LC LC LC Bus • Most of the processing is now done in the line cards – Route table look-up, etc. – Line cards buff er the packets – Line card send packets to proper output port • Advantages: CPU and main Memory are no longer the bottleneck • Disadvantage: Performance limited by bus speeds – Bus BW must be N times LC speed (N ports) • Example: CISCO 7500 series router Eytan Modiano Slide 4

Third generation switches Input LC Output LC Input LC SWITCH Output LC FABRIC Input LC Output LC Controll Replace shared bus with a switch fabric Performance depends on the switch fabric, but potentially can alleviate the bus bottleneck
Third generation switches N by N SWITCH FABRIC Input LC Input LC Input LC Output LC Output LC Output LC Controller • Replace shared bus with a switch fabric • Performance depends on the switch fabric, but potentially can alleviate the bus bottleneck Eytan Modiano Slide 5

Switch Architectures Distributed buffer Output buffer Input buffer
Switch Architectures • Distributed buffer • Output buffer • Input buffer Eytan Modiano Slide 6

Distributed buffer Modular architecture Basic module is a 2x 2 switch which can be either in the through or crossed position Switch buffers: None, at input, or at output of each module Switch fabric consists of many 2x2 modules □口□ N
Distributed buffer • Modular Architecture Basic module is a 2x2 switch, which can be either in the through or crossed position • Switch buffers: None, at input, or at output of each module Switch fabric consists of many 2x2 modules N N inputs outputs Eytan Modiano Slide 7

Interconnection networks N input Log(N) stages with N/2 modules per stage Example: Omega(shuffle exchange network) 0000 2010 3011 4567 11 0 17 Notice the order of inputs into a stage is a shuffle of the outputs from the previous stage:(0, 4, 1, 5, 2, 6, 3, 7) Easily extended to more stages Any output can be reached from any input by proper switch settings Not all routes can be done simultaneously Exactly one route between each SD pair Self-routing network
Interconnection networks • N input • Log(N) stages with N/2 modules per stage Example: Omega (shuffle exchange network) 0 1 2 3 4 5 6 7 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 117 • Notice the order of inputs into a stage is a shuffle of the outputs from the previous stage: (0,4,1,5,2,6,3,7) • Easily extended to more stages • Any output can be reached from any input by proper switch settings – Not all routes can be done simultaneously – Exactly one route between each SD pair Eytan Modiano – Self-routing network Slide 8

Self Routing Use a tag: n bit sequence with one bit per stage of the network E.g., Tag= b3b2b, Module at stage i looks at bit i of the tag (b), and sends the packet up if b =0 and down if b =1 In omega network, for destination port with binary address abc the tag is cba EXample: output 100=> tag=001 Notice that regardless of input port, tag 001 will get you to output 100
Self Routing • Use a tag: n bit sequence with one bit per stage of the network – E.g., Tag = b3b2b1 • Module at stage i looks at bit i of the tag (bi), and sends the packet up if bi=0 and down if bi=1 • In omega network, for destination port with binary address abc the tag is cba – Example: output 100 => tag = 001 – Notice that regardless of input port, tag 001 will get you to output 100 Eytan Modiano Slide 9

Baseline network Another Example of a multi-stage interconnection network Built using the basic 2x2 switch module Recursive construction Construct an n by n switch using two N/2 by N/2 switches and a new stage of N/2 basic(2X 2 )modules N by N switch has Log2(N)stages each with N/2 basic (2x2) modules 2x2 N/2 X N/2 2x2 2x2 2x2 N inputs 4 x 4 switch example 2x2 2x2 2x2 N/2X NA 2x2 N/2 basic mods 2 N/2 by n/2 switches
Baseline network • Another Example of a multi-stage interconnection network • Built using the basic 2x2 switch module • Recursive construction – Construct an N by N switch using two N/2 by N/2 switches and a new stage of N/2 basic (2x2) modules – N by N switch has Log2(N) stages each with N/2 basic (2x2) modules N inputs 4 x 4 switch example 2x2 2x2 2x2 2x2 N/2 x N/2 N/2 x N/2 2x2 2x2 2x2 2x2 N/2 basic mods 2 N/2 by N/2 switches Eytan Modiano Slide 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 15&16 Local Area Networks.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lecture 19 Broadcast routing.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 13&14 Packet Multiple Access:The Aloha protocol.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 10&11 Reservations Systems M/G/1 queues with Priority.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lecture 07 Burke’s Theorem and Networks of Queues.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 05&06 Introduction to Queueing Theory.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 08&09 M/G/1 Queues.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 03&04 The Data Link Layer:ARQ Protocols.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lecture 02 The Data Link Layer:Framing and Error Detection.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)howto.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)projectinfo.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)reportgd.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)projectresources.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)projectsuggestions.pdf
- 《模拟电子技术》课程教学资源(练习题)第十章 直流电源.doc
- 《模拟电子技术》课程教学资源(练习题)第九章 功率放大电路.doc
- 《模拟电子技术》课程教学资源(练习题)第八章 波形的发生和信号的转换.doc
- 《模拟电子技术》课程教学资源(练习题)第七章 信号的运算和处理.doc
- 《模拟电子技术》课程教学资源(练习题)第六章 放大电路中的反馈.doc
- 《模拟电子技术》课程教学资源(练习题)第五章 放大电路的频率响应.doc
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lecture 21 Optimal Routing.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 22&23 Flow and congestion control.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lecture 20 Routing in Data Networks.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Lectures 24&25 Higher Layer Protocols:TCP/IP and ATM.pdf
- 麻省理工学院:《数据通信》课程教学讲义(英文版)Data commu 目录.doc
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)目录.ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第五讲 移动通信的基本技术(三).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第二讲 移动通信系统组成和特点.ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第六讲 GSM系统组成(一).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第一讲 移动通信的发展和分类.ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第三讲 移动通信的基本技术(一).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第四讲 移动通信的基本技术(二).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第九讲 GSM的接续和移动性管理(一).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第十讲 GSM的接续和移动性管理(二).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第九讲 GSM的接续和移动性管理(一).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第十二讲 GSM的安全性管理.ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第十一讲 GSM的接续和移动性管理(三).ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第十三讲 GSM体制的特点.ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第十七讲 CDMA业务和特点.ppt
- 四川邮电职业技术学院:《移动通信技术》课程教学资源(PPT课件)第十四讲 CDMA的基本原理和扩频通信系统.ppt