Design and Implementation of Real-time System Memory Management Scheme

Author
GaoFeiFei
Advisor
YuZheZhou
School
Jilin University
Major
Applied Computer Technology
Classification
TP333 Memory
Degree
Master's thesis
Year
2013
Downloads
35
Citations
0

Request the full text

Abstract

Embedded real-time operating system for its reliability and excellentreal-time is widely used in the field of communications, military, aviation,aerospace and other sophisticated technology, and real-time requirements,such as satellite communications, military exercises, trajectory guidance,aircraft navigation. In the series main fighter plane in the United States, Patriotmissiles and Mars probe to the embedded real-time operating system. Due toa technical monopoly and its special role in the field of aviation, aerospace andmilitary, embedded real-time operating system has been embargo on China, avery wide range of applications, since the lifting of the ban in the military,communications, industrial control and other fields. However, in these coreareas related to national security by foreign technical constraints is verydangerous, if we can made some breakthroughs in embedded real-timeoperating system, we will have a leading, completely independent of theembedded operating system, to break the blockade of Europe and the UnitedStates on China. Therefore, both from academic research or practicalengineering applications in terms of today’s embedded real-time operatingsystem has great significance related to the national interest.The memory management system as a vital link in the real-time operatingsystem, played a crucial role in its performance level for the entire embeddedsystem performance. Therefore the design of an efficient, reliable memorymanagement scheme is particularly important. One for the real-time operatingsystem memory management algorithms, through its memory allocation andrelease, as well as an indirect reference to the whole process of the memoryobject memory remain tight, so we call it compact memory allocation algorithmis described in this article. Compact allocation algorithm implemented in twoways: a mobile version and a non-mobile version. The time complexity of theimplementation of the mobile version of the memory allocation operation isconstant time, the release operation if you do not need to crunch timecomplexity of linear time to constant time. Allocation and deallocationoperations in a non-removable version time complexity is linear. An indirectreference to the two implementation takes constant time. In addition, the debris point of view, this system provides a completely predictable memory usage. Ina nutshell, it is an excellent real-time memory management system. In thecompact allocation algorithm compared to the two implementations of theprogram through the existing memory allocation strategies in this article, theexperiments confirm the feasibility of our theory, and proved the excellentperformance of the system. Finally, we introduced a locally compact strategy inorder to achieve a balance of performance and debris processing.

Table of contents

Summary 4-5 Summary 5-6 Abstract 6-12 first chapter 12-17 <br / > 1.1 research background 12-13 1.2 content and significance of the research 13-15 1.3 nbsp paper tissue structure ; 15-17 second Real-Time memory Management system 17-27 2.1 memory management Overview 17-19 2.2 real-time memory management system requirements 19-20 2.3 significantly dynamic memory management algorithms 20-23 2.3.1 sequential algorithm to adapt 20-21 2.3.2 Doug Lea allocation algorithm 21-22 <br / > 2.3.3 Half-fit algorithm 22 2.3.4 TLSF algorithm 22-23 2.3.5 algorithm complexity 23 2.4 implicit dynamic memory management algorithms 23-26 2.4.1 Treadmill algorithm 24 2.4.2 Metronome algorithm 24-25 2.4.3 Jamaica algorithm 25-26 2.5 Summary 26-27 The third chapter compact memory management system framework design 27-38 3.1 compact operating 27-32 3.1.1 address Space Overview 28-32 3.2 system interface functions 32-33 3.3 system size class concept 33 3.4 system fragmentation type 33-37 3.4.1 page block internal fragmentation 33-35 3.4.2 page block external fragmentation 35 3.4.3 page internal fragmentation 35-36 3.4.4 system fragmentation Overview 36-37 3.5 Summary 37-38 Chapter IV compact memory management system to achieve 38-64 4.1 compact algorithm design and implementation 38-42 4.1.1 compact algorithm 39 -42 4.1.2 algorithm complexity analysis 42 4.2 free list designed to achieve 42-45 4.3 page management designed to achieve 45 - 51 4.3.1 size class list domain 46 4.3.2 size class area 46-47 4.3.3 has been used pages blocks 47 4.3.4 free pages block 47 4.3.5 has been used pages block 47-51 4.3.6 page memory management overhead 51 4.4 mobile version of the algorithm design and implementation 51-55 4.4.1 concepts 52 4.4.2 distribution operations to achieve 52-53 4.4.3 release operation to achieve 53-54 4.4.4 dereference operator to achieve 54-55 4.5 non-mobile version of the algorithm design and implementation 55 -59 4.5.1 concepts 55-57 4.5.2 distribution operations to achieve 57-58 4.5.3 release operation to achieve 58 -59 4.5.4 dereference operator to achieve 59 4.6 total system memory overhead 59-60 4.7 locally compact algorithm 60-62 4.7.1 distribution operations nbsp 61 4.7.2 release operation ; 61-62 4.8 system expansion and optimization 62-63 4.8.1 pointer arithmetic 62 4.8.2 compact system initialization 62 4.8.3 dynamic abstract address space 62-63 4.9 chapter Summary 63-64 Chapter V system validation and results analysis 64-74 5.1 experimental environment 64-66 5.1.1 run time Measurement environmental 64-66 5.1.2 processing instruction number 66 5.2 analysis of experimental results 66-74 5.2.2 mobile and non-mobile version version comparison 66-69 5.2.3 Real-time memory management system integrated comparison 69-74 Chapter VI Conclusion and Outlook 74-76 6.1 The paper concludes 74-75 6.2 Prospects for further work 75-76 References 76-78 Thanks 78

Related dissertations

  1. Research on Writing and Contemporary Management of Electronic Documents
  2. The Research of Government Audit Site Management
    ShenHaiJiang ·Ningbo University ·2013 ·Master's thesis
  3. Based on Optimization of Auxiliary Accounting Information System
    WangDan ·Liaoning Normal University ·2013 ·Master's thesis
  4. The Research of China’s Public Pension Management in the Government Failure Perspective
    NiuYun ·Hubei University ·2013 ·Master's thesis
  5. The present situation and problems of Kunming unemployment insurance fund management
    Zhao ·Yunnan University ·2013 ·Master's thesis
  6. The Positive Role of Special Equipment Liability Insurance for the Medium-sized&Small Enterprises of Villages&Towns
  7. Study on Foreign Debt Management in the Process of Convertibility of China’s Capital Account
    WangRenFei ·Shandong University ·2013 ·Master's thesis
  8. Credit Risk Management of NingXia Bao Yuan Small Loan Corporation
    ZhaoXiaoJun ·Northwestern University ·2012 ·Master's thesis
  9. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  10. Research on Credit Risk Evaluating and Controlling of Bank of Communications
    LiuZuo ·Guangxi University ·2013 ·Master's thesis
  11. Research on SMEs’ Credit Risk Management of Bank of Jilin
    WangZuo ·Jilin University ·2013 ·Master's thesis
  12. A Study on Operational Risk Management of ADBC Credit
    HuYunKe ·Jilin University ·2013 ·Master's thesis
  13. Credit Risk Management in the Comoros Banking System
  14. A Study on Operational Risk Management of LN Branch of China Construction Bank
    DuMeiYi ·Liaoning University ·2012 ·Master's thesis
  15. Research on Operational Risk Management of City Commercial Banks
    WangXiaoDong ·Ocean University of China ·2012 ·Master's thesis
  16. Study on operational risk management of rural credit cooperatives of bill business
    WuLei ·Northwestern University ·2013 ·Master's thesis
  17. The Discussion of the Chinese Characteristic Commercial Bank to Operate the Risk Management
    HeYing ·Southwestern University ·2013 ·Master's thesis
  18. A Study on the Prevention of the Operating Risk in the Banking System Based on Control of the Information System in Our Country
    LiuXiaoSong ·Shandong University ·2013 ·Master's thesis
  19. Commercial Bank Risk Management Compliance
    FangGuangZhi ·Shandong University ·2013 ·Master's thesis
  20. Study on Post-credit Risk Management of Commercial Bank in China
    YangZuo ·Xiamen University ·2014 ·Master's thesis