Research on BGP Parallelism Technologies for Multicore and Multi-threading
- Author
- GaoLei
- Advisor
- GongZhengHu , LiuYaPing
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Doctoral dissertation
- Year
- 2009
- Downloads
- 212
- Citations
- 4
- Multi-core processors
- BGP
- Performance Optimization
- Thread-Level Parallelism
- Routing table parallel access
- Route advertisement between threads
Abstract
Order to adapt to the needs of the ultra-large-scale ultra-high-speed information networks, next generation Internet should have security, real-time performance, manageability, availability, and scalability characteristics of core router as a building Internet network infrastructure, its existing hardware architecture and protocol software structure has been unable to meet the above requirements. In particular, the key inter-domain routing protocol BGP (Border Gateway Protocol) With the rapid growth of Internet-scale as well as a variety of network applications in large numbers, routing system gradually facing performance with multi-dimensional scalability aspects of serious challenges. With strong computing power for multi-core processors, support multiple levels of parallelism, with higher memory and I / O bandwidth, easy expansion, and low power consumption huge advantage, to solve the problems faced by the BGP protocol to provide a broad space has become the cornerstone to build the next-generation Internet networks. Therefore, the study of the BGP protocol to take full advantage of multi-core processors in terms of structure and performance advantages of how to meet the future Internet demand, provide a theoretical basis and technical support for the construction of the next generation of Internet infrastructure, has a very important practical significance. This article is for multi-core processor platform, to BGP protocol performance optimization focus, expand the BGP protocol thread-level parallelism technology. First, by analyzing the BGP protocol behavior and potential parallel characteristics of the two threaded BGP (T-BGP) protocol parallel software structure: multi-instance T-BGP, and the multitasking T-BGP, and their architecture design; then, the focus of study speculated threads divided multitasking T-BGP protocol, as well as multi-instance T-BGP protocol routing table parallel route advertisements technology access between threads; Finally, the multi-instance T-BGP protocol based on finished T-BGP Design and Implementation of the prototype system. The research results achieved in this paper include the following aspects: 1, two T-BGP protocol parallel software architecture: multi-instance T-BGP protocol with multi-tasking, T-BGP protocol. Multi-instance T-BGP protocol based neighbor session divided by the thread of a management and a group of BGP instance thread using data parallel thinking neighbor session distributed in the different the BGP instance of threads on parallel processing. The parallel architecture has good performance optimization effect, multi-dimensional scalability, routing and high real-time program development and design less difficult, and easy to achieve load balancing among the threads, however, enhance the efficiency of its operation depends on the routing table parallel access conflict between threads routing Notice blocking key issues effectively resolved. Multitasking T-BGP protocol to ease the BGP protocol running bottleneck as the goal, task parallelism, decomposition of the update packet processing core of the implementation of the agreement in parsing thread, the routing update thread and package thread parallel execution, while the rest are still processing by managing threads. The agreement is designed to tap the program within the task parallelism, the parallel performance of the play depends on the thread divided, thread scheduling, and other key factors. 2 based on local speculation thread partitioning technique, digging more fine-grained thread parallel multitasking T-BGP protocol agreement to improve the degree of parallelism. Through the analysis of potential speculative thread multitasking T-BGP protocol independent heuristic algorithm based on the minimum cut of each function thread local speculation thread divided. At the same time, also put forward the the thread speculated strategy to achieve the multi-threaded parallel execution, using speculate submission policy and write after reading detection mechanism to ensure the correctness of the thread speculative execution and program run results. Finally, to complete the local speculate technology of multi-tasking T-BGP protocol of functional validation and performance simulation and experimental results show, this method has the effect of threads divided calculate low complexity characteristics, local speculate technical significantly reduce the various The function thread execution time, get a good performance boost. Proposed an efficient routing table parallel access technology, an effective solution to the problem of multi-instance T-BGP protocol routing table follows the traditional routing table structure parallel access violation. The traditional routing table to reorganize become a dynamic reconfigurable routing table structure, a fine-grained dynamic split reorganization algorithm, dynamic adjustment of the routing table structure periodically, according to the routing node access frequency divided subtree thus restructuring for the set of the plurality of sub-tree. Dynamically reconfigurable routing table by two access, the local subtree lock and other ways to support the parallel in different threads to access the routing table, effectively overcome the performance bottleneck of the serial access to the routing table. Split reorganization algorithm by balancing the the visit load on each sub-tree collection, making the routing table to a 92.5% reduction in concurrent access conflicts. In addition, to modify the operation of the routing table to support simple access behavior. The experimental results show that the configuration of the three the number of threads, the largest single-threaded routing update time-consuming than using the traditional routing table reduced by an average of about 48.7%, 50.5% and 71.1%, effectively alleviate the the routing update stage performance bottleneck. 4 apply to the non-blocking thread between multiple instances of the T-BGP protocol proposes a route advertisement technology to overcome the traditional lock-based mechanism to share the queue routing Notice way brought a large number of shared access to the conflict. In this method, each thread for all the neighbors of each maintenance of a neighbor multicast queue, the updated routing only write all of the threads broadcast queue; logo from all the threads for multicast routing, each thread will be based on the neighbor session for local processing matching neighbors broadcast the read queue routing information to avoid competition visit neighbors broadcast queue for each thread. Each neighbor multicast queues are designed to lock-free queue SCLF (Speedy Concurrency Lock-free FIFO), nonblocking the quick routing information dissemination between threads; designed with cache ping-pong relief route broadcast to reduce bumps due to cache data caused cache miss overhead. The experimental results show that this method makes between threads routing notice of time to reduce average about 79.4% the design SCLF lock-free queue queue operation time is significantly improved, and a decrease of 56.5% compared Lamport queue operation consuming about. 5, based on multiple instances of the T-BGP protocol to complete the T-BGP Design and Implementation of a prototype system, and focuses on the implementation details of the main thread from the thread design. The system is applied dynamically reconfigurable routing the table technology with non-blocking thread route advertisements are more instances of the T-BGP protocol to provide a more efficient parallel processing capabilities. Then, on T-BGP routing learning time of the prototype system, eBGP neighbors switching speed, CPU usage and system speedup key indicators were testing and analysis, the experimental results show that, compared with traditional BGP protocol, key performance indicators has been significantly improved. In summary, the for BGP protocol performance optimization effective solutions, theoretical research and practical use to promote the new type of inter-domain routing technology has certain theoretical value and application value.
Table of contents
Abstract 13-15
Abstract 15-18
first chapter 18-42
the 1.1 research background and significance 18-29
1.1.1 Internet routing system with BGP protocol Introduction 18-20
1.1.2 BGP performance and scalability challenges faced 20-23
1.1.3 multicore processors bring opportunities and challenges to the BGP protocol 23-26
1.1.4 research significance 26-29
1.2 related research 29-36
1.2.1 BGP protocol parallel processing technology research 29-32
1.2.2 thread-level parallelism for multicore processors 32-36
1.3 This study contents and main contribution 36-40
1.3.1 research content 36-38
main contribution of this paper 1.3.2 38-40
1.4 thesis structure 40-42
threaded BGP protocol parallel software structure research 42-64
2.1 research ideas 42-44
2.2 multi-instance T-BGP protocol parallel software architecture 44-54
2.2.1 multi-instance T-BGP protocol structure defined 44-45
2.2.2 multi-instance T-BGP protocol architecture 45-50
2.2.3 multi-instance T-BGP protocol workflow 50-52
2.2.4 multi-instance T-BGP protocol design key issues 52-53
2.2.5 multi-instance T-BGP protocol acceleration ratio analysis 53-54
the 2.3 multitasking T-BGP protocol parallel software architecture 54-60
2.3.1 multitasking T-BGP protocol structure defined 54-55
2.3.2 multitasking T-BGP protocol architecture 55-58
2.3.3 multitasking T-BGP protocol workflow 58-59
2.3.4 multitasking T-BGP protocol design key issues 59-60
2.3.5 multitasking T-BGP protocol acceleration ratio analysis 60
of 2.4 two parallel structural analysis and compare 60-61
2.5 Summary 61-64
-based the local speculation thread divided Technology 64-88
3.1 Related work 64-65
3.2 multitasking local T-BGP protocol speculated technology 65-69
3.2.1 speculated Technical Overview 65-66
3.2.2 local speculative analysis 66-69
3.3 the thread classification method based on the minimum cut 69-78
3.3.1 minimum cut problem 70
3.3.2 control flow graph construction method 70-72
3.3.3 thread partitioning algorithm based on the minimum cut 72-74
3.3.4 Performance metrics 74-78
3.4 speculated in parallel to achieve the technical 78-81
3.4.1 speculated strategy 78-80
3.4.2 speculative execution method 80-81
3.5 Experimental evaluation 81-87
3.5.1 Functional Verification 82
3.5.2 thread division and performance prediction 82-84
3.5.3 Performance Evaluation 84-87
3.6 Summary 87-88
Chapter dynamically reconfigurable routing table the parallel access technology 88-108
4.1 research ideas 88
4.2 make 88-89
4.3 Related work 89-90
4.4 the parallel access technology based on dynamically reconfigurable routing table 90-101
4.4.1 routing table lock granularity 91-92
4.4.2 dynamically reconfigurable routing table architecture 92-94
4.4.3 routing table partitioning algorithm based on fine-grained split restructuring 94-97
4.4.4 Dynamic Reconfigurable the method of operation of the routing table and 97-101
4.5 dynamically reconfigurable routing table operation complexity analysis 101-103
4.6 Experimental evaluation 103-106
4.6.1 routing table parallel access violation 103-105
4.6.2 routing update performance 105-106
4.7 Summary 106-108
Chapter nonblocking threads route advertisements Research 108-130
5.1 ideas 108-109
5.2 Related work 109-110
5.3 the route advertisement methods research and analysis based lock queue 110-115
a 5.3.1 based lock queue routing Notice method 110-111
5.3.2 lock queue, Design and Implementation 111-113
5.3.3 performance analytical model 113-115
5.4 nonblocking routing Notice Technical 115-117
5.5 fast lock to queue the design of SCLF 117-121
5.5.1 SCLF design lock-free queue implementation 117-120
the correctness analysis
5.5.2 SCLF algorithm 120-121
5.6 Cache shared data ping-pong effect solution 121-124
5.7 Performance Evaluation 124-128
5.7.1 analytical model results 124-125
5.7.2 SCLF algorithm performance evaluation 125-126
5.7.3 route advertisement performance evaluation 126-128
5.8 Summary 128-130
Chapter T-BGP protocol prototype system design and realization 130-154
6.1 T-BGP protocol prototype system overview 130-133
6.2 T-BGP protocol prototype system, the main thread design 133-140
6.2.1 process initialization module is designed 134-136
the
the 6.2.2 event management module design 136-137
6.2.3 neighbor mapping module design 137-138
6.2.4 command processing module design 138-139
6.2.5 Scan timing processing module design 139-140
6.3 T-BGP protocol prototype system designed from the thread 140-144
6.3.1 from the main function of the thread design 141-142
6.3.2 routing updates with the storage module design 142-143
6.3.3 route advertisement module design 143-144
6.4 Experimental evaluation 144-152
6.4.1 Routing learning time 145-148
6.4.2 EBGP neighbor switching speed 148-151
6.4.3 CPU usage 151-152
6.4.4 speedup analysis 152
6.5 Summary 152-154
Chapter VII Conclusion 154-158
7.1 work summarizes 154-156
7.2 Job Outlook 156-158
Acknowledgements 158-160
the
References 160-172
the
author achieved academic achievements during the study period 172-174
of the study period to participate in research awards 174
Related dissertations
- Research on the Improvement of the Performance Appraisal System for the Dispatching Labors of Changsha Mobile Communication Company
- Research on Performance Management of the Credit Cooperation in Shandongacounty
- Software Design and Optimization of a Perceptual State System for Quadruped Bionic Robot
- A Study of Prefix Hijacking Defense and Detection in Inter-Domain Routing
- Research on Routing Flap Damp Based on Analysis of Network Status
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- Research and Implementation of Parallel Query Processing in Column-store
- Uncertain Construction and Optimization of Reverse Logistics System
- Research on Energy-efficient Real-time Task Scheduling Algorithm Based on Multi-core Processors
- Research on Parallel Computing Technology in Loudi Region Analysis of Soil and Water Loss in the Processing of Application
- Research on Performance Testing and Optimization Based on Massive Data Storage
- Research on the WCET Analysis of Real-time Systems in Multi-core Platform
- Research on Key Techniques on Design of Data-driven Asynchronous Microprocessors
- Optimization Design and Implementation of the ICS Terminal
- A Theoretical Analysis of the Lifetime and Energy Hole in Cluster Based Wireless Sensor Networks
- Local Mobile IP Bearer Network’s Research Based on the WCDMA Core Network
- Design and research of testing system of MPLS L2VPN protocol based on TTCN-3
- Mandibular Defect Repaired by HGF Combined with PluronicF-127Gel
- Through the observation of ET, BGP index change research Tongluo therapy of Tonifying the kidney in steroid induced avascular necrosis of femoral head
- Through the observation of VEGF, BGP and AKP index to study the relationship between changes of the therapy of Tonifying the kidney and activating glucocorticoid induced avascular necrosis of femoral head