Research Reverse Mappings Technique on Linux2.6 Memory Management

Author
WangShuai
Advisor
WangZuo
School
Chongqing University
Major
Computer Software and Theory
Classification
TP316.81
Degree
Master's thesis
Year
2007
Downloads
218
Citations
0

Request the full text

Abstract

In the Linux operating system. System memory management unit responsible for the overall management of the physical address space and virtual address space. Translate user virtual addresses to physical addresses and the pages out such operations. It is the most important system kernel integral part of, the existence and operation of the entire system is based. Have a strong and sophisticated memory management subsystem is building a high reliability and scalability of the system as a hedge pieces. With the development and maturity of the Linux kernel. Linux users can look forward to more of the operating system to handle very large scientific analysis of the application procedure, or even Massive database. Linux kernel 2.6 release in 2004. Many of the 2.6 Linux kernel using technology to improve the use of memory, improve memory management subsystem efficiency.In the paper the Linux memory management part of their research, Analysis of the main ceremony at the request of the Linux operating system virtual memory management and paging memory mapping and management mechanisms, linux2.6 focus on the core formally joined the reverse mapping technology Based on the reverse of pages from the original mapping of the feasibility of various methods of improvement.Chapter 2 analyzes Linux memory management programs and a reduction in some parts of the film have taken Buddy algorithm MOTSA distributor partners in the technology and algorithms to increase the vmalloc function. In a piece of the performance management of Linux users after the test is a high efficiency, Many of the embedded operating system no uniform memory allocation management standards Very often, in reference Linux memory allocation management.Chapter 3 analyzes the virtual addresses into physical addresses, and to ensure the fair and efficient sharing of the physical processes in the virtual memory to be memory management. Introduced new technology : the use of the Linux kernel by adding more memory pages. page table entries are stored in memory and page-based reverse mapping technology.Chapter 4 continue to join the Kernel Analysis linux2.6 reverse mapping technique, but also the focus of the presentations. Reverse mapping technology to improve the tracking of the physical map page corresponding to the designated page virtual memory management in the region. page-based reverse mapping and page-direct approach and object-based reverse mapping and feasibility of the method are this chapter major content.Chapter 5 is based on the right front of the Linux virtual memory management and management relationship mapping of the analysis Object-based reverse mapping feasibility. And against the Page joined the call made based on object mapping the reverse ways.

Table of contents

Abstract 3-4 ABSTRACT 4-8 1 Introduction 8-11 of 1.1 subject of academic and practical significance 8-9 1.2 research status 1.3 This study purpose and content 9-10 1.4 papers arrangement 10-11 2 LINUX Memory Management Summary 11-19 2.1 LINUX storage management Introduction 11 2.2 process virtual memory management 11-15 2.2.1 process user space 12-13 2.2.2 process kernel space 13 2.2.3 process virtual memory region 13-15 2.3 physical memory page management 15-19 the LINUX memory mapping and management mechanisms 19-29 3.1 Address mapping conversion 19-21 3.2 kernel management page memory way 21-25 3.2.1 request paging 21 3.2.2 core the exchange background process 21-23 3.2.3 swapped out and discard the page 23-24 3.2.4 page swapped 24-25 3.3 LINUX2.6 kernel, improved memory management 25-29 3.3.1 Large memory pages 25-26 3.3.2 in the high-end memory stored in the page table entry 26-27 3.3.3 reverse mapping 27-29 4 LINUX2.6 the reverse mapping methods in analysis and improvement 29-34 4.1 OBJECT-PAGE RMAP technology 29-31 420 reverse page table maintenance 31-33 4.2.1 page fail interrupt 31-32 4.2.2 page migration and replication 32 4.2.3 switching and paging 32-33 4.3 P page directly 33-34 5 object-based reverse mapping design research 34-43 5.1 based on the concept of object reverse mapping 34 5.2 based on the object reverse mapping page divided 34-35 5.3 the object reverse mapping design 35-41 the the 5.4 reverse mapping design ideas summed 41-43 6 Summary and Outlook 43-45 Acknowledgements 45-46 the References 46-49 the Appendix: catalog of papers published by the author during the master's degree 49