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
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
- Research on Page Coloring Based Cache Sharing Policies in Multicore RT System
- The Development of Configuration Software for Monitoring and Controlling Based on C#
- Design and Implementation of Static Gesture Recognition System Based on FPGA
- Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
- Modal Analysis Fast Calculation Method Research and Application on Heavy Truck
- Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
- Contour Error Estimation of Free-form Path and the Compesation Algorithm Research
- The Design of NC System Lighting Grinding Machine
- Research on the Key Technology of Peripheral Grinder of Indexable Inserts
- Design and Implementation of Five-axis CNC Milling Machine System
- Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
- Implementation of Real-Time Test System for Inertial Measurement Units Based on LabVIEW
- Formal Modeling and Analysis of Cyber Physical System
- Real Time Face Feature Detection System Based on CPU+GPU Cluster
- Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems
- Research of Task Scheduling Algorithm for Soft Real-time System Based on Feedback Mechanism
- Aspect-Oriented Testing Approach for The Real-time Characteristic of Real-Time Cyber-Physical System
- Research on Real-time Elastic Task Scheduling Algorithm Based on Feedback Mechanism
- Research of Energy-Efficient Scheduling for Parallel Real-Time Tasks on Multicore Systems
- Research on real time multi task scheduling method of periodic exchange priority