The Design and Implementation of the multi - core router dynamic memory allocator
- Author
- LiMing
- Advisor
- FuYiDe
- School
- Nanjing University of Technology and Engineering
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 20
- Citations
- 0
Abstract
With increasing Internet applications , network traffic was explosive growth , as the switching nodes in the network router in constant development , architecture and application software to adapt to changing router needs . Dynamic memory management as a the router base module , the level of performance has an important impact on the router's processing capacity and processing capacity . Dynamic memory management performance memory allocator whether full advantage of the characteristics of their hardware and software applications , so you want to design a high-performance dynamic memory allocator , we must fully understand the characteristics of the router hardware and software structure , the router software uses memory the law , the article is based on this approach to routers dynamic memory allocator designed and implemented . This paper first describes the types of dynamic memory allocation algorithms , analyze their performance differences under different application conditions ; followed by structural features for the router hardware and software , not only used in single-core processor system can be applied to multi-core multi-threaded design a processor systems , and can be adapted to different operating systems, the dynamic memory allocator , In addition , the characteristics of the router software uses memory , distributor focused on improving the small object allocation and release rate ; once again , on the realization of the dispenser is described ; Finally, the analysis of the performance of the dispenser and verified. Proved by actual verification , the memory allocator designed to meet the application requirements of different hardware and software configurations and router , with very fast speed for a small object allocation and a high degree of efficiency in the use of bulk allocation , and general-purpose memory allocation compared to their own strengths, but the distributor speed design faster and more real-time , more suitable for multi-core router .
Table of contents
Abstract 3-4
Abstract 4-8
1 Introduction 8-15
1.1 Background and Significance of topics 8-9
1.2 project-based hardware and software environment 9-13
1.3 router memory management Research 13-14
1.4 topics of research and work of the 14
1.5 The paper is organized 14-15
2 multi-core dynamic memory management technology analysis and research 15-31
2.1 Dynamic Memory Management Overview 15-18
2.1.1 dynamic memory management objectives 16
2.1.2 dynamic memory management, the basic problem 16-17
2.1 .3 dynamic memory management design principles 17-18
2.2 dynamic memory management basic allocation algorithm 18-23
2.2.1 sequential search (Sequential Fits) 18-19
2.2.2 Classification Search (Segregated Free Fits) 19-20
2.2.3 buddy system (Buddy Systems) 20-22
2.2. 4 Index Search (Index Fits) 22
2.2.5 bitmap Search (Bitmapped Fits) 22
2.2.6 Summary of basic allocation algorithm 22-23 < br /> 2.3 multicore memory management 23-29
2.3.1 introduces problems 23-25 ??
2.3.2 solution that can be taken 25-27
2.3.3 existing memory allocator 27-29
2.4 typical problems of memory management 29-30
2.5 Summary 30-31
3-core router memory allocator designed 31-46
3.1 allocator needs analysis 31-34
3.1.1 multicore architecture 31 - 32
3.1.2 software hierarchy 32-33
3.1.3 dispenser design goals 33-34
3.2 Splitter strategic analysis 34 -36
3.2.1 object size distribution 35-36
3.2.2 memory usage characteristics 36
3.3 Splitter program to determine 36-44
3.3.1 partitioning scheme 36-37
3.3.2 heap partitioning scheme 37-38
3.3.3 fragmented memory allocation scheme 38-42
3.3.4 Raw memory allocation scheme 42-44
3.4 Splitter Design Summary 44-46
4-core router memory allocator to achieve 46-56
4.1 logical partition management 46-48
4.2 patch memory to achieve 48-52
4.2.1 main data structure 48-50
4.2.2 fragmented memory allocation 50-51
4.2.3 patch release memory 51-52
4.3 Raw memory implementation 52-54
4.3.1 main data structure 52-53
4.3.2 Raw memory allocation 53
4.3.3 Raw memory release 53-54
4.4 allocator Summary 54-56
4.4.1 allocator debugging information 54
4.4.2 distributor locality optimization 54-55
4.4.3 of this chapter section 55-56
5 multicore router memory allocator performance analysis and validation of 56-63
5.1 debris analysis 56-58
5.1.1 Debris Analysis within 56-58
5.1.2 outer debris analysis 58
5.2 Locality analysis 58-59
5.3 multicore performance analysis 59-60
5.3.1 exclusive access 59
5.3.2 shared failure 59 - 60
5.4 operating time analysis 60-61
5.5 performance verification 61-63
5.5.1 Verification Environment 61
5.5. two verification results 61-63
6 summarizes 63-65
6.1 This article summarizes 63
6.2 Future Work Prospects 63 - 65
Thanks 65-66
References 66-70
Appendix 70
Related dissertations
- The Research and Design of Xiangyang Career Technical College Campus Network Virus Prevntion System
- Hierarchical Network Routing Implementation in Family Gateway
- Research on Storage System in High Performance Routers
- Self-Tuning Data Prefetcher for Embedded System
- Research on Conflict Management Strategies in Multicore-oriented Software Transactional Memory
- Smart Home System Based on Zigbee Wireless Communication Technology
- Research on Key Technologies of Cost-efficient Fault-tolerant Networks-on-chip
- Design of On-board Bus Networks Based on SpaceWire
- Research of Downhole Data Acquisition System Based on ZigBee Protocol
- Fabrication and Transmission Property Research of Photonic Crystal Fiber
- Design and Supermode Analysis of Seven-core Photonic Crystal Fiber
- The Planning and Construction of Campus Network
- Research on the System of Anomaly Traffic Identihcation and the Key Technologies
- A Approach and Realization of Router Attack Technology Based on Vulnerability Attacking Theory
- The Design and Development of the Router Remote Management Assistant
- Implementation Scheme and Implementation Research for AQM Algorithms Based on FPGA
- Research and Implementation of Test Methods of Ethernet Routers and Switches Physical Layer Interface
- Research on Ethernet switch / router protocol testing method
- Research and Implement of Packet Transport Network Store-and-Forward and Scheduling Key Technology
- Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems