Research and Apply the Shared Cache Partition in Real-time Operate System

Author
DongLei
Advisor
GuoRuiFeng
School
Graduate School of Chinese Academy of Sciences (Shenyang Institute of Computing Technology)
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2012
Downloads
74
Citations
0

Request the full text

Abstract

CNC technology use digital information on the high-performance control of themechanical movement and process. This way greatly improves the quality,accuracy,efficiency of the product. CNC technology are developing rapidly on thehigh-speed and high-precision performance; the open and network architecture; theintegrated, complex, intelligent function. So developing the open architecture CNCsystem has become inevitable. Open architecture CNC systems not only requiremulti-core processors as its hardware platform but also require high-performancereal-time operating system as its software platform. Mainstream multi-core processors,however, still use shared Cache structure.This structure will bring more serious theshared cache conflict phenomenon in multi-core environment. The system will beforced to frequently flush the Cache data set in order to ensure the implementation ofconcurrent tasks on different core needs. Thus extending the execution time of tasks,reducing the overall system performance because of tasks could not schedule.There are a variety of solutions to solve this problem. Shared Cache Partition is aspecial one among those. It can partition the L2Cache to tasks with a non-exclusiveshared Cache space until the end of the task execution. It can help the tasks to avoidsharing Cache conflicts. Therefore, this article used software-based shared cachepartitioning to transform the existing NC system. First, after establishing the HCDMmodel, analysis the shared cache conflict impact on the system and do the prediction ofthe shared cache behavior under task environment. Second, establish static anddynamic partition function according to the performance of the model and calculate thedivision space of tasks in CNC system.Finally, use the "page coloring" technology totransform the existing CNC systems. Experiments show that shared Cache partitioningscheme significantly improves the real-time performance of CNC system.

Table of contents

Summary 5-6 ABSTRACT 6-9 Introduction 9-11 first chapter 11-17 <br / > 1.1 the background and significance 11 CNC system development status 1.2 development stage 11-14 1.2.1 CNC system 11-13 <br / > development Status 1.2.2 CNC system software platform major work 13-14 1.3 article 14-15 1.4 organizational Structure paper 15-17 under Chapter II real-time multi-core environment shared Cache conflict system 17-28 2.1 background 17 2.2 real-time systems 17-20 2.2.1 real-time systems concepts 18 2.2.2 real-time system tasks 18-19 2.2.3 real-time system scheduling algorithm 19-20 2.3 shared Cache impact on real-time systems 20-23 2.3.1 Cache basic structure 20-21 2.3.2 Cache of replacement policy 21 2.3.3 multi- verify system shared Cache problem 21-23 2.4 shared Cache resolve conflicts related technologies 23-27 <br / > 2.4.1 shared Cache conflict hardware solutions 23-24 2.4.2 Cache -aware real-time scheduling 24-25 2.4.3 shared Cache partition 25-27 2.5 Summary 27-28 Chapter III shared Cache conflict prediction model for multi-core processors 28-38 3.1 background 28-29 3.2 Cache conflict prediction hidden Markov model based 29-33 3.2.1 the model assumes 29 3.2.2 HCDM model Description 29-31 3.2.3 state transition matrix calculations 31-32 3.2.4 observation probability calculation 32-33 3.2.5 the initial state probability distribution 33 3.3 model output parameter calculation 33-35 calculation 3.3.1 Cache occupancy 33 3.3 .2 failure rate calculation between 33-34 3.3.3 task conflict probability calculation 34-35 3.4 experiment 35-37 3.5 Summary 37-38 Chapter IV CNC system shared Cache partitioning strategy 38-46 4.1 background 38 4.2 CNC system tasks About 38-40 4.3 CNC system static shared Cache partitioning strategy 40-43 4.3.1 average shared Cache partitioning strategy 40-41 4.3.2 static shared Cache partitioning strategy 41-43 4.4 numerical control system dynamic Shared Cache partitioning strategy 43-45 4.5 Summary 45-46 <br / > Chapter V shared Cache partition software 46-59 5.1 background 46 5.2 Shareware environment division Cache implementation 46-49 5.2.1 RTAI real-time operating system 46-48 5.2.2 Linux memory management model 48-49 5.2.3 RTAI memory management model 49 5.3 shared Cache partition implementation methods 49-53 5.3.1 page coloring principle 49-50 5.3.2 CNC systems division to achieve shared Cache 50-53 5.4 experiment 53-58 5.5 Summary 58-59 Conclusion 59-61 References 61-64 published articles and research 64-65 Thanks 65

Related dissertations

  1. Research on Page Coloring Based Cache Sharing Policies in Multicore RT System
    YuanZheng ·Northeastern University ·2009 ·Master's thesis
  2. The Development of Configuration Software for Monitoring and Controlling Based on C#
    WangGuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Design and Implementation of Static Gesture Recognition System Based on FPGA
    ZhaoYuZuo ·Northeastern University ·2013 ·Master's thesis
  4. Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
  5. Modal Analysis Fast Calculation Method Research and Application on Heavy Truck
    XieXiaoPing ·Hunan University ·2014 ·Doctoral dissertation
  6. Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
    ZhouXueWen ·Shanghai Jiaotong University ·2012 ·Master's thesis
  7. Contour Error Estimation of Free-form Path and the Compesation Algorithm Research
    LuoMiaoJuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Design of NC System Lighting Grinding Machine
  9. Research on the Key Technology of Peripheral Grinder of Indexable Inserts
    PengMingJun ·Xiamen University ·2014 ·Master's thesis
  10. Design and Implementation of Five-axis CNC Milling Machine System
  11. Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
    LuJiaLong ·Harbin Institute of Technology ·2013 ·Master's thesis
  12. Implementation of Real-Time Test System for Inertial Measurement Units Based on LabVIEW
  13. Formal Modeling and Analysis of Cyber Physical System
    LeiYao ·Guangdong University of Technology ·2013 ·Master's thesis
  14. Real Time Face Feature Detection System Based on CPU+GPU Cluster
    GaoWei ·Tianjin University ·2012 ·Master's thesis
  15. Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems
    WuWenFeng ·Chongqing University ·2013 ·Master's thesis
  16. Research of Task Scheduling Algorithm for Soft Real-time System Based on Feedback Mechanism
    ZhangTong ·Hunan University ·2011 ·Master's thesis
  17. Aspect-Oriented Testing Approach for The Real-time Characteristic of Real-Time Cyber-Physical System
    YangMin ·Guangdong University of Technology ·2012 ·Master's thesis
  18. Research on Real-time Elastic Task Scheduling Algorithm Based on Feedback Mechanism
    ZhuXueQing ·Hunan University ·2011 ·Master's thesis
  19. Research of Energy-Efficient Scheduling for Parallel Real-Time Tasks on Multicore Systems
    GuoJing ·Northeastern University ·2010 ·Master's thesis
  20. Research on real time multi task scheduling method of periodic exchange priority