The Research and Improvement of WindowsCE’s Memory Management Mechanism
- Author
- QuWei
- Advisor
- ZhangXiaoMing
- School
- Shenyang University of Technology
- Major
- Computer Software and Theory
- Classification
- TP316.8 Network operating system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 126
- Citations
- 4
Abstract
Embedded system is a special computer system whose purpose is for special applications. It bases on computer technology, the hardware and software of embedded system can be customized. Some factors are crucial to embedded system such as function, reliability, cost, the size and work. The Embedded Operating System is the most important thing in the architecture of Embedded System. As an advanced Embedded Operating System, WindowsCE becomes more and more popular.Compared with desktop system, WindowsCE system simplifies the function of memory management deeply due to the running on a resource limited embedded system. Although the running cost is reduced, the maturity of function is influenced. As a result, there are some problems in virtual memory management, heap management and process spatial management of WindowsCE.Based on the problems above, this thesis analysis the mechanism of WindowsCE’s memory management. The thesis expands the physic memory management mechanism, virtual memory management mechanism and heap management through the area of source code in WindowsCE, data structure and principle of arithmetic. Further more it analysis the set-up procedure in the memory management in WindowsCE system. It also investigates the working principle in X86’s Memory Management Unit for the virtual memory management mechanism in WindowsCE system.The thesis introduces a new mechanism for memory allocation of class. When create a class object, it allocates the memory and calls construct function. On the other hand, it releases both memory and deconstructs the class object. We use standard C++’s operator overload mechanism in order to deal with the calling problem in constructor function and destructor. The small-object allocation is implemented through the small-object allocate technology. The small-object allocation did a special method in the small-object space allocation in order to centrally management the class objects which have the same size. The solutions above not onlyoptimize the heap space in WindowsCE system but also play a better performance than standard C++.The design used to store dynamic data structure in mechanism of memory management due to the lack of virtual memory allocation mechanism in WindowsCE system. This mechanism used memory pool to implement the memory allocation. This article introduces the data structure and the main interface function implement circuit in this mechanism. It also simplifies the arithmetic of chip collection in order to improve practicability. When more memory chip appears, the space of memory pool uses the arithmetic to be optimized. At the end of the article, it describes the test result in the performance of virtual allocation mechanism of WindowsCE system.
Table of contents
Abstract 5-6
Abstraet 6-11
1 Introduction 11-14
1.1 subject background 11-12 <br / > 1.2 and abroad major research work
1.3 the 12-14
2 related technologies introduced 14-20
2.1 embedded systems 14-16
the 2.1.1 embedded systems definition 14
the 2.1.2 embedded systems characteristics 14-15
2.1 .3 embedded systems development history 15-16
2,2 embedded operating system 16-17
2.3 WindowsCE Embedded operating system 17-20
2.3.1 WindowsCE structure the
2.3.2 WindowsCE, 17-19 characteristics 19-20
the WindowsCE Memory management mechanism 20-36
3.1 WindowsCE memory architecture the 20-21
3.2 WindowsCE physical, memory management mechanism the 21-26 the 3.2.1 design ideas
21-22
3.2.2 The main data structure the 22-24
the 3.2.3 physical memory management mechanism to establish 24-25
3.2.4 physical page application and release 25-26
3.3 WindowsCE virtual memory management mechanism the
3.3.1 WindowsCE, 26-34, the virtual address format and data structure 26-28
3.3. nbsp 2 WindowsCE process space allocation algorithm; 28
3.3.3 WlndowsCE, virtual memory allocation algorithm 28-29
3.3.4 WindowsCE, virtual memory management mechanism exists nbsp virtual memory management mechanism works on the X86MMU; 29-30
3.3.5 the 30-34
3.4 WindowsCE heap of management mechanism 34-36
3.4. nbsp 1 WindowsCE heap classification; 34
3.4.2 WindowsCE heap data structure the heap operation of 34
3.4.3 WindowsCE 34-36
Windows CE memory management mechanism improvement program 36-57
the 4.1 heap management mechanisms improved nbsp.; 36-45
4.1.1 small object allocation techniques Introduction 37 < br /> 4.1.2 Large memory management 37-40
4.1.3 small object allocator 40-42
4.1.4 common base class 42-43
4.1.5 performance comparison test 43-45
4.2 virtual memory management mechanisms improved 45-55
4.2.1 important data structure introduced 45-48
4.2.2 main function introduced the 48-52
4.2.3 defragmentation algorithm 52-53
4.2.4 Performance Test Analysis 53-55
4.3 DLL loading method discussed 55-57 IN
conclusion 57-58
Reference 58-61 < br /> the outcome of the study, 61-62
Acknowledgements 62
Related dissertations
- 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
- Optimization Design and Implementation of the ICS Terminal
- The Study and Design of Handheld PDA Device Based on ARM
- Research on Tower Crane's Spacial Runnig States Stability Control Algorithm and Monitoring System
- Design and Implimentation of Micro-Embedded Virtual Machine in a Trusted Environment
- The Design and Implementation of CCD Image Acquisition Software System
- Research on the Index of Moving Objects
- Research of memory management strategy for high performance IPC
- Design and Implementation of the Memory Data Management Subsystem for Street Lighting System
- The Design and Implementation of the Input Method Skin Engine for the Android Platform
- Research on Technology of Managing Shared Memory in Multicore Operating Systems
- The Design of Parallel Programming Simplification Based on CUDA
- The Memory Management Based on the Embedded Systems
- Research and implementation of memory optimization in multi machine virtualization environment
- Research of Storage Management in Main Memory Database
- The Firmware Driver Development of Intel Xeon-E5Multiprocessor in UEFI
- A Study of Memory Management and Performance Test of Virtual Machine
- Composition Principle and Test of PND Series Products