The Research for the Memory Management Mechanism in the Embedded Linux
- Author
- LiuJianJun
- Advisor
- ZhangXiaoMing
- School
- Shenyang University of Technology
- Major
- Applied Computer Technology
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 100
- Citations
- 0
Abstract
With modern technology, computers, communications, intelligent home appliances, consumer electronics and technology trends in the gradual formation of one, making mankind gradually into the network, information, intelligence community. Embedded systems are also obtained in the course of this gradual increasing attention and application. Memory management as an important research area in computer science. Once the programmer negligence, on the memory management errors will cause a series of memory failures. Therefore, the memory memory management fault detection has become a very important part of the memory failure detection has become an unavoidable issue. Due to the embedded system resources and real-time constraints, fault detection of memory to have an important significance.This paper summarizes a variety of memory management based on long-term operation of the application environment, working under heavy memory management of embedded Linux solutions, and proposed for the realization of such a program must address the key issues, such as memory failure and so on.This study is the memory failure detection problems, such as memory leaks and memory resources to write out of bounds. Real-time open-source testing tool for the current poor, the larger cross-border test disadvantages of resource consumption, a high resource consumption of real time and low memory fault detection algorithm, which is based on the type of pointer memory test algorithms. This algorithm avoids detection in cross-border take more resources, can improve detection performance in real time, greatly reducing the CPU memory failure detection caused dramatic changes in the value of holding time.This article reports on existing detection tools based on the improved way of reporting, for each failure to provide a complete stack trace memory block. Including the source code files, function and line number; in the form of the log file contents of a complete test report.
Table of contents
Summary 5-6
Abstract 6-10
first chapter 10-15
1.1 research background, purpose, meaning, 10-11
1.2 development status at home and abroad 11-13
1.2.1 foreign memory management mechanism of dynamic 11-13
1.2.2 domestic related research status quo study of the subject content of 13
1.3 the chapter structure 13-14
1.4 This article 14-15
second chapter of the operating system memory management mechanism analysis 15-33
2.1 Basic memory management 15-20
2.1.1 Single-channel program designed 15-16
2.1.2 the fixed partition storage management strategy 16-17
2.1.3 Variable partition storage management strategy 17-18
2.1.4 multi-channel design model 18 - 20
2.2 exchange technical 20-24
2.2.1 bitmap storage management 21-22
2.2.2 linked list storage management 22-24
2.3 virtual memory technology the 24-29 2.3.1 transition detection buffer
25-26
2.3.2 page replacement algorithm 26-29
2.4 Sample Analysis 29-32
2.4.1 Linux memory management program 29-30
2.4.2 Windows2000 storage management program of 30 - 32
2.5 Chapter Summary 32-33
Chapter embedded systems storage management technology 33-41
3.1 Embedded System memory Overview 33 -35
3.2 embedded system's memory management features 35
3.3 embedded systems, the memory allocation requirements 35-36
3.4 embedded memory allocation scheme 36-37
3.5 uClinux operating system 37-40
3.5.1 uClinux kernel structure 37-38
3.5.2 uClinux memory management 38-40
3.6 Chapter Summary 40-41
Chapter embedded Linux memory fault detection algorithm design 41-49
4.1 concept of memory leaks Analysis 41-44
4.1.1 memory resource leak definition 41-42
4.1.2 memory resource leak reason 42-43
4.1. 3 memory resource leak classified 43
4.1.4 memory resource leak trigger conditions 43-44
the 4.2 memory write cross-border 44-45
4.3 based classified pointer memory test algorithms the 45-47
4.3.1 memory resource leak detection methods 45-46
4.3.2 the CPO algorithm design 46-47
4.4 memory write cross-border detection algorithm design 47-48
4.5 Chapter Summary 48-49
Chapter embedded Linux memory fault detection algorithm 49-67
5.1 dynamic memory tracking 49-50
5.2 position structure 50-51
5.3 data structure and interface 51-55
5.3.1 data structure 51-52
5.3.2 main function interface 52-55
5.4 CPO specific algorithm implementation 55 - 63
5.4.1 memory write cross-border algorithm 55-56
5.4.2 memory block allocation to return 5.4.3 memory blocks 56-57
57-58
5.4.4 CPO algorithm to achieve 58-59
5.4.5 CPO algorithm implementation process 59-63
5.5 performance detection 5.6 Chapter Summary 63-66
66-67
Chapter VI Conclusion to References 67-68
68-70
Appendix the A function interfaces 70-75
A.1 internal function interface 70-72
A.2 external function interface 72-75
Appendix B system test 75-81
B.1 test program 75-79
B.2 test results 79-81
the outcome of the study, 81-82
Acknowledgements 82
Related dissertations
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Research and Design of Harmonic Detecting Device Based on ARM9
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Development of Small Smart Controller Software Technology Based on ARM9
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android
- Research and Development of Intelligent Board Based on Multi-sensor Fusion
- Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
- Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
- Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
- The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
- The Research and Design of Embedded Linux Based on ST-E9500
- Research of Embedded Linux Device Drivers Concurrency Control
- Distributed Data Management and Access Optimization Strategy of Rendering Application
- Distributed Memory File Caching System for High Performance Computing
- Virtual Machine Memory Management Based on Cloud Computing Environment
- Research and design of Beidou navigation terminal based on ARM+FPGA