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

Request the full text

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

  1. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  2. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  3. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  4. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  5. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  6. Optimization of Commercial Bank Credit Rating Index System for SMEs
  7. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  9. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  10. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  11. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  12. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  13. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  14. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  15. Research on China’s Tax Cost and Optimization
  16. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  17. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  18. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
  19. Developing Strategy for Service Industry of the Nankai District Tianjin
    MaoZuoJin ·Tianjin University ·2012 ·Master's thesis
  20. Fuzhou Mail Processing Center Optimization Research
    ZhuangYouLin ·Xiamen University ·2013 ·Master's thesis