The Research and Implementation of Mutual Exclusion Mechanism under Shared Memory Heterogeneous Multi-Processor System on Chip

Author
LongBang
Advisor
XuCheng
School
Hunan University
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Master's thesis
Year
2009
Downloads
91
Citations
0

Request the full text

Abstract

With the continuous improvement of chip integration and user functionality for higher demand for electronic products, based on shared memory multi-processor system on chip heterogeneous (Multi-Processor System on Chip) has gradually become the mainstream high-end embedded applications. For a complex MPSoC systems, mutual exclusion between concurrent tasks has become a key issue to be resolved efficiently. On the other hand, in our digital video server project, using platform Davinci TMS320DM6446, the platform is a typical heterogeneous multi-processor shared memory system on a chip, which integrates the ARM and DSP architectures in two different . To ensure the ARM and DSP access to shared resources correctness and concurrency, mutual exclusion has become an unavoidable, to be efficiently solved. This study is based on the architecture of the mutual exclusion mechanism, which has a certain theoretical and practical significance. In this paper, exclusive models, algorithms, and other issues to achieve a more in-depth study, the main work is as follows: 1. Propose a shared memory multiprocessor system mutex model. The traditional model is not well mutex used to describe the discrimination task processor sources such as lack of mutual exclusion algorithms, we propose a shared memory multiprocessor system mutex model, which extended the original model definitions and theorems ; precise quantitative performance indicators and exclusive property of the algorithm can be adapted to the description of mutual exclusion algorithms, certification, and performance measurement requirements. 2 algorithm based on the AK, shared memory for the heterogeneous MPSoC, proposed three priority-based soft exclusive backoff algorithm tree. For AK shared space required by the algorithm O (n) and other shortcomings, this paper proposes a priority-based tree backoff soft mutual exclusion algorithms (PTB: Priority Tree Backoff), the algorithm is a good compromise between timeliness and fairness, sharing space complexity of only O (1), and the algorithm is more easy to implement. In the fierce competition in the case of the critical region, AK and PTB algorithm will result in a large on-chip network or bus traffic. In view of this, we propose a secondary competition PTB algorithm (TCPTB: Twice Competition Priority Tree Backoff), the algorithm can make full use of resources such as a single-processor Cache coherence, but also reduce the amount of shared storage space and traffic, reduce global mutex algorithm design complexity. For some databases and real-time tasks, within a certain period failed to enter the critical section, then give up the demand for critical applications, we propose to exit type PTB algorithm (APTB: Abortable Priority Tree Backoff), so that the deadline has not yet entered mission critical real-time to give up the critical region. 3. Designed and implemented based on Davinci DM6446 platform exclusive middleware. ARM and DSP to achieve efficient mutual exclusion between tasks, and the comparison algorithm to real performance advantages and disadvantages, the need to achieve a variety of Davinci DM6446 mutual exclusion algorithms (because the simulation tool is not mature enough and is not open). Meanwhile, in order to enhance scalability and versatility, this article will shared memory management, mutual exclusion algorithm, application program interface integrated with the design of the exclusive middleware and Davinci DM6446 to achieve. 4 experimental comparison and performance analysis, summary. To measure performance of the algorithm, this experimental platform to take real way to do experiments to evaluate the use of exclusive models to quantify performance indicators. Experiments show that: in the medium and small-scale critical competitive efficiency of the algorithm is superior to the case of PTB AK algorithm; TCPTB algorithm in large-scale critical competitive scenario efficient than AK algorithm; while APTB then consider some of the real-time tasks and Database task deadline can not enter the critical section and give the application needs; these three algorithms and AK algorithm, requires only a small shared storage space, enabling preferential access to critical real-time tasks.

Table of contents

Abstract 5-7 Abstract 7-12 illustrations Index 12-13 Schedule Index 13-14 <br / > Chapter 1 Introduction 14-20 1.1 research background and significance 14 1.2 research status 14-15 1.3 of this article main work 15-18 1.4 This structure 18-20 Chapter 2 shared memory multiprocessor system mutex research overview 20-32 <br / > 2.1 mutex related infrastructure 20-23 2.1.1 mutually exclusive concepts 20-21 2.1.2 Common exclusive hardware primitives 21 - 22 2.1.3 General structure of mutual exclusion algorithms 22-23 2.2 multiprocessor system exclusive particularity 23-25 ?? 2.3 Common mutex algorithm introduced 25-30 2.3.1 Test Set-like algorithm 25-26 2.3.2 based on linked lists, queues form of organization algorithm 26-27 < br /> 2.3.3 LL-SC primitive algorithm 27-28 2.3.4 Buffer synchronization operations based mutual exclusion algorithms 28-29 2.3.5 Soft mutual exclusion algorithms 29-30 2.4 mutex algorithm properties 30-31 2.5 mutex algorithm performance evaluation criteria 31 2.6 Summary 31-32 Chapter 3, one kind of shared memory multiprocessing system mutex model (SM-MP mutually exclusive model) 32-40 3.1 exclusive model 32-33 3.2 SM-MP mutex model formalization 33-35 3.3 SM-MP mutual exclusion algorithms abstract 35-37 3.4 SM -MP mutex attribute formalization 37 3.5 SM-MP mutual exclusion algorithms proof 37-38 3.6 SM-MP performance indicators quantify 38-39 3.7 Summary 39-40 Chapter 4 priority-based tree backoff soft mutual exclusion algorithms 40-59 4.1 AK algorithm introduced 40 -41 4.2 Priority-based tree backoff soft mutual exclusion algorithms (PTB algorithm) 41-53 4.2.1 PTB mutual exclusion algorithm thought 41 4.2 .2 PTB tree hierarchy lock algorithm description and proof 41-44 4.2.3 PTB description and analysis of the global mutual exclusion algorithms 44-51 4.2.4 PTB global mutex algorithm proved 51-53 4.3 second competition PTB algorithm (TCPTB algorithm) 53-57 4.3.1 TCPTB algorithm exclusive competition process 54-55 4.3.2 TCPTB mutual exclusion algorithm is described 55-56 4.3.3 TCPTB mutual exclusion algorithms prove 56-57 4.4 to exit type PTB algorithm (APTB algorithm) 57-58 4.5 Summary 58-59 Chapter 5 mutex based Davinci DM6446 platform middleware design and implementation 59-70 5.1 DAVINCI DM6446 platform to introduce 59-60 5.2 mutex middleware framework 60-61 5.3 shared memory management strategies 61-63 <br / > 5.3.1 Common memory management algorithm introduced 61-63 5.3.2 adopted herein shared memory management method 63 5.4 mutex middleware implementation mechanism 63-66 5.5 mutex algorithm 66-69 5.6 mutex middleware in the digital video server application 69 5.7 Summary 69-70 Chapter 6 algorithm experiment and performance analysis 70-78 6.1 Heterogeneous MPSOC simulation tools introduced 70-71 6.2 algorithm experimental program 71-73 6.2.1 Performance indicators selected 71 6.2.2 algorithm experiment specific programs 71-73 6.3 Experimental results and analysis algorithms 73-77 6.3.1 real experiment and analysis - the average execution time (((ET) | -)) compared 73-74 6.3.2 simulation and analysis - Average execution time (((ET) | -)) compared 74-75 6.3.3 real-time experiments and analysis - Average enter the critical section order (CSO) compare 75-76 < br /> 6.3.4 shared storage space required by the algorithm comparison 76-77 6.3.5 Experimental results are summarized 77 6.4 Summary 77-78 Summary and Outlook 78-79 References 79-84 Appendix A study for a degree of academic papers published during the directory 84-85 <br / > Appendix B to participate during the study for a degree of research projects directory 85-86 Thanks 86

Related dissertations

  1. The software bus and self recovery technology based on VxWorks
    JinPengFei ·Shaanxi Normal University ·2013 ·Master's thesis
  2. Shared Memory Based Research and Design of OLE Process Control3.0Server
    WangChengXiang ·Jilin University ·2013 ·Master's thesis
  3. Research on Router and Switch System Based on Shared Memory Architecture
    ZuoTian ·WRI ·2012 ·Master's thesis
  4. Design of AFDX Swtich Chip Based on Shared Memory
    LiuYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  5. Consumer Right to Withdraw the Legal System Research
  6. Comparative Research on Authentic Leadership and Transformational Leadership’s Impacting on Working Staff’s Working Attitude
  7. The army level intrusion defense system in data communication and control technology research
  8. Design and Implementation of VLR Database Based on the Shared Memory
  9. Research on Fpga-based Hardware Mutex Technology of Real-Time Operating System
    WangGuangHui ·Zhejiang University ·2013 ·Master's thesis
  10. Formal Verification and Implementation of Shared Memory IPC Mechanism
    GuFei ·Lanzhou University ·2012 ·Master's thesis
  11. Design of digital watermarking system based on Nios dual core processor
  12. Research on Withdraw of Independent Setting Adult Colleges
    TangQiong ·Hunan University ·2012 ·Master's thesis
  13. Research on Human Resources Withdraw Mechanism of GuangXi B College
    YangXiongDong ·Guangxi University ·2012 ·Master's thesis
  14. Design on Portable Monitor Unit of Turbine Vibration Signal
    MaXiaoLei ·Xi'an University of Engineering ·2011 ·Master's thesis
  15. Preliminary Studies on Mechanical Models of Earthquake Precursors and Earthquake Prediction
  16. RFRTOS - based on the Linux QoS of real - time operating system
    ZhaoHuiBin ·Institute of Software ·2003 ·Doctoral dissertation
  17. Distributed Event Analysis Expert System Based on Linux
    WangZhiYuan ·Jilin University ·2008 ·Master's thesis
  18. SmartOSEK OS-M: A Real-Time Operating System Supporting Heterogeneous Multi-cores
    YuJianDe ·Zhejiang University ·2008 ·Master's thesis
  19. Research of LAN-Based Shared Memory
    SunChunLing ·Beijing Jiaotong University ·2008 ·Master's thesis
  20. The Design and Implementation of the Banking Collection System
    BaiYing ·Shandong University ·2007 ·Master's thesis