Linux boot process analysis and optimization
- Author
- QiuZuo
- Advisor
- ChenWenZhi
- School
- Zhejiang University
- Major
- Software Engineering
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 904
- Citations
- 9
Abstract
Linux, branch of the UNIX OS (operating system), is a free Operating System. It befits the embedded system and network server system. With its stability, efficient and flexible, Linux has been cognized by more and more common users and spreads in the tabletop computer system more widely.This paper analyzes the whole boot process of Linux, and attempts to cut down the code of the boot module, in order to create a system environment for user applications faster every time the computer starts. As we known, the OS boot is a complicated and necessary process. It means users will spend much time on waiting. In the field of information appliance (IA), customers require that the embedded Linux OS is able to boot as fast as possible so that the devices can be ready for using quickly after being power on. In the field of tabletop computers, the short boot time will increase the competitiveness of Linux comparing with Microsoft Windows OS. Therefore, it is worth to research the optimization of Linux boot. The main work of the optimization research is as followings: To determine the concrete boot phase, user application initialization layer, for speeding up by analyzing the kernel code of Linux boot module in detail. According the Linux characteristics, to design a optimization model: Boot Snapshot. This method reduces the steps of the application initializations through saving the system state and reloading it. To implement the optimization model. In this text, the three key parts are presented: creating snapshot image, operating backup image through block I/O layer, and the method of assuring the system consistency. To test and compare the different boot optimizations, analyze their advantages and disadvantages, conclude the further research direction.
Table of contents
Abstract 2-3
ABSTRACT 3-4
directory 4-6
The first chapter 6-10
1.1 LINUX Introduction 6-7
1.2 significance of the research and the main content 7-8
1.3 guiding ideology and research papers organization 8-10
Chapter LINUX boot optimization background 10-17
2.1 Modify INITTAB script action tags 10-11
2.2 parallelization loading services 11-13
2.3 by pre- caching to improve I / O efficiency 13-14
2.4 Comparison and analysis of existing methods 14-17
Chapter LINUX startup module 17-27
3.1 BOOT LOADER 17-19
3.2 function STARTUP_32 () 19-20
3.3 function START_KERNEL () 20-22
3.4 kernel thread - INIT 22-24
3.5 user layer initialized 24-27
Chapter \
4.1 application startup time consuming root 28-33
4.1.1 process critical data structures 28-30
4.1.2 Process creation 30-32
4.1.3 Service initialization 32-33
4.2 adjust the application is started 33-41
4.2.1 process scheduling 33-35
4.2.2 Memory management basic framework 35-37
4.2.3 process virtual memory organization mechanism 37-38
4.2.4 physical page management 38-41
4.3 pause point \
4.3.1 VFS file system architecture 41-44
4.3.2 block I / O layer 44-45
4.4 \
4.5 Chapter Summary 46-49
chapter \
5.1 system state backup image creation 49-51
5.2 backup image access 51-53
5.3 initial environmental assurance measures 53-54
Chapter Summary 54-58
6.1 Test 54
6.2 Analysis 54-55
6.3 for further research 55-56
6.4 Prospects 56-58
References 58-60
Thanks 60
Related dissertations
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization
- Analysis on Tax Scale Optimization of Liaoning Province
- Study on the optimization of tax system of China's current stock market
- The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
- Developing Strategy for Service Industry of the Nankai District Tianjin
- Fuzhou Mail Processing Center Optimization Research