Research and Implement on Software Framework for Multicore Network Processors

Author
JiangHanPing
Advisor
LiLaYuan
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2008
Downloads
687
Citations
13

Request the full text

Abstract

Multicore network processor is a kind of integrated circuit(IC)which has two or more executing cores in one package.Each executing core is an independent processor which has its own set of executing units and architecture resources. Multicore network processor can achieve high processing performance and be programmed flexibly.These features make multicore network processor very suitable for the needs of high speed network and its service.Multicore network processor can offer the abilities of high-speed control plane and data plane processing,application-aware processing,DPI,pattern match and encryption accelerating.It is targeted for using in a wide variety of networking and storage equipments,including routers,content-aware switches,triple-play gateways, 3G/4G access and aggregation devices,etc.In these application environments, networks are evolving to deliver a flexible mix of data,voice and video content.Data rates are increasing application delivery mandates the need to process intelligent layer 2 to layer 7 data and content at line rate.A high-performance and universal software framework has become a key issue in this field.The software development of multicore network processors is a very tough task due to the parallel architectural complexity and the cross plane particularity of network processing system.Currently,the deficiencies of software support lie in three aspects:high level programming model,network processing algorithm library and OS support suitable to multi-planes systems.In recent years,scholars have researched a lot of problems wheras there exist still many unresoluted problems.And the research of high-layer application and high performance software framework is still at the initial stage.The dissertation has made innovative progress in the following respects.1)An extensible multi-planes framework has been proposed and implemented, which can support the integration of data plane,control plane and management plane. The data plane and control plane can implement complex network application processing,the management plane has proposed an unify management system to manage mult-service.2)An interaction interfaces framework has been researched and implemented, which can support the communication and coordination between data plane and control plane.In the newest Linux kernel,there isn’t division clearly between fast path and slow path.The dissertation has defined the division and optimized two paths for the first time.A series of interface design is imported to realize the performance balance and improvement between multicore processor and OS kernel.3)An algorithms components library has been imported and implemented based on multicore network processors.A packet scheduler based on the concept of even service sequence is implemented at fast path,which shows that performance of the scheduler is not proportional with the number of flow and thus is quite scalable.A genetic algorithm is constructed for pipelined programming mode,which assigns tasks to processing engines automatieally and accelerate multicore software development process.4)A virtual network block(VNB)framework has been designed and implemented at OS kernel network sub-system,which implements the "low-layer processing" strategy and imports OO(object-oriented)into the kernel level.The VNB framework shields and processes most of illegal packet and release memory,all of key data processing are worked on kernel level.The VNB integrated with multi-planes software framework can improve performance and functions dynamic extension.At the same time,OO is imported in the design of management plane, event mechanism provide the unify configuration and management interface to some high level application.This dissertation implemented and optimized some key IP security applications. To snort,we redesigned it by parallel and multi-thread.To NAT/PT,we optimized it by fast path.To netflow,we redesigned it by dual plane.To IPSec,we import the newest hardware encryption standard at data plane to adapt the special hardware specification and implement all the performance-associated processing at fast path to dig the performance data of multicore processor.At the same time,all of the IP security application’s testing result datas have verified the success of software framework based on multicore network processors. This dissertation is sponsored by National Natural Science Foundation of China under Grant 90304018,60672137,the Doctoral Program Foundationo of Ministry of Edueation of China under Grant 20060497015,and and the Key Technology R & D Program of Hubei Province in China under Grant No.2007AA101c63

Table of contents

Abstract 5-7 Abstract 7-14 Chapter 1 Introduction 14-32 1.1 multi-core network processor concept 14 1.2 multi-core network processor, the history and development trend 14-18 1.2.1 multi-core network processor history 14-15 1.2.2 multi-core network processor development trend 15-18 1.3 multi-core network processor architecture 18-21 1.4 multi-core network processor system structural characteristics 21-25 1.4.1 Parallel 21-22 1.4.2 tiered storage structure 22-23 1.4.3 coprocessor is 23-24 1.4.4 the PE interconnection 24 1.4.5 external interface 24-25 1.5 multi-core network processor software framework defined 25-29 1.5.1 multi-core network processor and software framework designed 25-26 1.5.2 multi-core network processor application needs 26-27 1.5.3 multi-core structure of the software framework 27-29 1.6 work and innovation 29-30 1.7 paper structure 30-32 Chapter 2 multi-core NP software model and system framework design 32-41 2.1 multi-core NP software framework analysis 32-33 2.2 multi-core NP software framework requirements analysis and design goals 33-34 2.3 the multicore NP software framework of the structure and function 34-40 2.3.1 multicore NP development model should be considered 34-35 2.3.2 the multicore NP development model introduced 35-36 2.3.3 multicore NP software framework structure 36-40 2.4 Summary 40-41 Chapter 3 NP adaptation research network processing algorithms 41-75 3.1 NP adapt to the network processing algorithm classification 41-43 3.2 NP packet scheduling strategy and implementation mechanism 43-56 3.2.1 queue scheduling algorithm performance evaluation criteria 45-47 3.2.2 existing queue scheduling algorithm performance comparison 47-50 3.2.3 DDR algorithm and its optimization 50-54 3.2.4 queue scheduling algorithm for the NP to achieve 54-56 3.3 the NP water task set automatically assigned 56-74 3.3.1 the NP task allocation model 58-62 3.3.2 Genetic Algorithm NP task allocation to achieve 62-70 3.3.3 NP genetic algorithm example 70-71 3.3.4 Genetic Algorithm NP pipeline hardware and software design process 71-74 3.4 Summary 74-75 Chapter 4, OS design extensions for multi-core NP 75-95 4.1 OS optimized for multi-core NP, 75-86 4.1.1 kernel scheduling and task design 75-78 4.1.2 parallel computing with symmetric multiprocessing (SMP) design 78-82 4.1.3 processor affinity design 82-86 4.2 multi-core NP packet processing design 86-94 4.2.1 packet processing performance evaluation model 86-88 4.2.2 packet the multicore NP treatment, design and implementation 88-92 4.2.3 packet test results of multi-core NP treatment 92-94 4.3 Summary 94-95 Chapter 5 data plane design framework for multi-core NP, 95-130 5.1 multi-core NP in the data plane software design framework 95-98 5.1.1 Control Plane 96 5.1.2 data plane 96-98 the basic functions of the 5.2 software design framework 98-103 5.2.1 control plane and data plane functions divided 98-99 5.2.2 fast path and slow path distinction 99 5.2.3 Fast Path processing process design 99-101 5.2.4 slow path to handle the process of design 101-103 5.3 Fast Path Virtual interface design 103-107 5.3.1 fast path to the virtual interface (FPVI) defined 103-104 5.3.2 FPVI exceptions defined 104-105 5.3.3 FPVI basic exception handling example 105-106 5.3.4 FPVI copy exception handling example 106 5.3.5 FPVI local delivery exception handling example 106-107 5.4 Fast Path Buffer Manager Interface (FPC), 107-115 5.4.1 NetLink socket interface 108-109 5.4.2 FPC message mechanism 109-112 5.4.3 FPC running mechanism 112-115 5.5 Fast Path statistics interface (FPS) 115-116 5.6 multi-core NP router multi-plane software framework designed 116-117 5.7 software framework for performance testing 117-124 5.7.1 High-performance multi-core platform of choice 117-119 5.7.2 control plane and data plane performance testing 119-121 5.7.3 fast path and slow path performance tests 121-124 5.8 fast path and slow path design examples 124-128 5.8.1 NAT-PT the basic concepts 124-125 5.8.2 NAT-PT works 125-126 5.8.3 NAT-PT slow path design 126-127 5.8.4 NAT-PT fast path design 127-128 5.9 Summary 128-130 Chapter 6 kernel network stack design framework 130-147 6.1 kernel network module 130-142 6.1.1 virtual network (VNB) the technical basis 130-131 6.1.2 VNB framework constitutes a 131-133 6.1.3 VNB framework for data flow and interface design 133-136 6.1.4 virtual network framework core module 136-138 6.1.5 virtual network framework of network applications 138-140 6.1.6 VNB framework of the build process 140-142 6.2 VNB the Framework NETFLOW application design example 142-146 6.3 Summary 146-147 Chapter 7 Management Graphic Design Framework 147-155 7.1 Management Graphic Design 147-154 7.1.1 network application system management plane, the basic concepts 147-148 7.1.2 unified management system, the basic concepts 148-149 7.1.3 unified management system interface design 149-154 7.2 Summary 154-155 Chapter 8, the IPSec implementation based on multi-core processors 155-172 a 8.1 TPSec the technical basis 155-160 8.1.1 IPSec security system structure 155-156 8.1.2 IPSec kernel network 156-158 8.1.3 IPSec packet processing design 158-160 8.2 IPSec-based multicore architecture design 160-167 8.2.1 TPSec control plane and data plane design 160-162 8.2.2 IPSec fast path interface design and implementation 162-164 8.2.3 IPSec fast path data flow design 164-167 8.3 multi-core IPSec performance test 167-171 8.3.1 the IPSec Performance test program 167-168 8.3.2 the IPSec dual-plane program performance test results 168-169 8.3.3 IPSec fast path program performance results 169-171 8.4 Summary 171-172 Chapter 9 Summary and Outlook 172-175 9.1 main job summary 172-173 9.2 multi-core network processor applications Looking 173-175 References 175-185 thank 185-186 published during the PhD thesis 186-188 during the PhD application of invention patents 188-189 PhD to participate in research projects during the 189-190 PhD completed during the standard work 190

Related dissertations

  1. Research and Implementation of Base Station MAC Layer in WIMAX System
  2. Research on Switched Connection and Related Control Protocol for Automatic Switched Optical Network
    WangXiaoDong ·Shanghai Jiaotong University ·2007 ·Doctoral dissertation
  3. Research of Network Quality of Service and Network Security Based on Network Processor
    XieLiFeng ·Zhejiang University ·2004 ·Doctoral dissertation
  4. Research and Implementation of High Performance Virtual Private Network Based on Network Processor
    ZhangFeng ·Zhejiang University ·2003 ·Doctoral dissertation
  5. Based on IXP2350 Integrated Access Device Design and Implementation
  6. Control plane based on the IPv6 network processor hardware firewall program design and research
  7. The Research and Implantation of Control Level of a Distributed Modular Router
  8. Research and Design of SI Handover Technology in LTE System
    ZhaoLun ·WRI ·2012 ·Master's thesis
  9. Realization and Application of IPv6Protocol Stack Based on WLAN
    Sun ·WRI ·2014 ·Master's thesis
  10. Design and Implementation of a Data Detection System Based IPv6Network
    ZhuBaiTong ·Shandong University ·2013 ·Master's thesis
  11. Research on the Key Technologies of Software and Hardware of Parallel Task Schedyling of Multi-core Network Processor
  12. Design and Implementation of Video Telephony Over CDMA/EVDO Mobile Terminal
    WangZuo ·Shandong University ·2012 ·Master's thesis
  13. Design and Implementation of Optical Network Control Plane Based on Centralized Open Control Protocol
  14. Study on the Link Fault Management with GMPLS in WDM-PON
  15. Research on QoS Mechansim in GMPLS/OBS Hybrid Network
  16. Design and Implementation of the Micro-engine Software Based on Network Processor for a Multi-network Gateway
  17. Research on Virtual Private Network for Hierarchically Switched Networks
    LouXueMing ·Institute of Computing Technology ·2005 ·Doctoral dissertation
  18. The Performance of Auto Switch Optical Network and Planning
  19. Study on Technologies of Survivability and Intelligent Control Plane for Optical Networks
  20. Metropolitan Area Network Design Research Based on Automatically Switch Optical Network
    LiuXiaoMing ·Dalian Maritime University ·2007 ·Master's thesis