Research of Memory Race Recording Mechanism in Deterministic Multi-Core Replay Based on SPARC Architecture
- Author
- GuFei
- Advisor
- JiZhenZhou
- School
- Harbin Institute of Technology
- Major
- Computer Science and Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 6
- Citations
- 0
Abstract
Nowadays, with the continuous advancement of electronic and informationtechnology, the people’s demand for high-performance computers is growing moreand more stronger. Limited by the development of material, processor manufacturing,power consumption, heat dissipation and some other reasons, the processor designpattern of increasing the frequency of CPU to increase the processor performance hasencountered difficulties. Integrating the cores onto a single integrated circuit die hasbecome the development of processor design pattern. However, at the same time, italso brought a number of new problems. While having not been arisen in singleprocessor system, the nondeterministic multi-core processor system caused bymemory race is one of the new problems, and this problem is becoming one of thehot areas of computer multi-core structure and parallel computing.The existing multi-core cache coherence protocols in shared memory multi-coreprocessor system can effectively prevent the data inconsistency during programexecuting, but the order of access between multiple threads is out of control. That is,if a multi-thread program executing in a shared memory multi-core processor systemand does not take strict synchronization measures, it may cause the bugs of theviolation of expected program execution sequences. That is, under the circumstanceof repeatedly executions, even if the same inputs may cause the different outputs. Tosolve this problem, the technique of deterministic multi-core replay has beenproposed, and this would ensure the outputs will be the same.Based on the understanding of the SPARC architecture, cache coherenceprotocols and aiming at solving the problems of the nondeterministic shared memorymulti-core processor system of SPARC architecture in CMP architecture, this paperdescribes a memory race recording method in deterministic multi-core replay basedon SPARC architecture——ERTR method. The ERTR method uses the idea ofsliding window and segmenting the instructions into episodes to reduce the log ofmemory race. That is, firstly reduce the redundancy of memory race sequences bymeans of segmenting the instructions of different threads in different processor coresand then reduce the memory race sequence by means of drawing the idea of slidingwindow which is originally in RTR method, that is why this method can reduce thelog of memory race more efficiently. Finally we build a SIMICS+GEMS simulationtest platform with creating a quad-core UltraSPARC processor virtual machine. Thetest programs running in virtual machine are SPLASH-2multithreaded on chip-multiprocessors benchmark suites. Through comparison testing with other memoryrace recording methods on different aspects such as logging space, time cost bandwidth cost, the ERTR memory race recording method has been provedeffectively and efficiently.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 1.1 sources and research issues 9-16
purpose and meaning 9-12
1.1.1 topics sources 9
1.1.2 The research purpose and meaning of 9-12
1.2 research status main content 12-14
1.3 papers research nbsp 14-16
Chapter 2 multi-core cache coherency protocol with uncertainty ; 16-33 <br / > 2.1 multicore chip based on the SPARC processor technology 16-21
2.1.1 shared storage type CMP multicore technology 16-19
2.1.2 SPARC and UltraSPARC processor architecture 19-21
2.2 cache coherency protocol 21-23
2.2.1 bus-based listening cache coherence protocols 22
2.2. 2 Cache directory-based coherence protocol 22-23
2.3 multicore technology uncertainty and uncertainty repeat 23-26
2.3.1 multicore uncertainty [ 47 ] 23-25 ??
2.3.2 certainty repeat classification and characteristics technologies 25-26
2.4 multicore system simulator to verify simulation platform 26-32 <br / > 2.4.1 multiple choice and validation of simulation platform 26-27
2.4.2 SIMICS full system simulator 27-30
2.4.3 GEMS simulator 30-32
2.5 Summary fetch competition recording method 32-33
Chapter 3 for a repeat of uncertainty 33-48
3.1 memory access competition record background 33-34
3.1.1 happen-before relationship 33
3.1.2 fetch competition (memory-race) 33-34
3.2 MESI cache coherency protocol 34-38
3.2.1 MESI protocol states are defined 35
3.2.2 MESI state transitions 35 -38
3.3 memory access hardware -assisted recording method design competition 38-47
3.3.1 rigorous competition based on CIC order 38-39
3.3.2 nbsp block based sliding window of about minus recording method ; algorithm described in 39-43
3.3.3 ERTR and achieve 43-47
3.4 Summary 47 - 48
Chapter 4 System simulation and analysis 48-61
4.1 SIMICS GEMS -based simulation platform to build 48-53
4.1.1 SIMICS and GEMS installation and commissioning 48-50
4.1.2 installed Solaris 10 operating System 50-51
4.1.3 SIMICSFS installation 51-53 <br / > 4.2 simulation testing environment critical configuration parameters and test items 53-57
4.2.1 simulation testing environment critical configuration parameters 53-54
4.2.2 SPLASH-2 parallel test benchmarks 54-57
4.3 simulation results of the assessment 57-59
4.3.1 ERTR fetch sequence competition logging 57-58
performance overhead 4.3.2 ERTR method 58-59
4.4 Summary 59-61
conclusion 61-63
References published during 63-68
pursue a degree academic 68-70
Thanks 70
Related dissertations
- Research of Sparc-rtems Driving Technology for Java Accelerating System
- Expression of SPARC and ITGB1in Human Colorectal Cancer Predicts Postoperative Prognosis
- The Correlation of SPARC、NS Expression with Clinical Significance in Metastatic Osteosarcom
- Expressions of SPARC and LN in Triple Negative Breast Cancer and Their Clinical Significance
- Study on Differential Expression of Genes Influencing the Formation of High Quality Brush Fair in Yangtze River Delta White Goat
- Research on Embedded Systems Simulation Platform Based on SPARC
- Analyze and Transplant of GCC Compiler Based on the Platform of SPARC
- Study on the Effects and Mechanism of DCX and SPARC Co-expression on Radiosensitivity of U-87MG Glioma Cell
- Study on Effects of DCX and SPARC Co-expression on Glioma Cell Growth、invasion and Radiosensitivity with Underlying Its Mechanisms
- The Expression and Signiifcance of Secreted Protein Acidic and Rich in Cysteine in Renal Cell Carcinoma
- The Effect and Mechanism of SPARC on the Development of Hematopoietic Cells
- cDNA Microarray Screening of the Differentially Expressed Transcripts and Upregulation of SPARC in the Deafferented Hippocampus
- 1.TBP and TLP on the transcriptional regulation of hTERT 2.DNA effect and mechanism of methylation in cervical cancer diagnosis
- The Diagnosis Research of Aberrant Methylation Gene Detection by Sequence, QMT and Microarray in Pancreatic Cancer
- The Research on Methylation of Tumor Suppressor Genes in Hepatocaellular and Carcinoma and Methylation Profile in Bile
- The Effect of SPARC on Pancreatic Cancer and the Mechanism of Enhances the Chemosensitivity of Pancreatic Cancer Cell to the Chemotherpy
- Study on the Effects and Mechanisms of RNA Interference Against SPARC on Cell Growth and Radiosensitivity in Human Glioma
- Expression of SPARC in Bone of Rats Sub-chronically Exposed to Excessive Fluoride
- Expression and Clinical Significance of SPARC mRNA and Protein, MMP-9 Protein in Gastric Carcinoma
- Tissue chip method to detect SPARC protein in endometrial carcinoma tissue of the expression and significance