Research on Key Techniques for NUMA-aware Transactional Memory

Author
WangZuoBo
Advisor
LuXiCheng
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2011
Downloads
51
Citations
0

Request the full text

Abstract

Most transactional memory for multicore processors and SMP system, a small number of studies began to focus on the cluster system, but the lack of research for NUMA systems. Poor existing transactional memory to achieve performance on NUMA systems, because these systems are not concerned about the NUMA architecture, memory access characteristics: slower remote memory access. To solve this problem, we propose a mechanism of oriented transactional memory NUMA architecture, by reducing the number of remote memory access and reduce transaction failure rate means able to obtain high-performance transactional memory in NUMA systems. Parallel programming has been applied for decades, generally used in the field of high performance computing in the past. With the development of multi-core processors, ordinary programmers can start using the parallel program to take full advantage of multiple processor cores. The problem is difficult to avoid the most parallel programs is still using the lock as a synchronization mechanism, but brought the deadlock, priority inversion and lock escort. In order to solve these problems, the academic community has proposed a large number of solutions, transactional memory is undoubtedly one of the most attractive new technologies. Programmers only need to use the the atomic keyword defines mutually exclusive segments, data conflicts can be resolved automatically. Transactional memory is designed for multi-core processors and SMP systems. With the development of direct connection between the mouth of the processor, the processor can be connected via a directly connected interface with other processors and NUMA architecture used to build a multi-processor system. In fact, now the SMP system has NUMA architecture. NUMA system, faster processor to access local memory access remote memory speed is slow, with traditional SMP systems are quite different. Transactional memory poor performance on NUMA systems, NUMA memory access latency characteristics. Does not currently have transactional memory system designed for NUMA architecture this proposed new research directions, and expect to be able to attract more academic attention transactional memory research-oriented NUMA. The main content of this paper is as follows: (1) transaction oriented NUMA memory research platform and transactional memory access pattern analysis. In order to more effectively analyze transactional memory performance on NUMA systems, build a transactional memory research platform for NUMA architecture. The platform based on Simics GEMS build ACPI-related forms need to simulate the the the Simics simulation NUMA hardware, in order to make the operating system can properly identify the NUMA hardware topology and interconnect, as SRAT and SLIT table. All hardware operations delayed by GEMS GEMS itself does not support NUMA architecture requires a written module NUMA memory access latency. In order to analyze the memory access mode, select a representative transactional memory system for the evaluation. The conclusion is that the remote memory access latency transaction failure rate is the most critical impact performance for two reasons. (2) hierarchical conflict detection. In order to reduce the number of remote memory access, this paper proposes a hierarchical conflict detection method. NUMA systems, depending on the memory access latency, can be divided into parts and slow memory access portion of fast memory access, in general is the division of local and remote. The fast part the negative detection strategies can be used to increase the degree of concurrency, while the slow part of proactive strategy to reduce the number of remote memory access. (3) conflict workaround. Traditional transactional memory strategy is to try to increase the number of transactions running at the same time, in order to increase the degree of parallelism of the system to improve performance. But that strategy does not apply to the NUMA system. In this paper, the conflict circumvention method is used to solve the problem. Conflict circumvent the arrangements before the start of the transaction, use of the prediction algorithm to infer the likelihood of the transaction will conflict. Likely, the transaction should be to suspend start to improve the overall system of transaction success rate. (4) NUMA sensitive the competition management algorithm. In order to make the competition management algorithm to adapt to the NUMA architecture, two competing management algorithm. In order to reduce the overhead of remote memory access, the algorithm will make full use of local data to make decisions, as the goal to reduce the number of remote memory access. The algorithm can better balance the transaction between the conflict in NUMA systems for high performance.

Table of contents

Summary 10-12 ABSTRACT 12-14 first chapter 14-24 1.1 In this paper, the research background and significance 14-19 1.2 of this study the content and the main contribution the 19-22 1.2.1 main contents 20-21 1.2.2 main contribution 21-22 1.3 The structure of this paper the transaction 22-24 Chapter II memory NUMA architecture 24-40 2.1 transactional memory system overview 24-34 2.1.1 transactional memory system classification the 24-26 2.1.2 transactional memory system 26-31 2.1.3 analysis of the strengths and weaknesses of the existing transactional memory system 31-34 2.2 NUMA structure 34-38 2.2.1 SMP and NUMA 34-36 <br / > 2.2.2 multi-core processors and NUMA 36-38 2.3 Summary 38-40 Chapter transactional memory NUMA architecture on memory access pattern analysis 40-54 3.1 research platform to build 40-46 3.1.1 simulator and Benchmark 40-41 3.1.2 research platform design and realize 41-44 3.1.3 operating system support the 3.1.4 platform parameters 44-45 45-46 3.2 memory access mode Analysis 46-52 3.2.1 comparison test 46-49 3.2.2 performance issues analysis the 49-52 3.3 Analysis Conclusion 52-54 Chapter NUMA architecture-oriented hierarchical conflict detection methods 54-68 4.1 conflict detection method analysis 54-59 the the 4.1.1 metadata organization the 55-56 4.1.2 conflict detection method design tradeoffs 56-57 4.1.3 on NUMA systems experimental results and analysis the 57-59 4.2 hierarchical conflict detection the 59-64 4.2.1 Design 59-60 4.2.2 metadata organization 60-61 4.2.3 testing process 61-63 4.2.4 Experiments and analysis the 63-64 4.3 Optimization 64-66 4.4 Summary 66-68 Chapter NUMA architecture-oriented conflict circumvent algorithm 68-78 5.1 conflict circumvent 68 -69 5.2 NUMA sensitive to conflict of PBC circumvent algorithm 69-71 the 5.2.1 situation based on the historical conflict between transactions predict 69-70 5.2. 2 the collection forecast transaction-based shared data read and write 70-71 5.3 Experimental results and analysis 71-74 5.4 optimization method for history 74-76 5.5 Summary 76-78 Chapter NUMA architecture-oriented competition the 78-88 6.1 competition management Introduction 78-80 < br /> 6.2 competition analysis the 80-83 6.2.1 defined 81-83 6.2.2 complexity 83 6.3 surface to the NUMA architecture algorithm design 83-85 6.4 Experiments and analysis 85-87 6.5 Summary 87-88 Chapter VII Conclusion 88-90 7.1 summary of this article 88-89 7.2 research outlook 89-90 thank the 90-92 Reference nbsp the Academic achievements made by the the 92-106 the author in the study period; 106

Related dissertations

  1. Study on Method of Dual-Robot Coordination
    OuYangFan ·South China University of Technology ·2013 ·Doctoral dissertation
  2. Security Interaction Strategy of RBAC Based on Reconcile Domain
    DaiJia ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Optical Capture Based Development of Virtual Interaction System
    ZhouXiaoYang ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. A Professional Technology Institute Virtual Design and Realization of the System
  5. Research and Develop on the Simulating System for Binocular Stereo Measurement
  6. Research on Model and Roam Technology of3D Scene Based on WEB
    HeYingYing ·Harbin Engineering University ·2013 ·Master's thesis
  7. Motion Simulation of Guide Wire in Virtual Intravascular
    JieChengKai ·Beijing University of Technology ·2013 ·Master's thesis
  8. Natural Landscape Simulation Research Based on Particle System
  9. The Research of Path Planning and Collision Detection Method in Virtual Battlefield
    LiTeng ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  10. Design and Implementation of Virtual Campus Roaming System
  11. Design and Realization of Virtual3D Scene Roaming System
  12. Research of Collison Detection Algorithm Based on Spatial Domain
    LiZhen ·Hunan Normal University ·2013 ·Master's thesis
  13. Research and Realization of Haptic Rendering Virtual Assembly System Based on Force Feed-back
  14. Research on Parallel Collision Detection Based on Delta3D
    KouZhaoKun ·Harbin Engineering University ·2013 ·Master's thesis
  15. The 3D dynamic simulation of cloth
    Jia ·Liaoning Normal University ·2013 ·Master's thesis
  16. Visualization Technology of Wheat Growth
    SongWeiGuo ·Nanjing Agricultural College ·2013 ·Master's thesis
  17. Research on the Visual Simulation of Tree Motion in Wind and Rain
  18. Real time simulation of CUDA fluid and solid interaction based on complex shape
  19. The Research of Continuous Collision Detection
    ZhangLongTao ·Anhui University ·2014 ·Master's thesis
  20. The research of path planning collision free of large-scale group animation
    YangZengQiao ·Shandong Normal University ·2014 ·Master's thesis