The Research on Transactional Memory Optimization Technology

Author
ZhangZuo
Advisor
TangYuHua
School
National University of Defense Science and Technology
Major
Software Engineering
Classification
TP316 Operating system
Degree
Master's thesis
Year
2008
Downloads
24
Citations
0

Request the full text

Abstract

Transactional memory (Transactional memory) technology can effectively improve programmable parallel programming problem . This point is particularly important in the increasing popularity of multi-core processors today . However, the process and put into use in Transactional memory , operating system support is not enough , and the result of conflicts between transactions performance degradation . In this paper, the above problem Transactional memory research . Transactional memory support in the operating system , the affairs of life cycle thinking beyond processor interrupts and thread switching , we modify the thread control block , interrupt handling and thread switching process so that the life cycle of the transaction beyond interrupts and thread switching , virtualization achieve affairs . Secondly , reduce transaction conflict , we propose a process - based transaction conflict detection mechanisms , the basic idea is that the traditional transaction conflict detection mechanism in processor multi-core direct detection , however , when the processor parallel execution of multiple processes , there is no shared memory between processes directly is not possible to produce user - state conflict , based on this , we propose a transaction conflict detection mechanism based on the process ID , the mechanism can effectively eliminate the pseudo conflict between the different processes . Finally, we Lazy-Lazy Transactional memory model simulator based on Simics simulator has the speed advantage of system-wide . And based on the simulator , modify the Linux operating system by adding the transaction function , so that the transaction lifecycle beyond interrupts and thread switching . In addition , the authors also simulator bulk support and achieve the optimization mechanism based on the process ID of the transaction conflict . The preliminary test results show that : the life cycle of the transaction can go beyond the interrupt switch and thread ; pseudo- conflict between the different processes can effectively eliminate the conflict detection mechanism based on the process ID of the transaction .

Table of contents

Abstract 8-9 ABSTRACT 9-10 first chapter 10-14 1.1 Background topics 10-12 1.2 current transaction systems exist for 12 1.3 of this paper mainly work 12-13 1.4 thesis structure 13-14 Chapter Two typical transactional systems Affairs virtualization 14-25 the of 2.1 typical Affairs system overview 14 2.2 TCC Overview 14-16 2.2.1 transaction execution flow 15 2.2.2 TCC's structure 15-16 2.2.3 Transaction Manager 16 2.3 LOGTM Overview 16-22 the 2.3.1 LogTM structure 16-17 2.3.2 version management (Version Management) 17-19 2.3.3 Conflict Management (Contention Management) 19-22 2.4 BULK Overview 22-23 2.5 Affairs Virtualization Overview 23-24 2.6 This chapter Summary 24-25 The Affairs virtualization mechanism design and implementation of 25-35 3.1 transaction virtualization connotation and significance 25 3.2 Affairs thread switch virtualization 25-31 3.2.1 traditional thread switching 25 3.2.2 traditional thread switching problem 25-26 the virtualization 3.2.3 Affairs thread switching design ideas 26-27 3.2.4 virtualization achieve 27-31 3.2.4.1 Affairs thread switch, the site protection 28-30 The site 3.2.4.2 transaction thread reschedule recovery 30-31 3.3 Affairs interrupt virtualization 31-34 3.3.1 interrupt 31 3.3.2 interrupt transaction system 31-32 3.3.3 Affairs interrupt virtualization of basic design idea to 32-33 3.3.4 virtualization achieve 33-34 3.4 This chapter Summary 34-35 Chapter optimize the mechanism of the process ID of the transaction-based conflict detection 35-43 the the 4.1 traditional transaction conflict detection drawback 35-36 4.2 Transaction conflict detection mechanism design ideas based on the process ID number 36-37 4.3 transaction conflict detection mechanism design based on the process ID number 37-39 4.4 transaction conflict detection mechanism based on the process ID number 39-42 4.4.1 thread control block implementation 39-40 4.4.2 hardware registers to achieve 40 4.4.3 judgment conflict detection achieve 40-41 4.4.4 shared library functions compiled 41-42 4.5 of this chapter Summary 42-43 Chapter test programs and evaluation analysis 43-54 5.1 simulator introduced 43-45 5.1.1 SIMICS simulator 43 5.1.2 SPARC structure 43-45 5.1.2.1 integer registers 43 5.1.2.2 special register 43-44 5.1.2.3 register window 44-45 5.1.3 TM-CACHE 45 5.2 programming interface introduced 45-46 5.3 test cases introduced 46-47 5.4 transaction virtualization mechanism performance evaluation 47-49 5.4.1 Transaction thread switch virtualization performance evaluation 47-48 5.4.1.1 Performance Evaluation Model 47 5.4.1.2 Performance Analysis 47-48 5.4.2 affairs interrupt the the virtualization performance evaluation 48-49 5.4.2.1 Performance Evaluation Model 49 5.4.2.2 Performance Analysis 49 5.5 transaction conflict detection mechanism based on the process ID of the performance evaluation 49-52 5.5.1 Performance Evaluation Model 49 5.5.2 Performance Analysis 49-52 5.5.2.1 trials testing process 49-50 5.5.2.2 test test results 50-52 5.5.3 summarizes 52 5.6 This chapter Summary 52-54 Chapter VI of the main results and outlook 54-55 6.1 Results 54 6.2 prospects Looking 54-55 Acknowledgements 55-56 the References 56-58 studied papers published by the Master of the period 58

Related dissertations

  1. Research and Development on Rubik’s Cube Robot Display System
    WangZhongFeng ·Northeastern University ·2012 ·Master's thesis
  2. Study on Method of Dual-Robot Coordination
    OuYangFan ·South China University of Technology ·2013 ·Doctoral dissertation
  3. Security Interaction Strategy of RBAC Based on Reconcile Domain
    DaiJia ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Implementation of Windows File System Virtualization Based on Sandbox Technology
  5. Design and Realization of Server Virtualization on Public Service Cloud Platform of China Mobile
    TianFeng ·Tianjin University ·2012 ·Master's thesis
  6. Research on Resource Virtualization in Cloud Manufacturing
    HuZhiNan ·Huaqiao University ·2013 ·Master's thesis
  7. The Research and Implementation of Resource Adaptive Allocation in a Virtual Environment
  8. Management Model and Running Mechanisms of Dualistic Coordination for Virtual Enterprise’s Harmonious Interaction
    TangKuiYu ·Harbin Institute of Technology ·2009 ·Doctoral dissertation
  9. Design and Implementation of Hadoop Architecture Full-Textsearch Engine Based on Virtualisation Technology
  10. Optical Capture Based Development of Virtual Interaction System
    ZhouXiaoYang ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. A Professional Technology Institute Virtual Design and Realization of the System
  12. Research and Develop on the Simulating System for Binocular Stereo Measurement
  13. Research on Model and Roam Technology of3D Scene Based on WEB
    HeYingYing ·Harbin Engineering University ·2013 ·Master's thesis
  14. Motion Simulation of Guide Wire in Virtual Intravascular
    JieChengKai ·Beijing University of Technology ·2013 ·Master's thesis
  15. Natural Landscape Simulation Research Based on Particle System
  16. The Research of Path Planning and Collision Detection Method in Virtual Battlefield
    LiTeng ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  17. Design and Implementation of Virtual Campus Roaming System
  18. Design and Realization of Virtual3D Scene Roaming System
  19. Research of Collison Detection Algorithm Based on Spatial Domain
    LiZhen ·Hunan Normal University ·2013 ·Master's thesis
  20. Research and Realization of Haptic Rendering Virtual Assembly System Based on Force Feed-back