1 / 51

浅谈多核处理器与系统软件研发 -- 实例研究 : 思科 QuantumFlow 处理器与系统软件结构

浅谈多核处理器与系统软件研发 -- 实例研究 : 思科 QuantumFlow 处理器与系统软件结构. 陈怀临 《 弯曲评论 》 www.tektalk.cn. 提纲. ×《 弯曲评论 》 × 系统软件 × 工业动态 × 系统理解 × 实例研究:思科 QuantumFlow × 结束语. × 目标:非盈利性智库机构 × 领域: × 科技跟踪 × 专题分析 × 人物报道 × 学术打假. 《 弯曲评论 》 ( www.tektalk.cn ).

arin
Download Presentation

浅谈多核处理器与系统软件研发 -- 实例研究 : 思科 QuantumFlow 处理器与系统软件结构

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 浅谈多核处理器与系统软件研发--实例研究: 思科QuantumFlow处理器与系统软件结构 陈怀临 《弯曲评论》 www.tektalk.cn

  2. 提纲 ×《弯曲评论》×系统软件 × 工业动态× 系统理解×实例研究:思科QuantumFlow×结束语

  3. ×目标:非盈利性智库机构×领域:×科技跟踪×专题分析×人物报道×学术打假×目标:非盈利性智库机构×领域:×科技跟踪×专题分析×人物报道×学术打假 《弯曲评论》( www.tektalk.cn)

  4. 最近工作总结:×专题分析《思科Quantum处理器与战略研究》《对中国系统软件的思考与建议》《对华为系统软件的战略思考(上)》《对华为系统软件的战略思考(下)》《《对国防科大麒麟操作系统研发的思考》《中国计算机发展史略(1956-2006)》最近工作总结:×专题分析《思科Quantum处理器与战略研究》《对中国系统软件的思考与建议》《对华为系统软件的战略思考(上)》《对华为系统软件的战略思考(下)》《《对国防科大麒麟操作系统研发的思考》《中国计算机发展史略(1956-2006)》 《弯曲评论》( www.tektalk.cn)

  5. 最近工作总结:×科技书籍:《PowerPC and Linux Kernel Inside》《Linux 核 心》(The Linux Kernel)(下) 《Linux 核 心》(The Linux Kernel)(中)《Linux 核 心》(The Linux Kernel)(上)《MIPS CPU 体系结构概述,Linux/MIPS内核》(下)《MIPS CPU 体系结构概述,Linux/MIPS内核》(上)《See MIPS Run》 《弯曲评论》( www.tektalk.cn)

  6. 最近工作总结:×人物评述: 《邓稼先传》《海外学人》 《计算的美丽-图灵奖的第一个四十年》(上)《计算的美丽-图灵奖的第一个四十年》(下) 《弯曲评论》( www.tektalk.cn)

  7. ×操作系统×桌面操作系统 ×服务器操作系统 ×嵌入式操作系统×编译器与工具链(gcc, binutil, gdb…)×编程环境,中间件×PVM,MPI,OpenMP ×Mapreduce,Hadoop ×CORBA,DCOM 系统软件

  8. × 嵌入式操作系统-传统分时系统:Linux,FreeBSD-微内核: QNX/Neutrino, L4,Mach-大型通信操作系统:—华为/VRP—思科/IOS,IOS-XR,IOS-XE 系统软件

  9. 通信业工业研发动态 × 多核系统的持续应用× 多核系统的多样化×微观分布式并行计算系统

  10. 工业动态

  11. × 系统(System)与操作系统(Operating System),核心(Kernel)的关系×计算单元的多样化(ASIC,FPGA,CPU,NP)×互连网络的多样化(Bus,Switch Fabric,Interconnect)×数据报文(Packet)驱动,调度。×中断,异常处理的简化×性能的考量,牺牲层次性和透明性 系统理解

  12. 实例研究:思科QuantumFlow

  13. 实例研究:思科QuantumFlow × 项目启动时间:2002年Q3或Q4【笔者注:SPP是2002年流片的。CRS-1是2004年推出的。】 ×研发耗资:1亿美金 ×芯片主要定位:边缘(Edge)路由器,企业路由器。 ×芯片解决问题:Stateful Service与转发(Forwarding)合一。 ×首发系统:ASR1000 ×主频:1.2GHZ【笔者注:ESP-5G:900MHz. ESP-10G:900MHz.ESP-20G:1.2GHz】 ×晶体管数目:8亿 ×(PFE)内存:DDR2。 ×数据报文内存(Packet Buffer):ESP-5G:64M.ESP-10G:128M.ESP-20G:256m *CAM:外挂TCAM 【笔者注:ESP-5G:10M. ESP-10G:10M.ESP-20G:40M】 ×功耗:80瓦 ×多核:40,4 Way-Thread。来自Tensica的Xtensa。 ×片内互联(Interconnect):Crossbar Switch ×片外互联:ESI 【笔者注:在将来的新QFPzhong,将是Interlaken】 ×数据报文接口:4个10GBPS SPI4.2 。 ×工艺:90nm ×流片:德州仪器

  14. 实例研究:思科QuantumFlow

  15. 实例研究:思科QuantumFlow

  16. 实例研究:思科QuantumFlow

  17. 实例研究:思科QuantumFlow

  18. 实例研究:思科QuantumFlow

  19. 实例研究:思科QuantumFlow

  20. 实例研究:思科QuantumFlow

  21. 实例研究:思科QuantumFlow

  22. Cisco ASR 1000 Series Aggregated Services & Scale 6 RU 4 RU 2 RU 12-slot 2 2 3 H/W n/a 10.5” (6RU) 10-40+ Gbps 8-16+ Mpps Front to Back 1275 8-slot 1 1 2 S/W n/a 7” (4RU) 10-40+ Gbps 8-16+ Mpps Front to Back 765 3-slot 1 Integrated (RP1) Integrated (SIP10) S/W 4 3.5” (2RU) 5-10 Gbps 4-8 Mpps Front to Back 470 SPA Slots # of ESP Slots # of RP Slots # of SIP Slots IOS Redundancy Built in GigE Height Bandwidth Performance Air Flow Power Supply (Watts)

  23. ASR1000 ILT – Naming CPP = Cisco Packet Processor now known as the QuantumFlow Processor (QFP) CC = CarrierCard now known as the SPA Interface Processor (SIP) FP = Forwarding Processor now known as the Embedded Services Processor (ESP) FRU = Field Replaceable Unit RP = Route Processor IOSd = IOS daemon, IOS process running on RP

  24. Chassis Options: ASR1006 SPAs SIP10 ESP10 RP1 (in slots “r0” & “r1”) Rack Mounts and Cable Mgt not shown

  25. System Architecture - Dataplane All data forwarding is through FP Exception: Punt path for Legacy protocols – handled by the RP Interconnect ASIC in each of the functional elements provides the backplane connection through ESI links ESI (Enhanced Services Interface) links are used for Data forwarding SPA-SPI links connect to the backplane through the SPA-Agg ASIC Embedded Services Processor (active) Route Processor (active) Route Processor (standby) FECP RP RP CPP subsys-tem Interconn. Interconn. SPI4.2 Crypto assist Interconn. Interconn. Interconn. Interconn. IOCP IOCP IOCP SPA Agg. SPA Agg. SPA Agg. SPA SPA SPA SPA SPA SPA … … … Embedded Services Processor (standby) FECP CPP subsys-tem SPI4.2 Crypto assist Interconn. Midplane ESI, 11.5Gbps SPA-SPI, 11.2Gbps Hypertransport, 10Gbps

  26. RP1 Block Diagram ESI, 11.2Gbps SPA-SPI, 11.2Gbps Hypertransport, 10Gbps Other RTC Temp Sensor Power Ctlr EEPROM GE, 1Gbps I2C Inter-IC SPA Control SPA Bus 2.5” Hard disk or Solid-state drive Mgmt ENET Console and Aux USB USB Interface BITS nvarm: 32MB x 2 (part of bootflash: device) USB 2.0 controller SATA controller bootflash : 1GB (Bulk Storage, NVRAM) PowerPC CPU (SC854x SOC PowerQUICC III) DDR2-500 SDRAM MiniDIMM DDR2-500 SDRAM MiniDIMM Stratum-3 Network clock circuit I2C Mux Interconn. GE Switch Output clocks In ref clocks 4 CC’s Misc.Ctrl Other RP ESPs SIPs ESPs RP SIPs ESPs RP SIPs SIPs RP FP0 FP1 FP0 FP1

  27. ESP10 Block Diagram GE, 1Gbps ESI, 11.2Gbps I2C SPA-SPI, 11.2Gbps SPA Control Hypertransport, 10Gbps SPA Bus Other Buffer, queue, schedule (BQS) Buffer, queue, schedule (BQS) Buffer, queue, schedule (BQS) Temp Sensor Power Ctlr EEPROM PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE0 PPE1 PPE3 PPE5 PPE2 PPE4 PPE6 PPE40 Resource DRAM (512MB) Pkt Buffer DRAM (128MB) Part Len/ BW SRAM TCAM4 (10Mbit) DDR2-500 SDRAM MiniDIMM Processor pool QFP Boot Flash (OBFL, …) FECP (SC854x SOC PowerQUICC III) … JTAG Ctrl E-CSR Dispatcher/Pkt Buffer PCI* E-RP* Crypto ASR System BW SPI Mux Reset / Pwr Ctrl Interconn. SA table DRAM Interconn. RPs RPs ESP RPs SIPs

  28. SIP10 Block Diagram GE, 1Gbps ESI, 11.2Gbps I2C SPA-SPI, 11.2Gbps SPA Control Hypertransport, 10Gbps SPA Bus Other … … Ingress Buffers (per port) Egress Buffers (per port) Temp Sensor Power Ctlr EEPROM ESPs RPs RPs Interconn. EV-RP DDR2-500 SDRAM MiniDIMM EV-FC In ref clocks Egress Buffer Status Ingress Scheduler Boot Flash (OBFL, …) IOCP (SC854x SOC) JTAG Ctrl SPA Aggregation ASIC Network clock distribution Ingress classifier Network clocks Reset / Pwr Ctrl SPA Agg. C2W RPs RPs 4 SPAs 4 SPAs 4 SPAs 4 SPAs 4 SPAs

  29. IOS-XE Step 1 Step 2 ISSU ISSU Industry first, delivering hitless upgrades without costly hardware redundancy Feature Benefit Capable of broad scope of services: SP and enterprise, hosted or managed Combines rich edge feature set of IOS Provides IOS command line, common look and feel for transparency to operator Decreases OpEx, increases return on training investment Software Virtualization IOS Upgrade IOS Upgrade IOS Upgrade IOS Active IOS Standby IOS Active IOS Standby IOS Standby IOS Active IOS XE Virtual Machine IOS XE Virtual Machine IOS XE Virtual Machine ASR 1002 & 1004 (No HW Redundancy) Zero Packet Loss Zero Packet Loss

  30. Software Architecture – IOS XE Control Messaging • IOS XE = IOS + IOS XE Middleware + Platform Software • Operational Consistency - same look and feel as IOS Router • IOS runs as its own Linux process for control plane (Routing, SNMP, CLI etc). Capable of 64bit operation. • Linux kernel with multiple processes running in protected memory for • Fault containment • Re-startability • ISSU of individual SW packages • ASR 1000 HA Innovations • Zero-packet-loss RP Failover • <50ms ESP Failover • “Software Redundancy” Route Processor IOS (Active) IOS (Standby) IOS XE Platform Adaptation Layer (PAL) Chassis Manager Forwarding Manager Interface Manager Kernel QFP Client/Driver SPA Driver SPA Driver SPA Driver SPA Driver Interface Manager Chassis Manager Forwarding Manager Chassis Manager Kernel Kernel Embedded Services Processor SPA Interface Processor

  31. Software Architecture – IOS XE

  32. Software Architecture – IOS XE

  33. Software Architecture – IOS XE

  34. Software Architecture – IOS XE

  35. Software Architecture – IOS XE

  36. Software Architecture – IOS XE

  37. Software Architecture – IOS XE

More Related