scieee AI-readable full text Open interactive document viewer

Soft error mitigation techniques for future chip multiprocessors

Upasani, Gaurang R

Abstract

The sustained drive to downsize the transistors has reached a point where device sensitivity against transient faults due to neutron and alpha particle strikes a.k.a soft errors has moved to the forefront of concerns for next-generation designs. Following Moore's law, the exponential growth in the number of transistors per chip has brought tremendous progress in the performance and functionality of processors. However, incorporating billions of transistors into a chip makes it more likely to encounter a soft soft errors. Moreover, aggressive voltage scaling and process variations make the processors even more vulnerable to soft errors. Also, the number of cores on chip is growing exponentially fueling the multicore revolution. With increased core counts and larger memory arrays, the total failure-in-time (FIT) per chip (or package) increases. Our studies concluded that the shrinking technology required to match the power and performance demands for servers and future exa- and tera-scale systems impacts the FIT budget. New soft error mitigation techniques that allow meeting the failure rate target are important to keep harnessing the benefits of Moore's law. Traditionally, reliability research has focused on providing circuit, microarchitecture and architectural solutions, which include device hardening, redundant execution, lock-step, error correcting codes, modular redundancy etc. In general, all these techniques are very effective in handling soft errors but expensive in terms of performance, power, and area overheads. Traditional solutions fail to scale in providing the required degree of reliability with increasing failure rates while maintaining low area, power and performance cost. Moreover, this family of solutions has hit the point of diminishing return, and simply achieving 2X improvement in the soft error rate may be impractical. Instead of relying on some kind of redundancy, a new direction that is growing in interest by the research community is detecting the actual particle strike rather than its consequence. The proposed idea consists of deploying a set of detectors on silicon that would be in charge of perceiving the particle strikes that can potentially create a soft error. Upon detection, a hardware or software mechanism would trigger the appropriate recovery action. This work proposes a lightweight and scalable soft error mitigation solution. As a part of our soft error mitigation technique, we show how to use acoustic wave detectors for detecting and locating particle strikes. We use them to protect both the logic and the memory arrays, acting as unified error detection mechanism. We architect an error containment mechanism and a unique recovery mechanism based on checkpointing that works with acoustic wave detectors to effectively recover from soft errors. Our results show that the proposed mechanism protects the whole processor (logic, flip-flop, latches and memory arrays) incurring minimum overheads.

Full text

ADVERTIMENT . La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del servei TDX (www.tesisenxarxa.net) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a TDX (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA. La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del servicio TDR (www.tesisenred.net) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio TDR. No se autoriza la presentación de su contenido en una ventana o marco ajeno a TDR (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING. On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the TDX (www.tesisenxarxa.net) service has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading and availability from a site foreign to the TDX service. Introducing its content in a window or frame foreign to the TDX service is not authorized (framing). This rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author UNIVERSITAT POLIT` ECNICA DE CATALUNYA Soft Error Mitigation Techniques For Future Chip Multiprocessors by Gaurang Upasani A thesis submitted in partial fulfillment for the degree of Doctor of Philosophy in the Department of Computer Architecture September 2015 Declaration of Authorship I, Gaurang Upasani, declare that this thesis titled, ‘Soft error mitigation techniques for future chip multiprocessors’ and the work presented in it are my own. I confirm that: ■This work was done wholly or mainly while in candidature for a research degree at this University. ■Where any part of this thesis has previously been submitted for a degree or any other qualification at this University or any other institution, this has been clearly stated. ■Where I have consulted the published work of others, this is always clearly attributed. ■Where I have quoted from the work of others, the source is always given. With the exception of such quotations, this thesis is entirely my own work. ■I have acknowledged all main sources of help. ■Where the thesis is based on work done by myself jointly with others, I have made clear exactly what was done by others and what I have contributed myself. Signed: Date: ii ‘Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. But the only thing you can’t do is ignore them. Because they change things. They invent. They imagine. They heal. They explore. They create. They inspire. They push the human race forward. Maybe they have to be crazy. How else can you stare at an empty canvas and see a work of art? Or sit in silence and hear a song thats never been written? Or gaze at a red planet and see a laboratory on wheels? We make tools for these kinds of people. While some see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do!’ Apple Computer, Inc. (Written by Rob Siltanen & Lee Clow) Dedicated to my wife and family . . . vi Abstract The sustained drive to downsize the transistors has reached a point where device sensitivity against transient faults due to neutron and alpha particle strikes a.k.a soft errors has moved to the forefront of concerns for next-generation designs. Following Moore’s law, the exponential growth in the number of transistors per chip has brought tremendous progress in the performance and functionality of processors. However, incorporating billions of transistors into a chip makes it more likely to encounter a soft soft errors. Moreover, aggressive voltage scaling and process variations make the processors even more vulnerable to soft errors. Also, the number of cores on chip is growing exponentially fueling the multicore revolution. With increased core counts and larger memory arrays, the total failurein-time (FIT) per chip (or package) increases. Our studies concluded that the shrinking technology required to match the power and performance demands for servers and future exa- and tera-scale systems impacts the FIT budget. New soft error mitigation techniques that allow meeting the failure rate target are important to keep harnessing the benefits of Moore’s law. Traditionally, reliability research has focused on providing circuit, microarchitecture and architectural solutions, which include device hardening, redundant execution, lock–step, error correcting codes, modular redundancy etc. In general, all these techniques are very effective in handling soft errors but expensive in terms of performance, power, and area overheads. Traditional solutions fail to scale in providing the required degree of reliability with increasing failure rates while maintaining low area, power and performance cost. Moreover, this family of solutions has hit the point of diminishing return, and simply achieving 2×improvement in the soft error rate may be impractical. Instead of relying on some kind of redundancy, a new direction that is growing in interest by the research community is detecting the actual particle strike rather than its consequence. The proposed idea consists of deploying a set of detectors on silicon that would be in charge of perceiving the particle strikes that can potentially create a soft error. Upon detection, a hardware or software mechanism would trigger the appropriate recovery action. This work proposes a lightweight and scalable soft error mitigation solution. As a part of our soft error mitigation technique, we show how to use acoustic wave Contents xv 4.2.2.1 Error Area Granularity: Cache Lines . . . . . . . . 95 4.2.2.2 Error Area Granularity: Exact bit . . . . . . . . . 95 4.3 Acoustic Wave Detectors with Error Codes . . . . . . . . . . . . . . 97 4.3.1 Error Area Granularity: Cache Lines . . . . . . . . . . . . . 97 4.3.2 Error Area Granularity: Exact bit . . . . . . . . . . . . . . . 100 4.3.2.1 Acoustic Wave Detectors + Parity per Block . . . . 102 4.3.2.2 Acoustic Wave Detectors + Parity per Byte . . . . 105 4.3.2.3 Acoustic Wave Detectors with Physical Interleaving 107 4.4 Handling Multi-bit Upsets in Caches . . . . . . . . . . . . . . . . . 109 4.5 Cost of Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 4.6 RelatedWork ..............................112 4.6.1 Particle Strike Detection for Soft Errors . . . . . . . . . . . 113 4.6.2 Soft Error Detection . . . . . . . . . . . . . . . . . . . . . . 113 4.6.2.1 Error Codes . . . . . . . . . . . . . . . . . . . . . . 113 4.6.3 Soft Error Mitigation . . . . . . . . . . . . . . . . . . . . . . 115 4.6.3.1 Physical Interleaving . . . . . . . . . . . . . . . . . 116 4.6.3.2 Cache Scrubbing . . . . . . . . . . . . . . . . . . . 116 4.6.3.3 Cache Flush . . . . . . . . . . . . . . . . . . . . . . 117 4.6.3.4 Early Writeback . . . . . . . . . . . . . . . . . . . 117 4.6.4 Comparison of Techniques . . . . . . . . . . . . . . . . . . . 117 4.7 ChapterSummary ...........................122 5 Protecting Entire Core with Acoustic Wave Detectors 124 5.1 ”SDC & DUE 0” Architecture . . . . . . . . . . . . . . . . . . . . . 124 5.1.1 Effect of Detection Latency on SDC & DUE . . . . . . . . . 125 5.1.2 Achieving SDC-& DUE 0 per Core . . . . . . . . . . . . . . 127 5.1.3 Divide and Conquer for SDC and DUE 0 . . . . . . . . . . . 129 5.1.4 Containment in Core: Recap . . . . . . . . . . . . . . . . . . 131 5.1.5 Proposed Architecture . . . . . . . . . . . . . . . . . . . . . 131 5.2 Implementation of Proposed Architecture: Unicore Processor . . . . 133 5.2.1 Error Containment Mechanism . . . . . . . . . . . . . . . . 133 5.2.1.1 Dealing with Verified Cache. . . . . . . . . . . . . . 134 5.2.1.2 Dealing with Not-Verified Cache. . . . . . . . . . . 134 5.2.2 Creating Checkpoints . . . . . . . . . . . . . . . . . . . . . . 136 5.2.2.1 Validating the Checkpoint. . . . . . . . . . . . . . 138 5.2.3 Recovering from Error . . . . . . . . . . . . . . . . . . . . . 139 5.2.4 Intrusiveness of Design . . . . . . . . . . . . . . . . . . . . . 139 5.3 Implementation of Proposed Architecture: Multicore Processor . . . 140 5.3.1 Shared Memory Architecture . . . . . . . . . . . . . . . . . 140 5.3.1.1 MOESI Protocol for Error Containment. . . . . . . 140 5.3.1.2 MOESI Protocol for Checkpointing. . . . . . . . . 142 5.3.1.3 Recovering from Error. . . . . . . . . . . . . . . . . 142 5.4 Managing System Calls, Interrupts and Exceptions . . . . . . . . . 142 5.4.1 Handling Interrupts. . . . . . . . . . . . . . . . . . . . . . . 142 Contents xvi 5.4.2 Dealing with Exceptions. . . . . . . . . . . . . . . . . . . . 143 5.4.3 Context switching and Multi-programming. . . . . . . . . . 144 5.5 Performance Evaluation of ”SDC- & DUE 0” Architecture . . . . . 144 5.5.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . 144 5.5.1.1 Single core system. . . . . . . . . . . . . . . . . . . 144 5.5.1.2 Multicore system. . . . . . . . . . . . . . . . . . . . 146 5.5.2 Error Detection Latency vs Containment Area . . . . . . . . 146 5.5.3 Checkpoint Length vs Checkpoint Area . . . . . . . . . . . . 147 5.5.4 Uniprocessor Performance . . . . . . . . . . . . . . . . . . . 150 5.5.5 Performance of Multicore for Data Non-Sharing Applications 150 5.5.6 Multicore Shared Memory Performance . . . . . . . . . . . . 152 5.6 RelatedWork ..............................152 5.6.1 Error Detection and Recovery in Core . . . . . . . . . . . . 152 5.6.1.1 Dual Modular Redundancy with Recovery . . . . . 152 5.6.1.2 Lockstepping with Recovery . . . . . . . . . . . . . 154 5.6.1.3 Redundant Multithreading (RMT) with Recovery . 156 5.6.1.4 Error Detection and Recovery using Checker Core . 158 5.7 ChapterSummary ...........................159 6 Protecting Embedded Core with Acoustic Wave Detectors 161 6.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 6.2 Handling SDC & DUE in Embedded Core . . . . . . . . . . . . . . 163 6.2.1 Acoustic Wave Detectors and Error Detection Latency . . . 163 6.2.2 Error Containment Granularity . . . . . . . . . . . . . . . . 164 6.2.2.1 Error Containment Granularity: Core . . . . . . . 165 6.2.2.2 Error Containment Granularity: Cache . . . . . . . 166 6.2.3 Putting everything together . . . . . . . . . . . . . . . . . . 168 6.3 Selective Error Containment . . . . . . . . . . . . . . . . . . . . . . 168 6.3.1 Protecting Individual Data Paths & Latency Guard Bands . 168 6.3.1.1 Traversal of Instructions in Pipeline . . . . . . . . 169 6.3.1.2 Cost of Error Containment . . . . . . . . . . . . . 170 6.4 Error Containment Coverage vs. Vulnerability . . . . . . . . . . . . 172 6.4.1 ACEAnalysis..........................173 6.4.2 Reducing AVF using Acoustic Wave Detectors . . . . . . . . 175 6.5 RelatedWork ..............................176 6.5.1 Soft Error Sensitivity Analysis . . . . . . . . . . . . . . . . . 177 6.5.2 Soft Error Protection . . . . . . . . . . . . . . . . . . . . . . 178 6.5.2.1 Hardware Only Approach . . . . . . . . . . . . . . 178 6.5.2.2 Software Only Approach . . . . . . . . . . . . . . . 179 6.5.2.3 Hybrid Approach . . . . . . . . . . . . . . . . . . . 180 6.6 ChapterSummary ...........................180 7 Related Work 182 7.1 Soft Error Protection Schemes . . . . . . . . . . . . . . . . . . . . . 182 Contents xvii 7.1.1 Device Enhancements . . . . . . . . . . . . . . . . . . . . . 182 7.1.1.1 Triple-well technology . . . . . . . . . . . . . . . . 183 7.1.1.2 Silicon-on-insulator . . . . . . . . . . . . . . . . . . 183 7.1.1.3 Process techniques . . . . . . . . . . . . . . . . . . 184 7.1.2 Circuit Enhancements . . . . . . . . . . . . . . . . . . . . . 184 7.1.2.1 Increasing nodal capacitance in the circuit . . . . . 185 7.1.2.2 Radiation hardened cells . . . . . . . . . . . . . . . 186 7.2 Soft Error Detection Schemes . . . . . . . . . . . . . . . . . . . . . 186 7.2.1 Spatial Redundancy . . . . . . . . . . . . . . . . . . . . . . 187 7.2.1.1 Detectors for Error Detection . . . . . . . . . . . . 187 7.2.1.2 Error Detection via Monitoring Invariants . . . . . 188 7.2.1.3 Error Detection via Dynamic Control/Data Flow Checks.........................190 7.2.1.4 Error Detection via Hardware Assertion . . . . . . 191 7.2.1.5 Error Detection via Symptom Checks . . . . . . . . 192 7.2.1.6 Error Detection via Selective Protection . . . . . . 193 7.2.2 Information Redundancy . . . . . . . . . . . . . . . . . . . . 194 7.2.2.1 Error Codes for Combinational Logic . . . . . . . . 194 7.2.2.2 Signature Based Approach . . . . . . . . . . . . . . 199 7.2.3 Temporal Redundancy . . . . . . . . . . . . . . . . . . . . . 199 7.2.3.1 Various Flavors of RMT . . . . . . . . . . . . . . . 200 7.2.3.2 Error Detection via Detecting Anomalies . . . . . . 206 7.2.3.3 Using shifting operations . . . . . . . . . . . . . . . 207 7.3 ErrorRecovery .............................208 7.3.1 Forward Error Recovery . . . . . . . . . . . . . . . . . . . . 209 7.3.1.1 Triple Modular Redundancy (TMR) . . . . . . . . 209 7.3.2 Backward Error Recovery . . . . . . . . . . . . . . . . . . . 210 7.3.2.1 Checkpointing Techniques for Recovery . . . . . . . 211 7.3.3 Other Recovery Schemes . . . . . . . . . . . . . . . . . . . . 215 7.4 Error Detection and Recovery using Software . . . . . . . . . . . . . 216 8 Conclusions 220 8.1 SummaryofResearch..........................220 8.1.1 Detecting Particle Strikes for Soft Error Detection . . . . . . 221 8.1.2 Unified Error Detection for Logic & Memory . . . . . . . . . 221 8.1.3 Precisely Locating the Errors . . . . . . . . . . . . . . . . . 221 8.1.4 Reducing Reliability Cost for Caches and Memory . . . . . . 222 8.1.5 Protecting Entire Processor . . . . . . . . . . . . . . . . . . 223 8.1.6 One Solution for All Computing Segments . . . . . . . . . . 223 8.2 Discussions ...............................224 8.2.1 FutureWork...........................224 Bibliography 226 List of Figures 1.1 SRAM bit and SRAM system (e.g., cache) soft error rate for different technology nodes [17]. The soft error rate of a bit is predicted to remain roughly constant. However, the soft error rate of a cache is predicted to increase. . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 System soft error rate trend for different technologies [29, 33, 34]. The soft error trend has been scaled from the numbers presented for single core in the works of [35] assuming same system wide masking rate as [36]. It also shows the soft error rate trends in dotted lines for three levels of aggressive voltage scaling (V1>V2>V3) for future sub-32nmtechnologies.......................... 4 1.3 Soft error rate contribution of different components in a processor core [56]. Core frontend includes ITLB, decode queue, RAT, IL1, pre-scheduler, allocate latches etc. Core backend includes DTLB, MOB, DL1, ROB, ALUs, register file, issue queue, AGU etc. Case (a) FIT distribution of a processor assuming caches and TLBs are protected via ECC and therefore, do not contribute to the total FIT rate. Case (b) FIT distribution of a processor with a protection mechanism similar to the redundant multithreading (RMT) [57] and caches, register file, MOB, and queues with data coming from a protected structured are protected. . . . . . . . . . . . . . . . . . 6 1.4 Scaling of FIT/Core to accommodate more cores per chip while maintaining the FIT/Chip constant . . . . . . . . . . . . . . . . . . 7 1.5 TDP modes in modern multicore processor. TDP1 operates at 0.7 VDD and hence there are 4 active cores. In TDP2 the supply voltage is scaled down to 0.45 VDD to activate 64 cores. The relative FIT in TDP2 is increased by 16×compared to TDP1 due to increased active silicon area. However, due to effects of the supply voltage scaling the relative impact on soft error rate is as high as 30×[77]................................. 8 2.1 Reliability metrics: Mean time to repair (MTTR), Mean time to failure (MTTF) and Mean time between failures (MTBF) . . . . . . 18 2.2 Classification of soft errors: silent data corruption (SDC) and detected unrecoverable error (DUE) ................... 20 2.3 Realizing reliability pipeline for soft errors: error detection, error containment and error recovery . . . . . . . . . . . . . . . . . . . . 21 xviii List of Figures xix 2.4 Alpha particles generate electron-hole pairs in silicon by direct ionization. Inelastic collision of neutrons with a silicon atom generate electron-hole pairs via indirect ionization by creating a silicon recoil. Elastic collisions of neutron particles are harmless. . . . . . . . . . . 24 2.5 Particle strike on a critical node Qon a 6T-SRAM cell . . . . . . . 28 2.6 Structure of a DRAM memory cell . . . . . . . . . . . . . . . . . . 29 2.7 Masking effect in combinational logic circuits. . . . . . . . . . . . . 30 2.8 Impact of frequency on soft error rate . . . . . . . . . . . . . . . . . 34 2.9 DRAM bit soft error rate for different technology nodes [180]. The soft error rate of a DRAM bit is predicted to decrease. The soft error rate of a DRAM memory system has traditionally remained constant over technology generations moreover, it is predicted to be dominated by the soft errors in the DRAM peripheral logic. . . . . 36 3.1 Transformation of the energy of particle strike upon its impact on silicon surface into acoustic shock wave . . . . . . . . . . . . . . . . 46 3.2 Cantilever beam like structure of acoustic wave detectors [214]. A particle strike is detected by sensing the deflection of cantilever beam. 47 3.3 A comparison of relative slowdown due to false positive recovery for different recovery techniques: Seqoia [226], Swich [227], Carer [228], SPARC64 [229], IBM Z series [59], IBM G5 [58], Encore [230], Re- Store [231], ReVive [102], SafetyNet [107], IBM Blue Gene [232], BLCR[233] ............................... 49 3.4 TDOA hyperbolas in a system and location of source. Dashed hyperbola is formed using only two detectors S1and S2. Including a third detector S3can successfully locate the source via intersecting hyperbolas. ............................... 52 3.5 Strike detection and localization via triangulation using TDOA measurements of acoustic wave detectors . . . . . . . . . . . . . . . 53 3.6 Timeline of the events following the particle strike . . . . . . . . . . 53 3.7 Strike detection algorithm (firmware) and a hardware control mechanism .................................. 54 3.8 Sampling errors in the measurements of the time difference of the arrival at the acoustic wave detectors . . . . . . . . . . . . . . . . . 55 3.9 Placement of detectors in a mesh formation . . . . . . . . . . . . . 64 3.10 Impact of placement of detectors (while solving 4 TDOA equations) on accuracy (area unit is the area of 1 bit SRAM cell) . . . . . . . . 65 3.11 Impact of placement of detectors (while solving 4 TDOA equations) on location estimation coverage . . . . . . . . . . . . . . . . . . . . 65 3.12 Impact of initial guess on coverage (while solving 4 TDOA equations) on location estimation coverage . . . . . . . . . . . . . . . . . 66 3.13 Worst-case error area with the selection of different set of detectors (4 to 10) from a given [4 ×5]mesh .................. 68 3.14 Error area with closest detectors for [4 ×5] mesh . . . . . . . . . . 70 3.15 Comparing accuracy of all algorithms and for the mesh configurations discussed in Table 3.2 . . . . . . . . . . . . . . . . . . . . . . 72 List of Figures xx 3.16 Comparing runtime and complexity of all algorithms and for the mesh configurations discussed in Table 3.2 . . . . . . . . . . . . . . 73 3.17 Impact of sampling frequency on error area for configurations of Table 3.2 Iterative Algorithm 4 . . . . . . . . . . . . . . . . . . . . 74 3.18 Impact of sampling frequency on error area for configurations of Table 3.2 for all algorithms . . . . . . . . . . . . . . . . . . . . . . . 75 3.19 Worst-case detection latency for mesh configurations of Table 3.2 in a processor running at 2 GHz . . . . . . . . . . . . . . . . . . . . 76 3.20 Adding more detectors to reduce worst-case detection latency in a processor running at 2 GHz . . . . . . . . . . . . . . . . . . . . . . 76 3.21 Built-in current sensor (BICS) . . . . . . . . . . . . . . . . . . . . . 80 3.22 Switching current detector . . . . . . . . . . . . . . . . . . . . . . . 81 3.23 Voltage glitch detector . . . . . . . . . . . . . . . . . . . . . . . . . 82 3.24 Metastability detector (BISS) . . . . . . . . . . . . . . . . . . . . . 82 4.1 Mapping of the estimated worst-case error area at the granularity of affected (a) bits (b) bytes and (c) lines. These affected bits, bytes or cache lines contain the actual erroneous bit, byte or cache line. . 92 4.2 Breakdown of the obtained worst-case error area granularity for 1048 particle strikes at random location and instance for different mesh configurations in L1 data cache at the sampling frequency of 4GHz .................................. 96 4.3 Quantification of error area granularity for 5 ×5 mesh for L1 data cache...................................101 4.4 3*CEP error area mapping to bits to bits of the L1 cache: (a) 1-bit, (b) 2-bits, (c) 3-bits (d) 4-bits and (e) 5-bits . . . . . . . . . . . . . 102 4.5 Possibilities of 3*CEP error area granularity patterns : (a) 2-bits, (b) 3-bits, (c) 4-bits and (d) 5-bits . . . . . . . . . . . . . . . . . . 102 4.6 Probability of pin-pointing the erroneous bit using acoustic wave detectors + parity per block for 3*CEP error area granularity patterns of (a) 2-bit, (b) 3-bit, (c) 4-bit and (d,e) 5-bit . . . . . . . . . 103 4.7 Probability of pin-pointing the erroneous bit using acoustic wave detectors + parity per byte for 3*CEP error area granularity patterns of (a,b) 2-bit, (c-f) 3-bit, (g) 4-bit and (h-m) 5-bit . . . . . . . 105 4.8 Probability of pin-pointing the erroneous bit using acoustic wave detectors + parity per byte and assuming the bits are physically interleaved with degree of interleaving: 4 . . . . . . . . . . . . . . . 107 4.9 Probability of pin-pointing the erroneous bit and correcting it (i.e., DUE improvement) using acoustic wave detectors and combining acoustic wave detectors with parity at byte and block level and assuming physically interleaved parity protected bits in L1 data cache108 4.10 Extending the 3*CEP error area granularity of 1-bit and 5-bits for handling spatial multi-bit upsets using acoustic wave detectors to locate (a) 2 bit MBU and (b) 3 bit MBU . . . . . . . . . . . . . . 110 List of Figures xxi 4.11 Probability of locating the 2 bit MBU using acoustic wave detectors configuration providing 3*CEP error area granularity of 1 bit and parityperbyte .............................111 4.12 Basic functionality of encoding and decoding of data bits in error codes...................................114 5.1 Number of detectors vs. detection latency at 2 GHz . . . . . . . . . 128 5.2 Pipeline of a state of the art processor and the latency of stages . . 129 5.3 Error Containment Architecture . . . . . . . . . . . . . . . . . . . . 132 5.4 Time-line of the events in cache. Dindicates the dirty bit and EDL stands for error detection latency. Once the cache line has been written the cache line enters in quarantine state. After ErrorDetectionLatency cycles the cache line is now in verified state and also error free. . . . 134 5.5 Error containment in cache for evictions caused by read and write operations. Dindicates the dirty bit. . . . . . . . . . . . . . . . . . 135 5.6 Checkpointing in the caches due to the evictions caused by read and write operations. Dindicates the dirty bit and CH stands for thecheckpointbit. ...........................137 5.7 A scenario indicating the importance of validating the checkpoint. CH indicates the checkpoint bit and EDL stands for error detection latency. Notice the CheckpointValid counter that indicates the validity of the checkpoint. . . . . . . . . . . . . . . . . . . . . . . . 138 5.8 Handling error containment in a shared memory accesses for multicore architecture. EDL stands for error detection latency. . . . . . . 141 5.9 MOESI protocol: Transitions are shown in the trigger7→action format. Underlined transition triggers and actions are the same as uniprocessor architecture. The transition triggers in gray boxes are extensions for multicore shared memory architecture. ”Wr” stands for write and ”Rd” stands for read operation. ”Stall”7→ErrorDetectionLatency cycles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 5.10 Extending the architecture to handle interrupts and I/O traffic. . . 143 5.11 Checkpoint events in LLC checkpoint boundary . . . . . . . . . . . 145 5.12 Average dirty lines to be written back from L1 to LLC . . . . . . . 149 5.13 Average wait-cycles until LLC is verified . . . . . . . . . . . . . . . 149 5.14 Performance impact of containment and checkpointing LLC cache in single core architecture . . . . . . . . . . . . . . . . . . . . . . . 150 5.15 Slowdown due to containment and checkpointing LLC cache in the 16-core system for private memory applications . . . . . . . . . . . 151 5.16 Slowdown due to containment and checkpointing LLC cache in the 16-core system for shared memory applications . . . . . . . . . . . . 151 5.17 Implementation of dual modular redundancy scheme for error detection and recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . 153 5.18 Lockstep error detection and recovery via retry . . . . . . . . . . . 155 5.19 Implementation of dynamic implementation verification architecture (DIVA) and the functioning of the checker core . . . . . . . . . 158 List of Figures xxii 6.1 Error detection latency for acoustic wave detectors on embedded core for different mesh configurations . . . . . . . . . . . . . . . . . 164 6.2 Error containment granularities in embedded processor . . . . . . . 165 6.3 Performance overhead of error containment in cache for a checkpoint period of 1 million cycles . . . . . . . . . . . . . . . . . . . . . . . . 167 6.4 Distribution of residency cycles in a state of the art embedded core pipeline .................................169 6.5 Arrangement of FUBs and placement of acoustic wave detectors on embeddedcore[313] ..........................172 6.6 Error containment granularities in embedded processor . . . . . . . 173 6.7 Reducing AVF by adapting acoustic wave detectors . . . . . . . . . 175 6.8 AVF of issue queue by protecting them with acoustic wave detectors for different detection latency . . . . . . . . . . . . . . . . . . . . . 176 7.1 Triple well technology and the creation of deep n-well which traps the charge generated upon a particle strike. . . . . . . . . . . . . . . 183 7.2 The suspended body in partially depleted SOI transistor . . . . . . 184 7.3 Reduction of soft errors by introducing capacitance on the critical nodesinanSRAMcell.........................185 7.4 The C-Element circuit forming the core logic of BISER detection scheme[322]...............................188 7.5 The control flow checker: A high level program, compiler generated instructions and the corresponding CFG . . . . . . . . . . . . . . . 191 7.6 The hardware assertion and the timestamps . . . . . . . . . . . . . 192 7.7 Residue code generation logic for an adder . . . . . . . . . . . . . . 197 7.8 Functional block diagram of parity prediction circuit in an adder . . 198 7.9 Sphere of replication is shown in shaded part. Both the processor cores are part of the sphere of replication . . . . . . . . . . . . . . . 202 7.10 Functional implementation of RMT scheme on a processor with two cores (P0 and P1). The cross coupled cores with a few dedicated hardware queues can work in unison for error detection. . . . . . . . 205 7.11 Using temporal redundancy for error detection via re-execution with shiftedoperands.............................207 7.12 Classification of error recovery schemes . . . . . . . . . . . . . . . . 208 7.13 Triple modular redundancy . . . . . . . . . . . . . . . . . . . . . . 210 List of Tables 2.1 Summary of the sources of soft errors. †indicates the flux at sea level and ⋆is the flux at 32,000 feet above sea-level. . . . . . . . . . 25 2.2 Parameters that affect the soft errors and impact the overall soft errorrate ................................ 33 2.3 Impact of important parameters and corresponding impact on soft errorrate ................................ 33 3.1 Comparing different particle strike detectors. †while protecting memory, ⋆while protecting combinational logic, ∓the detection latency is bounded and configurable. . . . . . . . . . . . . . . . . . 44 3.2 Worst case error area for best configuration of a given mesh for each algorithm. †solves only 2 equations . . . . . . . . . . . . . . . . . . 71 3.3 Comparison of algorithms: Algorithm 1 is deterministic and Algorithms 2, 3 and 4 are non-deterministic; ∓with careful mesh selections ................................ 78 4.1 Summary of the best mesh configurations and the error area granularities for the caches . . . . . . . . . . . . . . . . . . . . . . . . . 92 4.2 Summary of the mesh configurations for the caches and corresponding worst case detection latency cycles for a sampling frequency of 2 GHz. Marked configurations are used only for locating errors and extra detectors are added to reduce the detection latencies. . . . . . 93 4.3 Comparison of protection capabilities of having only error codes versus error codes with acoustic wave detectors. HFaults stands for number of hard faults, SER number of soft errors, D for detection, C for correction, CT for containment . . . . . . . . . . . . . . . . . 99 4.4 Minimum required degree of physical bit interleaving (DOI) in a cache with bit interleaved parity and acoustic wave detectors . . . . 111 4.5 Comparing different mechanisms for protecting caches against soft errors. nD indicates n bits error detection capability, mD–nC indicates m bits error detection and n bits correction capability. † overheads per SRAM cell, †† overhead per chip, ⋆overhead per 64 bits, ⋆⋆ doesnt include overhead from the interleaving circuit. . . . . 119 xxiii List of Tables xxiv 5.1 Comparison of different error detection schemes (†vulnerability holes in LSQ logic (i.e., MOB logic), ∗cannot detect errors in stores, †† does not detect but prevents error, ⋆only for simple in-order cores, ⋆⋆ cannot detect if fault does not manifest a symptom, ∓latency from actual strike instance) . . . . . . . . . . . . . . . . . . . . . . 126 5.2 Required number of detectors for containment in core . . . . . . . . 130 5.3 Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . 146 5.4 Containment cost (i.e., #Stalls and wait cycles for each stall) for containment boundary limited to L1 . . . . . . . . . . . . . . . . . 147 6.1 Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . 162 6.2 Required acoustic wave detectors for full error containment coverage. L1 cache is protected separately using an architecture as presented in Chapter 4. . . . . . . . . . . . . . . . . . . . . . . . . . 171 7.1 AN codes and the functions for which they are invariant . . . . . . 195 7.2 Residue codes and the functions for which they are invariant. Division is not directly encodable however division holds D - R = Q × I relation where D is dividend, R is remainder, Q is quotient and I isdivisor.................................196 Chapter 1 Introduction For several decades, the semiconductor devices have seen tremendous progress in performance and functionality due to the exponential growth in the number of transistors per chip. In 1971, the Intel 4004®processor held 2,300 transistors. In early 2014 Intel released Xeon Ivy Bridge-Ex®with than 4.3 billion transistors [1]. This exponential growth in number of transistors is popularly known as Moore’s law [2]. Each succeeding technology generation has introduced new obstacles in fulfilling the on chip transistor count. First, the rate of improvement in microprocessor speed exceeds the rate of improvement in off chip memory (DRAM) speed [3]. This resulted into the memory wall problem that drives the innovation in having low latency caches and other higher-level techniques such as prefetching [4, 5] and multithreading [6] that either reduce the memory latency, or keep the processor occupied for the longer latency memory operations. Later, the power dissipation of the microprocessors started reaching sky high and semiconductor industry hit the power wall, where the performance improvements of microprocessor were limited by power constraints [7]. It motivated the research in low power computing techniques such as dynamic voltage and frequency scaling (DVFS), near threshold computing (NTC) and subthreshold operations. According to Dennard scaling [8], as transistors get smaller their power density stays constant, so that the power used stays in proportion with area (i.e., both voltage and current scale down with length). The breakdown of Dennard scaling and the failure of Moore’s law to yield dividends in improved performance [9, 10] prompted a switch among some chip manufacturers to a greater focus on multicore processors [11]. 1 Introduction 2 Since the number of cores on chip is growing exponentially fueling the multicore revolution, operating all cores simultaneously requires exponentially more energy per chip. However, whereas the energy requirements grow, chip power delivery and cooling limitations remain largely unchanged across technologies imposing the power wall [12]. As a result we will soon be incapable of operating all transistors simultaneously, pushing multicore scaling to an end [13, 14]. This trend is leading us into an era of dark silicon where we will be able to build denser devices but we will not be able to power them up. In this series of challenges, the reliability issues are next in line. Shrinking transistor dimensions and aggressive voltage scaling increase the sensitivity against intrinsic and extrinsic noise sources and a corresponding increase in static and dynamic variations. They lead to higher probability of parametric and wear-out failures, manufacturing defects and particle strike induced soft errors. This has elevated reliability into a prime design constraint for current and future processor design [15, 16]. Among all the failure mechanisms, transient faults from alpha and neutron particle strikes can induce a higher failure rate than the failure rate of all other failure mechanisms combined [17]. As the benefits of fault tolerance solutions come at the cost of area, energy and performance overheads, it may prevent achieving scalable performance leading us to the soft error wall. 1.1 Motivation Charged particles coming from the atmosphere generate electron-hole pairs as they pass through a transistor. Transistor nodes can collect these charges. A particle strike can deposit enough charge to corrupt a data bit stored in the memory (i.e., SRAM), or it can create a glitch in any gate in combinational logic. Such faults in the circuit’s operation may cause a failure by corrupting the data leading to a system crash. Since these transient errors occur due to an incorrect charge or discharge of an intermediate capacitive node, they do not cause permanent failure in the hardware and hence are termed soft errors in the literature. The soft error rate (SER) is the rate at which a device or system encounters or is predicted to encounter soft errors per unit of time, and is typically expressed as Failures-In-Time (FIT). Chip designers have specific FIT targets for different computing segments similar to power or performance budget [18]. Introduction 3 Figure 1.1: SRAM bit and SRAM system (e.g., cache) soft error rate for different technology nodes [17]. The soft error rate of a bit is predicted to remain roughly constant. However, the soft error rate of a cache is predicted to increase. Although soft errors do not permanently damage the device, they are the primary limit on digital circuit reliability [19]. According to the current trends, soft errors are more important than all other causes of computing reliability put together [20]. Typically, the soft error rate can be 250-1000×higher than the hard failure rates [17]. The existence of this problem in space applications was reported in the early 1950s. Later, researchers found three potential radiation mechanisms that can also cause soft errors at ground level. In late 70’s alpha particles emitting from the radioactive impurities in the packaging materials were the dominating source of soft errors. High energy neutrons (more than 1 MeV) were the dominating cause of errors in 90’s. Currently, low energy neutrons are also responsible for causing soft errors in sub-65nm technology nodes [19, 21, 22]. From then on, soft errors have been consistently reported to be primary cause of failures in many commercial and academic studies [23–28]. Introduction 4 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1E+00 1E+01 1E+02 1E+03 1E+04 1E+05 1E+06 1E+07 1E+08 1E+09 1E+10 1E+11 1E+12 180 130 90 65 45 32 22 16 Soft Error Rate (Relative FIT/Chip) Technology Node(nm) 1 Core/Chip 2 Cores/Chip 10 Cores/Chip 100 Cores/Chip 4 to 6 Cores/ Chip Voltage scaling, NTC etc. V1 V2 V3 1 failure/year 1 failure/month 1 failure/4 days 1 failure/1 day 1 failure/1.5 hour Figure 1.2: System soft error rate trend for different technologies [29, 33, 34]. The soft error trend has been scaled from the numbers presented for single core in the works of [35] assuming same system wide masking rate as [36]. It also shows the soft error rate trends in dotted lines for three levels of aggressive voltage scaling (V1>V2>V3) for future sub-32nm technologies. 1.1.1 Soft Error Trends The Figure 1.1 shows the soft error rate per SRAM bit or latch and the cache (i.e., SRAM system). The soft error rate in an SRAM bit is projected to be constant or decrease slightly per generation [29–32]. This trend is mainly because of contradicting effects of technology scaling. On one hand, with decreasing transistor dimensions the drain area of each transistor (the region sensitive to particle strikes) decreases quadratically and it significantly reduces the charge collection capacity making the SRAM cell less vulnerable. On the other hand, with each technology generation the supply voltages also scales down reducing the critical charge making it easy to upset the SRAM cell. However, a system’s error rate will grow in direct proportion to the number of devices we add to a processor in each succeeding generation. Figure 1.2 shows how the the soft error rate of a system scales with technology scaling and processor design [29, 33, 34, 37, 38]. The soft error rate scaling trend is plotted using the data presented in [33] and [34]. It shows that, the soft error rate of current and future processors is expected to increase exponentially because of exponential growth rate of on-chip transistors, the shrinking feature size and increasing core count [33, 34, 37, 39–41]. Introduction 5 A chip with 4 cores is expected to encounter roughly 1 failure every month for a 45 nm technology node. This might not be alarming yet and can be efficiently handled with existing error handling solutions. However, servers with 100 cores and huge memory capacity may encounter 1 failure everyday due to soft errors. On top of that, process variations will be more pronounced with every new technology generation which may worsen soft error rate [33, 42]. Moreover, for future processors aggressive voltage scaling and NTC will be common for meeting the power/thermal caps escalating the soft error rate. This dramatic increase in the soft error rate requires specific soft error tolerance mechanisms for current and future processors. Next, we will discuss how the existing solutions to handle soft errors do not scale to cope up with this increase in soft error rate. 1.1.2 Current Solutions and Challenges Current solutions for protecting processors with caches and large memory arrays against soft errors rely on redundancy techniques. Today’s caches and memory components are protected by parity or error codes [43–49] and hardened latches [50–54]. Unfortunately, the FIT rate of the other parts of the microprocessor system have started reaching concerning levels [29, 30, 34, 55]. Figure 1.3 shows the contribution of different elements to the total soft error rate for a modern processor with state-of-the-art technology [56]. Figure 1.3 (a) shows the FIT rate contribution from unprotected parts of the processor. It shows that FIT rate of processor is mainly due to several unprotected components such as IQ, register files (RF), MOB, ROB, RAT and unprotected latches [56]. Figure 1.3 (b) shows the FIT distribution when the caches and TLBs are protected with ECC and the register files, queues and MOB are protected with a redundant multithreading (RMT) approach [57]. Overall, it brings down the FIT of the processor compared to the case of Figure 1.3 (a). Even in this case the majority of the FIT rate comes from unprotected latches and structures such as ROB, IQ, RAT and free–list. These latches and structures are extremely difficult to protect and the cost of protection in terms of area, power and performance overhead is extremely high. Introduction 6 39.27% 60.73% Frontend Backend 25.22% 74.78% Frontend Backend (a) Protected Caches (b) Protected Caches + RMT Core Figure 1.3: Soft error rate contribution of different components in a processor core [56]. Core frontend includes ITLB, decode queue, RAT, IL1, pre-scheduler, allocate latches etc. Core backend includes DTLB, MOB, DL1, ROB, ALUs, register file, issue queue, AGU etc. Case (a) FIT distribution of a processor assuming caches and TLBs are protected via ECC and therefore, do not contribute to the total FIT rate. Case (b) FIT distribution of a processor with a protection mechanism similar to the redundant multithreading (RMT) [57] and caches, register file, MOB, and queues with data coming from a protected structured are protected. Today’s solutions do not scale to cope up with the increasing soft error rate and providing coverage to all the unprotected components on a processor core increases the complexity of soft error solutions. Moreover, the cost of protection is extremely high and the existing solutions have hit the point of diminishing return. In this thesis, our goal is to propose a soft error mitigation mechanism that is low cost, simple to implement and scalable to handle the increasing soft error rate. Instead of relying on some kind of redundancy, we propose to detect the actual particle strike rather than its consequence. The proposed technique can work for single and multicore architectures, moreover it allows reusing the same design for different computing segments without significant modifications. 1.2 Problem Statement We saw how the future processors will face greater reliability challenges due to increasing soft errors rates. We also saw how the current solutions to handle soft errors fail to scale and have hit the point of diminishing returns. Introduction 7 In particular, the work of this thesis addresses the following problems: 1.2.1 Soft Error Rate Limits the Core Count FIT/Chip Total FIT time Figure 1.4: Scaling of FIT/Core to accommodate more cores per chip while maintaining the FIT/Chip constant With increased core counts per chip and larger memory arrays, the total FIT per chip (or package) increases. The current soft error handling mechanisms have two exacerbating challenges to meet FIT rate target in the presence of unprecedented transistor densities and higher core count per chip: (i) They have to keep the total FIT of a chip constant and (ii) they have to scale to cope up with the increased soft error rate to accommodate more cores as shown in Figure 1.4. For example, if you want to have 100 cores in a chip, and now you have 4 cores, you need 25×FIT reduction per core to accommodate 100 cores. FIT rate is limiting the number of cores on a chip just like the power/thermal budget. To reduce the FIT rate and accommodate more cores and larger caches several major vendors have announced aggressive reliability and protection counter measures for current and future processors [54, 58–64]. Time and space redundancy techniques are very effective and provide very good coverage but cause 1.5–2×slowdown [56, 57, 65–76]. The caches and larger memory arrays are equipped with more parity and stronger ECC. While protecting the caches, the extra delay imposed by ECC computation may increase cache hit and miss times. Moreover, smaller caches and memory arrays cannot be protected with Introduction 8 ECC without incurring huge performance penalty. Unprotected latches and flipflops are replaced with hardened latches. Replacing the latches in critical paths with hardened latches increase the length of the critical path severely impacting performance. To overcome the performance overhead of the conventional solutions in providing the necessary reliability and keep increasing the core count, in this thesis we propose a novel soft error mitigation technique that uses acoustic wave detectors for detecting particle strikes that may cause soft errors. Upon detection, a hardware or software mechanism would trigger the appropriate recovery action. Our results show that the proposed mechanism protects the whole processor (logic, flip-flop, latches and memory arrays) incurring minimum overheads. 1.2.2 Soft Errors in the age of Dark Silicon Following the multicore trend, researchers have started designing 100-core and 1000-core chips. These 100-core and 1000-core chips create dark silicon. It imposes a limit in terms of the number of active cores per chip leaving some cores underutilized. Relative FIT/Chip #Active Cores TDP1 Vdd = 0.7 4 64 TDP2 Vdd = 0.45 1x 16x 30x 3.5x Figure 1.5: TDP modes in modern multicore processor. TDP1 operates at 0.7 VDD and hence there are 4 active cores. In TDP2 the supply voltage is scaled down to 0.45 VDD to activate 64 cores. The relative FIT in TDP2 is increased by 16×compared to TDP1 due to increased active silicon area. However, due to effects of the supply voltage scaling the relative impact on soft error rate is as high as 30×[77] Introduction 9 In a conventional multicore processor, there is only one thermal design power (TDP) mode. It implies that at peak voltage and frequency all cores are powered on. In contrast, in the age of dark silicon, multicore processors have different TDP modes with different operating voltages. Each TDP mode have starkly different and inconsistent impact on soft error rates as well. TDP mode with lower operating voltage, increases number of active cores on the chip as shown in Figure 1.5. This results in higher FIT rate of chip due to two reasons: (i) lower voltages decrease the minimum charge required to cause the soft error and, (ii) due to reduced supply voltages the applications will take longer to execute prolonging the vulnerability window of critical structures. To handle dark silicon, powering on 16×more silicon area can increase the soft error rates by 3.5–30×[77]. We propose a solution that is extremely low cost in terms of area, power and performance overhead which is crucial in dark silicon era where the chips are already suffering the performance due to the power limitations. 1.2.3 Soft Errors in Large Memories Cache memory is a fundamental component used to enhance the performance of microprocessors. Current high performance processors employ multilevel onchip caches. The sizes are in the range of several megabytes and are expected to increase [58, 64, 78]. On-chip caches occupy roughly 50% of chip real estate [79]. The combination of growing cache size, voltage scaling, shrinking SRAM cell dimensions, and increased impact of process variations is causing rapid increase in the soft error rate. Caches benefit from the positive impact of smaller cell sizes. However, this benefit is offset by the negative impact of storing less charge per bit and reduced critical charge to create a soft error; as a result the cache error rate increases linearly with cache size [30, 31, 38, 80]. To protect the caches designers adapt to error detecting codes such as parity codes or ECC such as Single Error Correction–Double Error Detection (SECDED) [43, 44]. Every read and write operation requires the encoding or decoding of the data bits for error detection or correction. Usually, L1 caches are not protected at all or have only error detection [81]. Large caches (L2 or L3) are usually protected via ECC [82, 83]. Introduction 10 Most soft errors are single bit upsets and can be detected by parity codes. To correct single bit errors single error correction can be used. However, larger caches frequently switch to drowsy mode [84] or subthreshold operating modes [85] to save energy. Such optimizations in future processors will be very common and they increase the likelihood of soft errors by 9-10×[86]. Moreover, due to reduced operating voltages, a single neutron strike can upset more than one bit of memory in close proximity, causing spatial multibit errors. To handle spatial multibit errors, designers usually physically interleave the ECC protected bits [87, 88]. Also, in a cache the error handling policy (e.g., SEC-DED) has to access the erroneous data to correct it. If not accessed, the first single bit errors may not be corrected by it, leading to accumulation of such single bit errors over a long time which are called temporal multibit errors. To detect and correct temporal multibit errors more complex codes Double Error Correction–Triple Error Detection (DEC-TED) [45, 89] or RS codes [90] are required. Alternatively, there have been proposals to use cache scrubbing that periodically scans the cache for single bit errors avoiding their accumulation [91, 92]. Error codes combined with scrubbing is very widely used in commercial processors. To handle increasing soft error rates complex codes are required. Complex codes need longer time for encoding and decoding data and may not be able to provide inline error detection and correction. They may also increase the critical path severely impacting performance [48]. Scrubbing techniques may cause large overheads for protecting on-chip caches [93, 94]. Solutions to protect caches in drowsy mode sacrifice the cache capacity [95, 96]. TIn this work, we propose an error detection and correction architecture that reduces the failure rate of caches due to soft errors at minimal overheads. As a result of which larger caches with less complex and economical error protection techniques can also provide higher degree of reliability. 1.2.4 Handling SDC & DUE Soft errors can be classified as silent data corruption (SDC) or detected unrecoverable error (DUE). Corrupted data may go unnoticed by the user and is harmless. However, corrupted data that ends up as a visible error counts as SDC event. A DUE event occurs when a system detects the soft error but cannot recover from it. An SDC event or a DUE event can cause a system crash. However, unlike an Soft Errors: Background and Overview 17 2.1.1 Faults, Errors and Failures A fault in a computer system is an undesirable event and usually a result of defects, imperfections or interaction of external environment. Typically faults can be classified in three types: •Permanent or hard fault: As the name suggests permanent faults or hard faults remain in existence for a long period until the faulty part is replaced. Permanent faults or hard faults can be further categorized as extrinsic or intrinsic faults. Extrinsic faults are caused due to manufacturing defects or due to contamination of the device. Intrinsic faults are caused by wearout of the material over time. Intrinsic faults include faults due to electromigration [120–122], stress voiding, gate oxide wearout [123], hot carrier injection (HCI), negative bias temperature instability (NBTI) [124, 125], positive bias temperature instability (PBTI) [126], errors due to scaled voltages (i.e., low Vccmin errors [127]), high heat flux or thermal cycling across the silicon die [128] and time dependent dielectric breakdown (TDDB) [129]. •Intermittent fault: An intermittent fault is a fault that appears under specific situation (e.g., elevated temperature), and it is usually an early indicator of an impending permanent fault. A partial oxide wearout may cause intermittent faults. •Transient fault: Transient faults occur only once and are non–repeatable. Transient faults in semiconductor devices are caused by noise and erratic voltage fluctuations [130] within the chip or by external factors such as radiation induced soft errors. Soft errors are transient errors which do not permanently damage the processor and do not recur. Handling both permanent and transient faults are important for reliability. Unlike soft errors, the permanent faults and the transient faults due to noise can be identified during validation and are fixed before the silicon chip is shipped. However, soft errors must be handled in the field. An error is a manifestation of an underlying fault in a computer system. Just like faults, errors can be permanent, intermittent or transient. A hard fault may cause a hard error, an intermittent fault may cause an intermittent error, and a transient fault may cause a transient error. Particle strike induced bit flips are transient in Soft Errors: Background and Overview 18 nature and do not cause any permanent damage hence they are termed soft errors. It is important to note that faults are necessary to cause errors, however, not all faults cause errors. All those faults that do not cause errors are masked. The masking rate indicates the percentage of masked faults. Most of the faults get masked or corrected before they can cause an error. For instance, a fault in a branch predictor will not affect the correctness of the end result and hence it will not cause an error. We will discuss about masking effects of combinational logic in a processor in detail in Section 2.6.3. A failure is a special case of error, in which the error deviates the system from the expected action. It is important to note that not all errors cause failures. For instance, an error in the unmodified L1 cache line will not cause a system failure. 2.1.2 Metrics System working System working System down Failure Failure MTTR MTTF MTBF Figure 2.1: Reliability metrics: Mean time to repair (MTTR), Mean time to failure (MTTF) and Mean time between failures (MTBF) Failure rates can be given by Time to Failure (TTF). It is the time until the first fault or error occurs. Similarly, Mean time Between Failures (MTBF) indicates the mean time that has elapsed between two faults or errors as shown in Figure 2.1. Besides MTBF, Mean Time to Repair (MTTR) and Mean Time to Failure (MTTF) are also commonly used. MTTR indicates the mean time required to repair an error after it is detected. And MTTF is the time until the system encounters a failure once it is repaired. Although MTTF is easy to understand, its computation can be complex for larger circuits with millions of components. Hence, to express the failure rate an additive metric Failure in Time (FIT) is more convenient. One FIT is equal to one failure Soft Errors: Background and Overview 19 in a billion run-time hours. FIT rate of a system is the summation of individual FIT rates of all the components. For example, if a 6T-SRAM cell with the failure rate of 0.001 FIT/bit is used to design a 1 MB cache, then the total failure rate of the cache is 8389 FIT and the cache has an MTTF of about 4900 days. FIT rate =109 MTTF in years ×24 hours ×365 days (2.1) MTTF and FIT are inversely related to each other as shown in Equation 2.1. MTTF of 1000 years is equivalent to 114 FIT. Chip designers have fixed FIT (or MTTF) target just like power budget. 2.1.3 SDC and DUE As we discussed in Section 1.2.4 of Chapter 1 errors are classified into two categories: silent data corruption (SDC) and detected unrecoverable errors (DUE). Correctable errors are errors from which recovery to normal system operation is possible, either by hardware or software. Detected unrecoverable errors are errors that are discovered and reported, but from which recovery is not possible. A failed ECC correction is an example of DUE event. These errors typically cause a program or system to crash. A silent data corruption, also known as an undetected error, alters the data without being detected, thus permanently corrupting program state or user data. To better understand, we illustrate the possible outcomes once a faulty bit is accessed as shown in Figure 2.2. If the faulty bit is not protected and an error in that bit affects the program outcome then such an undetected error is classified as SDC. Adapting an error detection scheme (e.g., parity codes) can avoid SDC. However, with only error detection capability once the error is detected it is not possible to recover. Such detected but uncorrectable errors are classified as DUE. Usually, SDC event is more harmful than a DUE event. SDC causes data corruption (or loss) and it goes undetected. Upon a DUE event, once the error is detected it is possible to handle it by rebooting the system. By rebooting system it is possible to avoid any meaningful effect of the error on the system. However, frequent DUE events are responsible for system downtime. Soft Errors: Background and Overview 20 Is faulty Bit Read? Bit has error protection? Error is only detected (e.g., parity) yes no Does bit matter? yes yes no yes no benign fault no error Detected, but unrecoverable error (DUE) no error benign fault no error Error can be corrected (e.g., ECC) Silent Data Corruption (SDC) Figure 2.2: Classification of soft errors: silent data corruption (SDC) and detected unrecoverable error (DUE) Usually, SDC design target is more stringent than DUE since error is undetected and cannot be trace back and identify its origin. Designers may deploy simple error detection schemes (i.e., parity or RMT) to handle SDC [18, 131]. DUE target is relatively relaxed since error will be detected and sometimes contained. Once the error is detected the system should be able to stop the propagation of the error and be able to restore the normal state of operation. For instance, error correction codes are used to provide recovery in memory which can reduce the DUE rate. The acceptable rate of SDC and DUE events also differ for different market segments. For instance, a database system is expected to maintain data integrity and can tolerate very low SDC. A web application server with extremely low system downtime should rarely have any DUE events. On the other hand, a desktop computer can tolerate relatively higher SDC and DUE events. 2.2 Realizing Reliable Solution We will now discuss the major components required for an end to end reliability solution. We show the basic components in Figure 2.3. Soft Errors: Background and Overview 21 Detection Containment Recovery Data In Reliable Output Figure 2.3: Realizing reliability pipeline for soft errors: error detection, error containment and error recovery Error detection is the first requirement of reliable solutions and it usually involves an error detection mechanism. It may be specific to the structure it is protecting. Error detection is usually done via detection of the symptom (i.e., the error itself). For example, to detect errors in memories one may use parity codes while for error detection in logic a dual modular redundancy can be used. New direction that is growing in interest among researchers is to detect the actual particle strike rather than its consequence [132–135]. Such particle strike detectors detect errors via detection of currents or voltage glitches, shockwave of sound, a flash of light or a small amount of heat and will be discussed in Section 2.4.1. It is possible that the erroneous data is consumed before the error is detected. To avoid the consumption of the erroneous data and prevent SDC, the detected error must be contained to the affected part. Error containment restricts the spread of the error by isolating it. Error detecting codes contain the data by checking the data every time it is read. Once the system has detected the error it is desirable to restore the error free state. This is called error recovery. Error recovery is usually done with some kind of checkpointing mechanism. Upon error detection, system can revert back in time to an appropriate checkpoint and restore the correct processor state and resume execution. We discuss the traditional solutions for error detection, containment and recovery in Chapter 7. Error diagnosis and repair can also be included in the reliability pipeline however, they are specifically used for handling hard errors. This thesis specifically targets the soft error problem and proposes novel error detection, containment and recovery technique which will be discussed in the coming chapters. Next, we will discuss the sources of soft errors and how they interact with semiconductor devices. Soft Errors: Background and Overview 22 2.3 Soft Error Sources The sources of soft errors include various extra-terrestrial (i.e., solar flares) and terrestrial (i.e., radioactive decay) phenomena. Terrestrial sources include the particles generated due to decay of radioactive impurities in the material used in packaging of the chip. While in extra-terrestrial phenomena, the primary cosmic rays react with the earth’s atmosphere via strong nuclear interactions, producing various particles which can induce soft errors [17]. The main sources are as follows: •Alpha particles •High-energy neutrons •Neutron induced boron fission 2.3.1 Alpha particles The silicon wafer, the packaging material or the contamination in soldering material are typical sources of alpha particles and they contribute to the ionizing radiation in semiconductors. Basically an alpha particle is composed of two protons and two neutrons. Primarily, alpha particles come from residual radioactive impurities (e.g., Uranium (U238), Thorium (Th232), and Lead (Pb210)) in the packaging material of a chip [17, 136, 137]. Traces have been found in the mold compound and underfill, and most predominantly in solder balls. Packages, which use solder balls for the power supply and I/Os, are particularly vulnerable to soft errors. In order to reduce the alpha induced soft errors highly refined materials can be employed for packaging materials. Strict design rules can also be adapted to separate the sensitive circuit areas from alpha emitting hot zones. It is also possible to shield the chip using thin films coat to prevent the alpha contamination [17]. Alpha emitting materials have an emission rate of 0.0003-0.0017 alphas/cm2–hr [17, 137]. Soft Errors: Background and Overview 23 2.3.2 Neutron particles The second significant source of soft errors are high-energy neutrons coming from cosmic rays. Cosmic rays react with the Earth’s atmosphere and produce complex cascades of secondary particles. Most of the particles are short-lived while protons and electrons are attenuated by Coulombic interactions with the atmosphere and render harmless [17]. Neutrons survive because they carry neutral charge and relatively high flux. Neutrons have the highest charge generation capacity and are the dominant among all other particles in producing soft errors. The cosmic neutron flux is a function of neutron energy and altitude [117, 138]. Neutron flux decreases with increasing neutron energy and increases with increasing altitude. For example, at flying altitude (32,000 feet above the sea level), the neutron flux increases by 228×compared to sea level neutron flux [139]. Due to varying neutron flux, cosmic neutron-induced soft error rate for the same device will be different in different cities and different altitudes. Although only 1% of the neutrons created by cosmic rays reach the surface of the Earth, they are still the dominant source of the soft errors in circuits. Both neutron flux and energy determine the soft error rate experienced by circuits. Neutrons with energies of 10 MeV or higher are capable of causing soft errors [17, 20, 32, 137, 140–143]. The exact threshold depends on the properties of the silicon device. At sea-level the flux of neutrons with energies above 10 MeV is approximately 14–20 neutrons/cm2–hr [37, 137, 138, 144, 145]. Unlike alpha particles, reducing the cosmic neutron flux at the chip level is very difficult and requires mitigation techniques within the chip, such as improving the robustness of the circuit, using error correction techniques or modular redundancy techniques (described in Chapter 7). 2.3.3 Neutron induced boron fission The interaction of low energy cosmic neutrons with boron nuclei is a third source of ionizing particles in semiconductor devices. Boron is used extensively as a ptype dopant. Its exposure to neutron results into generation of charges in silicon and cause soft errors. Using specific device processing techniques soft errors due to boron fission can be completely eliminated [17, 137]. Soft Errors: Background and Overview 24 2.4 Interaction of Particles with Silicon STI NMOS N+ N+ STI Substrate - - - - - + + + + + ++ + - - Light charged particles: α, p, e etc. Neutrons Inelastic collision Si atom α p Si recoil - + + - - - - + ++ + + + - - - - - - + + + -+ Neutrons Elastic collision Figure 2.4: Alpha particles generate electron-hole pairs in silicon by direct ionization. Inelastic collision of neutrons with a silicon atom generate electronhole pairs via indirect ionization by creating a silicon recoil. Elastic collisions of neutron particles are harmless. For each incoming cosmic ray particle, the collision of the particle with the nucleus in the semiconductor medium can be classified into two categories: elastic and inelastic scattering (see Figure 2.4) [17]. In most elastic events, the cosmic ray particle is deflected slightly from its original trajectory (small-angle scattering) without changing its intrinsic energy state. Elastic collisions of alpha or neutron particles are harmless. Inelastic collisions are responsible for soft errors. During inelastic collisions, large scale of energies are exchanged. In the initial stage, secondary protons, neutrons, and pions are produced, and an excited intermediate nucleus (i.e., recoil) is formed. This nucleus de-excites by the emission of other secondary particles, and it is finally transformed into a stable and lighter residual nucleus. During the impact of energetic particles on silicon atom large amount of energies are exchanged in a very short duration of time. The amount of energy or charge generated upon the impact depends on the stopping power or linear energy transfer (LET). The LET is the amount of energy deposited per unit of length travelled in silicon. Typically, the lost energy is converted into charge at the rate of 3.6 eV per electron-hole pair in silicon [146, 147]. Soft Errors: Background and Overview 25 Particle Deposited Charge Flux Alpha 16 fC/µm 0.0003-0.0017 alphas/cm2–hr Neutron 25-150 fC/µm14–20 neutrons/cm2–hr† ∼3000 neutrons/cm2–hr⋆ Table 2.1: Summary of the sources of soft errors. †indicates the flux at sea level and ⋆is the flux at 32,000 feet above sea-level. Alpha particles. In an inelastic collision involving an alpha particle, electronhole pairs are generated through direct ionization in silicon as it is shown in Figure 2.4. The total energy deposited from such an event is in the range of several MeV [17, 37, 148]. Roughly, an alpha particle with 10 MeV of energy has a stopping power of 100 KeV/µm and can generate approximately 4.5 fC/µm of charge [17, 30]. Neutrons. Unlike alpha particles, when the neutrons are involved in inelastic collisions, first silicon recoil (or Li recoil in the case of interaction with boron nuclei) and secondary particles are generated which finally result into generation of electron-hole pairs as shown in Figure 2.4. Impact of a higher energy neutron results into higher energy recoils. However, the probability of 1 MeV recoil is 100-3000 times higher than the probability of a 15 MeV recoil [17, 143, 149]. Each neutron can generate about 10×more electron-hole pairs compared to an alpha particle [17]. The charge density per distance traveled for silicon recoils (25-150 fC/µm) is significantly higher than that for alpha particles (16 fC/µm) and hence, neutron strikes have higher potential to upset a circuit [30]. Typically, a neutron with 200 MeV energy, generates a recoil that has stopping power of 1.25 MeV/µm and maximum penetration range of 3 µm [30]. One such particle strike can deposit total charge of 55.7 fC [150]. Table 2.1 gives a summary of the soft errors induced due to alpha or neutron particle strikes. 2.4.1 Generation of Light, Sound and Heat! When a high-energy particle collides with a silicon nucleus, it causes an ionization process that creates a large number of electron-hole pairs (shown in Figure 2.4). Soft Errors: Background and Overview 26 In a few picoseconds the released energy may be in the range of several MeVs. The spurious electron-hole pairs subsequently produce unstable quasiparticles (i.e., phonons or photons). Generation of phonons and photons indicate that a particle strike results into a shockwave of sound, a flash of light or a small amount of heat for a very small period of time. Therefore, it is possible to detect particle strikes by detecting the sound, light or heat. The unstable quasi-particles gradually result into a cascade of carriers resulting into drift current (i.e., transient funneling current) or diffuse current generated due to diffusion of electron-hole pairs. The generation of electron-hole pairs also result into a voltage glitch. Therefore, particle strikes may also be detected by detecting currents or voltage glitches. In this work, we detect the particle strike that may cause soft errors. We construct an architecture to detect the acoustic shockwave generated by particle strikes upon impact on silicon surface. 2.5 Computing Soft Error Rate Measuring the soft error rate is very challenging mainly because of extremely low soft error rates. For instance a circuit element with a failure rate of 0.001 FIT will have an MTTF of 1012 hours. It is a very long wait to encounter one error. Moreover, several errors must be observed to predict the FIT rate of the component with sufficient statistical confidence. One can measure the soft error rate by exposing the silicon to the radiation in the field and collect real-time data [26, 144, 151–155] or in an environment with accelerated particle flux [128, 137, 138]. Alternatively, to evaluate whether chip’s soft error rate meets the desired target or not before fabricating it, microprocessor designers use sophisticated computer models to compute the FIT rate for every component (i.e., SRAM cells, latches, and logic gates) on the chip. Using simulations soft error rate can be modeled at circuit, microarchitecture or architecture level. We have seen how particle strikes generate electron-hole pairs. Linear energy transfer can explain how many electron-hole pairs or charge will be generated upon an alpha particle or a neutron Soft Errors: Background and Overview 33 Domain Parameters Energetic Particle Properties •Particle sources and type, Atomic weight, Number of simultaneously produced secondary particles •Particle energy, Particle flux, Incident angle and energy, Charge production capability Device or Material •Position of impact, Track lengths, Track angles •Stopping power or LET •Doping Concentration, Charge collection capacity Circuit •Nodal Capacitance, Sensitive area, Critical charge (Qcrit), Resulting shape of the current pulse •Operating voltage, Frequency, Temperature, Parametric variations •Masking rate (Electrical, Logical and Timing masking) Microarchitecture •Operating voltage and frequency, Thermal profile, Parametric variations •Microarchitectural masking rate (e.g., Dead instructions, Unused structures etc.) Chip Packaging material, Process technology Environmental Altitude, Geographical location Table 2.2: Parameters that affect the soft errors and impact the overall soft error rate current pulse with higher magnitude are more likely to cause a soft error. Apart from that in circuit or microarchitecture domain the operating voltage, frequency, temperature and parametric variations also affect the soft error rate. Parameter Trend Parameter Soft Error Rate Increase Particle flux Linear increase Temperature Exponential increase Frequency Linear increase Decrease Qcrit Exponential increase Sensitive Area Linear decrease Voltage Exponential increase Table 2.3: Impact of important parameters and corresponding impact on soft error rate Table 2.3 enlists the parameters that have the most significant impact on the soft error rate. According to the equation 2.2, the soft error rate is related to Soft Errors: Background and Overview 34 the particle flux, the sensitive area and the Qcrit. However, reducing the supply voltage of the circuit reduces the Qcrit and decreasing Qcrit exponentially increases the soft error rate. Also, decreasing the area of sensitive region may decrease the soft error rate. However, reduced cell area implies reduced nodal capacitance (i.e., reduced Qcrit) and it is usually accompanied with reduced supply voltage which cancels out the positive impact of smaller sensitive area on soft error rate. Error Latched (a) At normal frequency only one fault gets latched others are masked Error Latched (b) Doubling the frequency can latch all the faults causing errors Figure 2.8: Impact of frequency on soft error rate Soft errors in memory and some sequential logic are frequency independent [173] but soft errors in combinational logic are frequency dependant. Increasing frequency increases the probability of latching more faults as shown in Figure 2.8. Increasing the frequency causes all the faults to be latched causing errors as shown in Figure 2.8(b). The soft error rate of combinational logic increases linearly with increasing frequency [174]. Moreover, soft error rates depend on the resulting current pulse widths. Increase in temperature leads to an increase in current pulse widths due to parasitic bipolar charge collection. Wider current pulse deposits more charge [175]. At higher temperature the drain current decreases that in turn reduces the Qcrit. This combined effect due to increased temperature may cause more than 3×increase in soft error rate [176]. Soft Errors: Background and Overview 35 2.8 Soft Errors and Future Processors Apart from the parameters of Table 2.2 in Section 2.7, the way future processors are going to be designed have a significant impact on the soft error rate. 2.8.1 Impact of Technology Scaling We will see how the technology scaling affects the soft error rate in future processors. 2.8.1.1 SRAM Recall the Figure 1.1 from Chapter 1, which shows the effect of technology scaling on the soft error rate of an SRAM cell and an SRAM system (e.g., cache). The soft error rate of an SRAM cell is almost constant. The SRAM system soft error rate which roughly doubles every technology generation. This increasing trend is because of the increase in the number of transistors following Moore’s law [29, 33, 34]. A particle strike may cause single bit upset (SBU) if it affects only one memory cell. Although, SBU is the most common failure scenario for memories, with reduced device dimensions now particles can simultaneously cause multiple bit upsets (MBU) [48, 87, 88]. The phenomenon that explains bit inversions remains the same for both cases [117]. However, the literature indicates that two adjacent bits being upset by a single particle strike is ten times less probable than a single cell upset, and the probability of three bits being upset is one hundred times less likely than a single bit upset [32, 80, 87, 88, 177–179]. Although the probability of MBU is low it is predicted to increasing with technology scaling. MBUs rate have increased by a factor of four when scaling from 90 nm to 65 nm [87, 88]. 2.8.1.2 DRAM Figure 2.9 shows how the soft error rate of a DRAM cell and the logic scale for different technology generations [17, 180]. DRAM cell soft error rate is trending downwards (a reduction of 4 to 5×per generation). It is mainly because of the Soft Errors: Background and Overview 36 Figure 2.9: DRAM bit soft error rate for different technology nodes [180]. The soft error rate of a DRAM bit is predicted to decrease. The soft error rate of a DRAM memory system has traditionally remained constant over technology generations moreover, it is predicted to be dominated by the soft errors in the DRAM peripheral logic. reduction in charge collection capacity due to reduced cell area which has more dominant effect on the resulting soft error rate compared to the reduction in Qcrit due to voltage scaling. Although the DRAM bit SER has decreased by more than 1,000×over seven generations, the number of memory cells in a DRAM system increased almost as fast as the soft error rate reduction for each memory cell that technology scaling provided. Therefore, the DRAM system SER has remained essentially unchanged [17]. Figure 2.9 also show the trend in the soft error rate of peripheral logic in DRAM. In DRAM memory systems soft error rate of peripheral logic is becoming more significant. Similar to SRAM memory cells, in the DRAM memories multiple bit upsets are less probable compared to the single bit upsets. However, DRAM memories are becoming denser and with technology scaling the probability of having MBUs is increasing [180–183]. 2.8.1.3 Logic Components With decreasing feature sizes, the relative contribution of logic soft errors increases mainly because of following reasons: (i) Logic gates are typically wider devices but with more rapid technology scaling reduced sizes result into reduced Qcrit Soft Errors: Background and Overview 37 of combinational logic compared to SRAM, (ii) with decreasing gate delays the propagation power of transient pulses is increasing and fewer error pulses will attenuate before resulting into an error, (iii) with increasing degree of pipelining in advanced processors, the clock cycle window will reduce significantly without changing the setup and hold time of the latches. This will result in more faults to be latched causing errors and (iv) soft error rate in combinational logic increases linearly with increasing frequency while soft error rates of SRAM, DRAM and latches are frequency independent. It is also important to notice that most of the mainstream microprocessors are equipped with ECC to reduce soft error rate of caches (SRAM) and the main memory (DRAM). When large portions of the on-chip caches and the memory elements on the chip are protected, logic will quickly become the dominant source of soft errors. As we already saw in Section 2.8.1.1, the soft error rate per device (e.g., SRAM cell) in a bulk CMOS process is projected to remain constant and this will cause increase in the soft error due to increased number of transistors in multicore processors. To handle the increasing soft error rate designers have considered using different technologies. 2.8.2 Impact of New Technologies We will see how adapting new technologies for designing future processors and memories affect their soft error rate. 2.8.2.1 Silicon on Insulator (SOI) A lot of research has been done to explore soft errors in silicon–on–insulator (SOI). Unlike bulk CMOS, SOI devices collect less charge from an alpha or neutron particle strike because the silicon layer is much thinner. Experiments on partially– depleted SOI SRAM devices reported 5×reduction in soft error rate [184, 185]. However, this improvement in sequential and combinational logic is unclear. A fully depleted SOI can further reduce the soft error rate by almost eliminating the silicon layer. But manufacturing of fully depleted SOI chips is still a challenge [185]. Soft Errors: Background and Overview 38 2.8.2.2 Multigate-FET Devices As the bulk CMOS is reaching its scaling limits, FinFETs and multigate-FETs (e.g., Tri-Gate FET) devices have been popularized as promising candidates to keep harnessing the benefits of Moore’s law. Due to their many superior attributes, especially in the areas of performance, leakage power, intra-die variability, low voltage operation (translates to lower dynamic power), and significantly lower retention voltage for SRAMs, FinFETs are replacing planar CMOS as the device of choice especially in sub–32 nm technologies [186–189]. Upon a particle strike on a planar bulk CMOS device, a lot of generated charge can reach the drain of the device and collect there, causing enough current to upset the storage node. In FinFET devices, the conduction is mainly in the channel and, hence most of the charge dissipates in the substrate and will not collect at the drain. It is worth noticing that for the same technology node, the Qcrit of FinFET SRAM and planner CMOS SRAM are same. However, due to reduced charge collection, compared to planned CMOS device, 15×reduction in soft error rate of Tri-gate FinFet devices has been reported using device simulations at terrestrial flux [190]. The soft error rate of FinFET devices depend on their manufacturing process and the measurement technique. Laser and heavy-ion testing of Tri-Gate devices manufactured at IMEC indicated that the sensitive area for charge collection in bulk FinFETs is significantly larger than the actual fin’s structure, increasing the probability of single event upsets in the cell [191]. On the contrary, proton beam testing of the 22 nm Tri-Gate SRAM and sequential logic devices observed 1.5–4× reduction in soft error rate compared to 32 nm planner bulk CMOS [192]. Study also shows that in Tri-Gate technology a modest increase in combinational soft error rate relative to sequential soft error rate. Overall, even with Tri-Gate devices unprotected logic will continue to dominate the soft error rate [192]. 2.8.2.3 Non-Volatile Memories Many memory cell technologies are being considered as possible replacements for DRAM mainly because they are nearing their scaling limits. DRAM scaling is especially challenging for sub–30 nm [193, 194]. Soft Errors: Background and Overview 39 Phase change memory (PCM), spin-transfer torque (STT-RAM), ferroelectric RAM (FeRAM or FRAM), magnetoresistive RAM (MRAM) etc. promise high density, better scaling, and non-volatility, however, they introduce several new challenges. DRAM uses a capacitor to store charge and can be upset by an energetic particle strike causing soft error. Resistive memories (PCM, STT-RAM, FRAM and MRAM), which arrange atoms within a cell and then measure the resistive drop through the atomic arrangement, are promising as a potentially more scalable replacement for DRAM. Because the FRAM cell stores the state as a piezoelectric polarization, an alpha hit is very unlikely to cause the polarization to change cell’s state and the MRAM terrestrial soft error rate needs more measurements. PCM cell arrays may not be vulnerable to soft error due to particle strikes but they experience soft errors caused by resistance drift and spontaneous crystallization resulting from gradual atomic motion at high temperatures [195]. A recent study [196] predicted the failure rate of PCM to be 109–1011 times higher compared to DRAM. Moreover, soft error specific studies for resistive memory technologies do not consider the possibility of soft errors in peripheral circuits which will still use the CMOS transistors [197]. The future solutions for handling soft errors will have to adapt to these new technologies and should be able to protect the peripheral circuits as well [198]. 2.9 Calculating SER to Make Architectural Decisions We discussed how we can compute the soft error rate by computer simulations in Section 2.5. We also quantified the soft error rate in equation 2.2. However, not all the particle strikes can cause soft errors. As we have seen in Section 2.6.3, most of the faults induced by particle strikes are masked. In this situation the equation 2.2, which does not take the masking effects into consideration, gives a very pessimistic estimation of soft error rate. Overly pessimistic estimate of soft error rate may lead to overdesign for reliability and incur huge area, power and performance overheads. For this reason it is important to derate the soft error rate. Soft Errors: Background and Overview 40 To obtain the soft error rate under the masking effects, two main methodologies are used: statistical fault injection and architecture vulnerability factor (AVF) analysis. 2.9.1 Fault Injection: Fault injection is a way to quantify the reliability of a microarchitecture by injecting faults in each state and examining the outcome. In this brute force approach the number of possible faults to be injected can be astronomical depending on the number of states. Moreover, identifying all the combinations of the possible fault locations and the instances at which the fault can occur in a given set of workload is challenging and complex. Also, to observe the effect a fault has on the final outcome it is necessary to run a complete simulation and observe any abnormal behavior due to the injected fault. One way to optimize the method is by using a subset of faults to observe the possible outcomes and provide enough statistical confidence in the estimated soft error rate. In sampled fault injection the accuracy is traded off for simulation time [199]. More number of simulations are required if a higher degree of confidence is necessary. Moreover, depending on the design if many corner cases are to be observed then each corner case requires its own set of injected faults for the required confidence. 2.9.2 Architecture Vulnerability Factor (AVF) Analysis: Architectural vulnerability factor (AVF) is a probability that a user visible error will occur given a bit flip in a storage cell or a glitch in combinational logic. The underlying concept in AVF computation is knowing if a particle strike on a bit matters or not. The fraction of the bit flips that affect the program outcome is captured by AVF. The AVF has a significant impact on the effective soft error rate. The higher the AVF of a structure implies a higher probability of having soft error in that structure. AVF analysis is performed via architectural simulations. Architectural simulations of a processor is fast and abstract. Moreover, the reliability analysis can be done at design time and hence a detailed RTL or a test chip is not required. By performing Soft Errors: Background and Overview 41 AVF analysis designers can rank the structures based on their vulnerability in a very early stage of design. The AVF of a processor is related with the FIT rate in the following manner: FIT =FITRaw ×TV F ×Sizestructure ×AV F (2.3) The raw soft error rate (FITRaw) depends on the circuit characteristics and it can be obtained by accelerated soft error rate measurements. Time vulnerability factor (TVF) is the fraction of cycle during the circuit is vulnerable. For an example, TVF of an SRAM memory cell is 1, however if a latch is accepting data rather than holding data, a strike on its stored bit may not result into an error, because the erroneous data that was stored will be overwritten by the correct new input data. If the latch is accepting data 50% of the time, the latch is vulnerable only for the 50% of the time it is operational. TVF is dependent on the circuit and frequency. Once we have determined raw FIT rate it has to be derated by TVF. Finally, the effective FIT rate of a circuit is shown in Equation 2.3. It is the product of its raw FIT rate, TVF and AVF. AVF analysis vastly relies on identifying masked faults and it provides a conservative estimate of processor’s reliability. Although it is not accurate, it can help reliability designers. Substantial amount of research has been done in efficiently modeling the AVF of different microarchitectural structures [39, 98, 117, 162, 200– 205]. In this work, we implement the AVF model similar to [97]. In Chapters 5 and 6, we use AVF to identify the vulnerable structures for providing protection. Notice in Equation 2.3 that AVF and FIT rate are directly related. If the structure is more vulnerable its AVF increases and it results into increased FIT rate and vise versa. We show how the proposed architecture can significantly reduce the AVF and in turn improves the overall reliability. Chapter 3 Error Detection using Acoustic Wave Detectors In this chapter we first study and compare several particle strike detectors. A detailed discussion of the structures, design issues related to several particle strike detectors and their comparison of area, power and performance overhead is given in Section 3.7. We then propose to adopt acoustic wave detectors as a method to detect such particle strikes by detecting the shockwave they generate upon an impact on silicon. We present the structure of the acoustic wave detector and discuss its properties in detail. Next, we will show how to use the acoustic wave detectors in order to precisely locate the particle strike. We will describe different algorithms to precisely locate the particle strikes. Finally, we will present a case study to evaluate how the architecture with acoustic wave detectors performs in detecting and locating particle strikes on a state of the art processor core. 3.1 Particle Strike Detectors Several particle strike detector based techniques have been proposed. These detectors detect particle strikes via detection of voltage or current glitches [132–134, 206] or via detection of the sound [135]. We studied the challenges in adapting the detector based techniques for soft error detection. We compared them based on following parameters, 42 Error Detection using Acoustic Wave Detectors 49 Relative Slowdown Cost of “False Positive” (ns) 1x 100 100x 10x 101102103 Proposed Sequoia IBM G5 IBM Z series Carer Swich SPARC64 Cache assisted recovery Microarchitecture recovery Architecture recovery Partial architecture recovery Enterprise recovery 1081091010 1011 >1000x ReVive SafetyNet ReStore IBM Blue Gene 1000x BLCR Encore Figure 3.3: A comparison of relative slowdown due to false positive recovery for different recovery techniques: Seqoia [226], Swich [227], Carer [228], SPARC64 [229], IBM Z series [59], IBM G5 [58], Encore [230], ReStore [231], ReVive [102], SafetyNet [107], IBM Blue Gene [232], BLCR [233] of recovery increases as in the case of techniques proposed in [230, 231]. Recovery techniques at architecture level or at system level incur approx 1000× slowdown compared to microarchitecture or cache assisted checkpointing/recovery [102, 107]. The recovery in petascale systems can take significantly long time before a normal operation can resume severely impacting their performance and availability [58, 232, 233, 235]. Now that we are familiar with the structure of the acoustic wave detector we will next discuss how we can use them for error detection. 3.3 Soft Error Detection via Detecting Particle Strikes In this work, the fundamental idea is to detect the particle strikes via mechanical deflection of acoustic wave detectors. From functionality point of view one such Error Detection using Acoustic Wave Detectors 50 acoustic wave detector is analogous to one parity bit. The potential of the detectors will be exploited by: 1. Detecting errors in the unprotected logic and memory components and therefore, reduce the SDC FIT rate. 2. Deploying less number of detectors than the required parity/ECC bits in already protected memories and accurately localizing the particle strikes/bit flips in memory arrays. We discussed that the cantilevers can be used for detecting the existence of particle strikes on the silicon surface. The acoustic wave detectors can be placed on or off the chip but on the same silicon surface. Traditional processor cores have surface are of a few square millimeters. Recall that acoustic wave detectors have a detection range of 5 mm. It means that just one acoustic wave detector is enough for error detection on an entire processor core or a last level cache of Core™i7 microarchitecture. Acoustic wave detectors detect all soft errors due to alpha and neutron strikes. However, not only the detection of the error but how soon the error is detected is also very important. Recall from Section 3.2, that the sound wave traverses the silicon lattice at 10 km/sec. This means that if only one acoustic wave detector was used, in the worst-case a particle strike occurring at 5 mm away would be detected in 500 ns (or 1000 cycles in a processor running at 2 GHz). By putting more acoustic wave detectors on the surface of silicon, it is possible to reduce the worst case detection latency. So far, we discussed the use of acoustic wave detectors for detecting the particle strikes on the silicon surface. Now, let’s see how to use the acoustic wave detectors in order to precisely locate the particle strike. Why Locate Particle Strikes? Using the acoustic wave detectors, we can only detect all the particle strikes and hence avoid possible data corruption. However, locating the particle strikes are equally important. Once the error has been detected, a hardware or software mechanism would trigger the appropriate recovery action for error correction. To provide successful error correction or recovery, the system must know the precise location of the error. This can be done by exploiting the localization accuracy of acoustic wave detectors to detect and correct the Error Detection using Acoustic Wave Detectors 51 errors. Once the accurate location is found the system can take available recovery action. For instance, if the error has occurred in one of the bits in the cache we may correct the error by flipping the bit. Next, we present an architecture to precisely locate the particle strikes using acoustic wave detectors. 3.4 Location Estimation of a Particle Strike The estimation location of the particle strike and latency of detection depends on the following parameters: 1. How many acoustic wave detectors are required to be able to locate the particle strike? 2. Where the acoustic wave detectors should be placed? 3. What is the accuracy of the found location? 4. What is the latency in detecting the particle strike? Unlike GPS, any apriori knowledge of the spatio-temporal information about the impacting particle strike is unavailable. This means that we do not know the actual time span between the particle strikes and when the detectors trigger. The only information we have is the relative time difference of arrival (TDOA) [236] of the acoustic wave generated by the strike among different detectors. TDOA technique estimates the difference in the arrival times of the signal from the particle strike at multiple receivers. A particular value of the time difference estimate defines a hyperbola between the two receivers on which the particle strike may exist, assuming that the source and the receivers are co-planar as shown in Figure 3.4. If we have another receiver in combination with any of the previously used receivers, another hyperbola can be defined and the intersection of the two hyperbolas results in the position location estimate of the particle strike. This method is also sometimes called a hyperbolic position location method [236, 237]. TDOA method offers many advantages. It does not require complex receivers, we use simple acoustic wave detectors as receivers. It does not require any special type Error Detection using Acoustic Wave Detectors 52 R1 R2 S2 S3 S1 R1-R3 R1-R2 Source R2-R3 Figure 3.4: TDOA hyperbolas in a system and location of source. Dashed hyperbola is formed using only two detectors S1and S2. Including a third detector S3can successfully locate the source via intersecting hyperbolas. of antennas, hence it is cheaper to use it in existing processors. Moreover, multiple TDOA readings can also provide immunity against timing errors and noise as we will see later in this chapter. Let us assume that a particle strikes at location (Xa, Ya). Therefore, a system of two equations is required to solve both unknowns. Hence, a minimum of three detectors are needed: with three detectors we obtain two TDOA measurements, which allows us to derive the required equations. Hyperbolic position location estimation. The estimation of the location is carried out as follows: •The acoustic wave detectors can be placed on or off the protected area but on the same silicon surface. Notice that the coordinates of the acoustic wave detectors are known. •Once the strike is detected, we measure the TDOAs of the sound between pairs of detectors through the use of time delay estimation. Error Detection using Acoustic Wave Detectors 53 •Using the TDOA measurements we construct the system of hyperbolic equations. •Once the equations are formed, efficient algorithms are applied to obtain a solution to these hyperbolic equations, which represent the estimated position of the particle strike. 3.4.1 Example To illustrate the particle strike detection and localization problem, a simple case of particle strike localization using 3 acoustic wave detectors is discussed. S 2 (X 2 ,Y 2 ,t 2 ) S 1 (X 1 ,Y 1 ,t 1 ) S 3 (X 3 ,Y 3 ,t 3 ) (X a ,Y a ,T) d1 d2 d3 Figure 3.5: Strike detection and localization via triangulation using TDOA measurements of acoustic wave detectors Tt1t2t3 ∆T1∆T2 time Detection Latency Figure 3.6: Timeline of the events following the particle strike Figure 3.5 displays three acoustic wave detectors (S1,S2and S3) placed at known coordinates (X1,Y1), (X2,Y2) and (X3,Y3) respectively on the surface of the chip. Let’s assume that a particle strike occurs at an unknown time Tat unknown location (Xa,Ya). As shown in Figure 3.5, d1,d2and d3are unknown absolute distances from the detectors S1,S2and S3. Once the strike has occurred, the ripples of phonons will traverse outward in a circular manner and the closest detector from the strike will trigger first. In this case S1will trigger at instance t1. Error Detection using Acoustic Wave Detectors 54 After that, as the phonons traverse further, other detectors S2and S3will trigger at instances t2and t3respectively. A timeline of the events is shown in Figure 3.6. 3.4.2 Obtaining TDOA yes No Get “timer0” value at event t1 If event t(i+1) is high? i=1,2 Get “timer0” value ∆T1= t2-t1 ∆ T2= t3-t2 ∆ D1= Cp* ∆ T1 ∆ D2= Cp* ∆ T2 Stop Start Speed of phonon in Si lattice = Cp ∆ D1= d2-d1 ∆ D2= d3-d2 Counter Asynchronous Control t1 Sampling Frequency Enable t2 t3 Figure 3.7: Strike detection algorithm (firmware) and a hardware control mechanism Figure 3.7 shows a simple system which can measure the timing differences of the acoustic waves’ arrival. The hardware consists of an asynchronous control (e.g., multiple logic OR gates or a multiplexer circuit) which generates an output Enable signal. Enable is high whenever one of the triggered detector raises a flag, and activates the sequential counter that counts the number of clock pulses between two consecutive triggering detectors. The counter runs at the sampling frequency, which is a design parameter. As the speed Cpat which acoustic waves traverse on the silicon surface is known (recall Section 3.2 of this chapter), using the measured timing differences of the arrival of the acoustic waves, we can compute the distance differences ∆Di. Errors in measurements. The effect of errors in the measurements of timing differences due to the sampling frequency cannot be ignored. We use the example Error Detection using Acoustic Wave Detectors 55 t1A t2A e1e2e3 t1R t2R t3R t3A tp Figure 3.8: Sampling errors in the measurements of the time difference of the arrival at the acoustic wave detectors depicted in Figure 3.8 to illustrate such case: the three detectors S1,S2and S3 are in synch with each other and are being sampled at the rising edge of the clock with sampling period tp. The actual arrival times of the acoustic wave generated due to particle strike at detectors S1,S2and S3are t1A,t2Aand t3Arespectively. However, the signal will be read only at the rising edge of the clock pulse (i.e., at the instances t1R,t2Rand t3R) by the detectors. This introduces error in the measurements of the time differences. Assume a particle strike occurring at an unknown instance T, sampling period tp and the actual arrival time of the acoustic wave generated due to particle strike at detector Siis tiA. The sampling error esat the acoustic wave detector Scan be expressed as: es=tp−[(T+tiA)mod(tp)] (3.1) Notice that es∈[0, tp). Hence, the error in the time difference of arrival of the acoustic wave between detectors Siand Si+1 is esi∈(−tp, tp). 3.4.3 Generating TDOA Equations In order to generate the equations that describe the localization of the particle strike. We sort detectors based on their proximity to the source of the signal (i.e., the order in which they trigger), S1being the closest detector and Snthe furthest one. (Xa, Ya) denotes the unknown location of strike and (Xi, Yi) indicates the known location of the ith detector. Error Detection using Acoustic Wave Detectors 56 A general model for the two dimensional (2-D) location estimation of a source using Ndetectors is adapted, where the mathematical problem is to estimate the actual location of a strike (Xa, Ya), utilizing the detector positions and the TDOA readings. First, we define the squared euclidean distance between the source and the ith detector: Dia =√(Xi−Xa)2+ (Yi−Ya)2(3.2) Next we derive the range difference ∆Dia between detectors Siand Si+1, ∆Dia =Dia −D(i+1)a =√(Xi−Xa)2+(Yi−Ya)2 −√(Xi+1−Xa)2+(Yi+1 −Ya)2(3.3) Now, we can set up our set of equations based on the TDOA measurements ∆Tia between detectors Siand Si+1, ∆Dia =Cp∗∆Tia +esi, i = 1 . . . N −1 (3.4) Where, Cpis the speed of the sound wave on the silicon surface. Notice that if N >3, we will have a non-determined system (i.e., more equations than unknowns). Next, we will see how we can solve these hyperbolic TDOA equations to obtain the estimation of location. 3.4.4 Solving TDOA Equations Solving a set of hyperbolic equations for accurate location estimation is non-trivial. The simplest way to estimate the location of particle strike, is to generate a deterministic system of TDOA equations. The deterministic algorithms can be used when the number of hyperbolic equations equals the number of unknown coordinates of the source. In this work we implement an algorithm to solve a deterministic system of two hyperbolic equations [238]. A particle strike will be detected by all the detectors within the detection range of 5 mm. Hence, usually we have more than two TDOA measurements. By using the redundant TDOA measurements we can improve the accuracy of the position location estimation. To take advantage of these redundant TDOA measurements, whenever the number of triggered detectors is larger than three we construct a Error Detection using Acoustic Wave Detectors 57 non-deterministic system of equations (i.e., ≥3 hyperbolic TDOA equations). A non-deterministic system of equations is more difficult to solve as a unique solution does not exist. We implement and examine both iterative [237] and noniterative [239, 240] algorithms to solve non-deterministic system of equations. The algorithm to solve TDOA equations is stored in firmware (along with the position of all detectors) and is transparently run in any of the cores of the processor. The preferred option is to run the algorithm in a core that is not triggering the error to facilitate the error recovery if necessary, but it could also be done in the same core with some checkpointing. Next, we will discuss the implementation and compare different algorithms for solving TDOA equations. 3.5 Algorithms for TDOA Equations In this section we implement algorithms to solve deterministic and non-deterministic system of equations and discuss their computational complexity, runtime, their ability to provide exact solutions and the risk of not reaching a valid solution. Later in this chapter, we will discuss in detail how design parameters like number of detector and their location impact all these metrics, and especially, the quality of the location estimate. 3.5.1 Deterministic Method A high-level description of the algorithm to compute an exact solution when the number of TDOA measurements are equal to the number of unknowns ((X,Y) coordinates) is shown in Algorithm 1. Algorithm 1 Deterministic location estimation 1: INPUT: Locations of 3 detectors 7→ (Xi, Yi), i = 1,2,3. 2: INPUT: Range difference between receivers 7→ ∆Dia, i = 1,2. 3: INPUT: Error in TDOA esi∈(−tp, tp). 4: Generate hyperbolic equations 5: Linearization 7→ D2 i= (∆Di,1+D1)2 6: Quadratic equation in the form of d∗x2+e∗x+f=0 7: X=−e−√e2−4df 2d, Y substitute X into line 6. 8: OUTPUT: Location (X, Y ), CEP. Error Detection using Acoustic Wave Detectors 58 Lines 1-3 define the inputs for generating the equations: the location of detectors, as well as the statistical distribution of the error in TDOA measurements, which is known at design time. The TDOA measurements are calculated online as explained in Section 3.4.2. First step of the algorithm is generating the equations and linearizing them by squaring (lines 4-5). Notice that in this implementation we use only the first 3 detectors that trigger to build the hyperbolic equations. Then we apply a hyperboloid transformation to obtain a single variable quadratic equation (lines 6-7). Finally, solving the quadratic equation yields the value of one of the coordinates and we can obtain the other by substitution in the line 6. This solution does not utilize the extra TDOA measurements, available when three or more triggered detectors are available [238]. 3.5.2 Non-deterministic Method Next, we implement iterative and non-iterative algorithms to solve non-deterministic systems of equations. 3.5.2.1 Non-iterative Algorithms We describe a non-iterative algorithm to solve a non-deterministic system of equations similar to [239]. It provides an unambiguous solution when the number of TDOA measurements are ≥3. A high-level description is shown in Algorithm 2. Lines 1-8 are basically the same as lines 1-6 of Algorithm 1. By introducing an intermediate variable, the nonlinear equations relating TDOA estimates and source position can be transformed into a set of equations which are linear and function of the unknown parameters (i.e., the X and Y co-ordinates) and the intermediate variable. A least square (i.e., LSQR [241]) yields a solution (line 9). By exploiting the known relation between the intermediate variable and the position coordinates, a second weighted LSQR gives the final solution (lines 10-11). Algorithm 2 is further extended as shown in Algorithm 3. It derives a bias of the source location estimate using Algorithm 2. Two methods, called BiasSub and BiasRed, are developed to reduce the bias. The BiasSub method subtracts the expected bias from the solution of Algorithm 2, where the expected bias is Error Detection using Acoustic Wave Detectors 65 0 100 200 300 400 500 600 [3x3] [2x5] [2x6] [3x4] [4x3] [2x7] [3x5] [5x3] [2x8] [4x4] [3x6] [4x5] Error Area (#bits) Mesh Configuration Algorithm 1 Algorithm 2 Algorithm 3 (BiasSub) Algorithm 3 (BiasRed) Algorithm 4 Figure 3.10: Impact of placement of detectors (while solving 4 TDOA equations) on accuracy (area unit is the area of 1 bit SRAM cell) 3.6.1.2 Location Estimation Coverage 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Error Location Coverage Mesh Configuration Algorithm 2 Algorithm 3 (BiasSub) Algorithm 3 (BiasRed) Algorithm 4 Figure 3.11: Impact of placement of detectors (while solving 4 TDOA equations) on location estimation coverage Figure 3.11 shows how the number (and placement) of detectors impact the estimation coverage explained in Section 3.5.3.3. Note that as the different mesh Error Detection using Acoustic Wave Detectors 66 configurations alters the placement of detectors but always solves 4 TDOA equations, the runtime and the complexity are not affected. We can observe the ambiguity problem of Algorithms 2 and 3 in Figure 3.11. This problem is prominent in specific mesh configurations (i.e., 2 ×5, 2 ×6 etc.) with more likelihood of having all 5 triggered detectors to be collinear. Ambiguity problem arises mainly because these algorithms linearize the hyperbolic equations by a squaring operation. This ambiguity can be easily solved by using a-priori information regarding the dimensions of the protected area [238–240]. We also show Algorithm 4 to compare the location estimation coverage. Algorithm 4 is not affected by ambiguity problem. However, as discussed in Section 3.5.3.3, Algorithm 4, may have problems regarding the convergence when not provided with a proper initial guess. 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 4 5 6 7 8 9 10 Error Location Coverage Number of Detectors for Algorithm 4 Ideal F[SensorLoc(x,y)] Eqn. 5 Middle Random Figure 3.12: Impact of initial guess on coverage (while solving 4 TDOA equations) on location estimation coverage Figure 3.12 shows how the choice of the initial guess affects the convergence and hence the location estimation coverage (for the 1048 analyzed strikes) for Algorithm 4 in a 4×5 mesh. As we can see, when the initial guess is fixed in the middle of the core for all 1048 strikes, even when solving 9 TDOA equations, 16% of times the algorithm is not able to converge. For random guess locations 38% of the times the algorithm does not converge. When the initial guess location is a function of the locations of the selected sensors as shown in Equation 3.5, the Error Detection using Acoustic Wave Detectors 67 algorithm converges all the times within 3 iterations providing 100% error localization. To compare the effectiveness of the choice of the initial guess we also show the ideal case where initial guess is the actual location of the particle strike. Note that when the algorithm does not converge, the system cannot identify the location of the strike, but the strike is still detected. Error Detection using Acoustic Wave Detectors 68 Figure 3.13: Worst-case error area with the selection of different set of detectors (4 to 10) from a given [4 ×5] mesh Error Detection using Acoustic Wave Detectors 69 3.6.2 Choosing Detectors for TDOA Equations In this section, we assess the impact of the choice of the TDOA equations on the accuracy (i.e. 3*CEP error area) and error estimation coverage. For that purpose, we choose a 4×5 mesh because it guarantees that at least, 10 detectors detect the particle strike. We also assume a 2 GHz sampling frequency. Note that the runtime and computational complexity are unaffected by the choice of the TDOA equations. 3.6.2.1 Accuracy Figure 3.13 shows the obtained error area for the 4×5 mesh for all algorithms. We show results for three different methods that select the detectors when more detectors than necessary are triggered by: (i) choosing the closest, (ii) the farthest or (iii) choosing randomly. For all the algorithms discussed in Section 3.5, selecting the closest set of detectors is the most accurate option. This is because the nearest detectors are placed at locations where it was possible to generate better TDOA measurements between two detectors. It helps in reducing the error involved in linearizing hyperbolic equations as discussed in Section 3.5.3.4 and yielding more accurate solutions. 3.6.2.2 Location Estimation Coverage The choice of triggered detectors does not affect the complexity or runtime of the algorithms as same number of equations are solved. However, choosing the closest set of detectors guarantees 100% error coverage for Algorithm 4 and >97.7% error coverage for Algorithms 2 and 3 as shown in Figure 3.11. 3.6.3 Effect of Solving More TDOA Equations Once we select the closest set of detectors, we can observe that solving a higher number of TDOA equations has a very important impact on the accuracy. Moreover, solving more number of TDOA equations can worsen the runtime and increase the computational complexity. Error Detection using Acoustic Wave Detectors 70 3.6.3.1 Accuracy 10 20 30 40 50 60 70 80 90 4 5 6 7 8 9 10 Error Area(#bits) Number of used detectors Algorithm 2 Algorithm 3 (BiasSub) Algorithm 3 (BiasRed) Algorithm 4 Figure 3.14: Error area with closest detectors for [4 ×5] mesh Figure 3.14 shows that by increasing the selected detectors from 4 to 10, the error area reduces by a factor of 2 for Algorithm 2, Algorithm 3 and Algorithm 4. Table 3.2 shows the best configurations observed for each algorithm; we consider different mesh configurations and number of equations for Algorithms 2, 3 and 4. Algorithm 1 is deterministic and solves only 2 equations for the given mesh. Second column of the table shows the minimum number of detectors that trigger upon the particle strike. Third column shows the number of detectors used to set up the TDOA equations. Last column shows the worst-case error observed for the 1048 particle strikes for the different algorithms discussed in Section 3.5. It is worth noticing that the improvement in the error area of Algorithm 1 when increasing the number of detectors is mainly due to the improved quality of the 2 equations with a denser mesh (as explained in Section 3.6.1). For all the algorithms the best error area is obtained by setting a 4×5 mesh and using 10 detectors. However, the complexity of setting and solving the equations makes it too expensive as explained in Section 3.5.3.2. Error Detection using Acoustic Wave Detectors 71 Mesh Minimum #Detectors #TDOA 3*CEP Error Area (#bits) Configuration #Detectors used for Equations Algorithm 1†Algorithm 2 Algorithm 3 Algorithm 4 [Mesh, #Detectors] triggered TDOA solved BiasSub BiasRed [3 ×4,12] 4 4 3 159 58 60 57 37 [3 ×5,15] 9 5 4 142 50 50 51 30 [3 ×6,18] 10 6 5 140 37 37 40 29 [3 ×6,18] 10 7 6 140 33 33 35 24 [3 ×6,18] 10 8 7 140 31 31 33 23 [4 ×5,20] 12 9 8 106 29 29 30 21 [4 ×5,20] 12 10 9 106 28 28 29 19 Table 3.2: Worst case error area for best configuration of a given mesh for each algorithm. †solves only 2 equations Error Detection using Acoustic Wave Detectors 72 Figure 3.15: Comparing accuracy of all algorithms and for the mesh configurations discussed in Table 3.2 The average improvement in the accuracy for the iterative Algorithm 4 is 1.4×, 1.55×and 5.2×compared to Algorithms 2, 3 and 1 respectively as shown in Figure 5.11c. Figure 3.16 shows how increasing the number of equations (for the configurations of Table 3.2) impacts the runtime and complexity. As per Figure 3.16(a) and Figure 3.16(b), for the same mesh configuration, with increasing number of equations the runtime and complexity of Algorithms 2 and 3 increases linearly relative to the runtime and complexity of Algorithm 1. Algorithms 2 and 3 are non-iterative and the increase in complexity and runtime is mainly because of the increased size of working data set (e.g., more equations). In the case of Algorithm 4, for the same mesh, the runtime and complexity increase exponentially relative to the runtime and complexity of Algorithm 1. This exponential trend is because more number of iterations (and the number of LSQR computations) are required to solve higher number of TDOA equations. 3.6.3.2 Runtime Generating and solving the TDOA equations has negligible impact on the performance of active tasks and user experience. As per Figure 3.16(a) the iterative Error Detection using Acoustic Wave Detectors 73 (a) Runtime (b) Complexity Figure 3.16: Comparing runtime and complexity of all algorithms and for the mesh configurations discussed in Table 3.2 Algorithm 4 takes 3.2×, 2.6×and 6.8×longer runtime to produce location estimation compared to Algorithms 2, 3 and 1 respectively. In a Core™i7 processor, Algorithm 1 is the fastest and takes 0.011 ms. Algorithm 2 and Algorithm 3 take around 0.02–0.03 ms. Algorithm 4, being an iterative method, has the longest worst-case runtime of 0.07 ms. Error Detection using Acoustic Wave Detectors 74 3.6.3.3 Complexity According to Figure 3.16(b) the iterative Algorithm 4 is 2.1×, 1.8×and 6×more complex compared to Algorithms 2, 3 and 1 respectively. The ideal algorithm for location estimation would be the one that is the least complex, with the least runtime and the most accurate. Choosing the best algorithm is balancing a 3-way trade-off involving complexity, runtime and accuracy. Non-deterministic algorithms are complex but best for accuracy. Deterministic algorithms are least accurate and severely affected by sampling noise and ambiguity problem. For maximum accuracy Algorithm 4 is the best choice. Algorithms 2 and 3 are almost half as accurate as Algorithm 4 but they are faster and less complex. We want to precisely locate the error and hence we opt for Algorithm 4 which provides maximum accuracy. 3.6.4 Effect of Sampling Frequency on Accuracy 0 5 10 15 20 25 30 35 40 [3x4,4] [3x5,5] [3x6,6] [3x6,7] [3x6,8] [4x5,9] [4x5,10] Error Area (# bits) Configurations [Mesh, Detectors used] 2 GHz 2.5 GHz 3 GHz 3.5 GHz 4 GHz Figure 3.17: Impact of sampling frequency on error area for configurations of Table 3.2 Iterative Algorithm 4 Error Detection using Acoustic Wave Detectors 81 3.7.1.2 Switching Current Detector Figure 3.22: Switching current detector This technique detects soft errors in SRAM memories [207]. Any bit flip due to soft error results in a transient switching current. It detects any soft error by monitoring the supply current of SRAM in the standby mode. A current pulse sensing circuit is shown in Figure 3.22. It uses a current mirror circuit to convert a fast current pulse into a transient voltage pulse. Finally, by using a Schmitt trigger it is possible to sense this transient voltage pulse and generate an error signal. 3.7.2 Voltage Glitch Detectors These detectors monitor the supply rail disturbance caused by a particle strike [134]. A hierarchical soft error detection circuitry which monitors the ground voltage to detect the pulses as a result of particle strike-induced switching is shown in Figure 3.23. The detection circuitry has two levels of voltage comparators (differential amplifier). The first level compares the ground voltages of the functional blocks, while the second comparator amplifies the error signal. In the design, only the ground voltage is monitored to detect error. A single NMOS is connected between the ground bus line and ground terminal of the functional block. The addition of this transistor helps to separate the ground bus from the functional block ground terminal, thus creating a virtual ground (GND’) at the ground terminal of the functional block. Error Detection using Acoustic Wave Detectors 82 Figure 3.23: Voltage glitch detector 3.7.3 Metastability Detectors Figure 3.24: Metastability detector (BISS) Unlike BICS, a Built-in single-event upset sensor (BISS), implements a metastability monitor circuit to detect particle strikes. BISS detects the setup and hold time violations in flip-flops that occur due to several reasons (i.e., clock skew, particle strikes etc.) [133]. Designers can insert the BISS to detect SEUs at the output of a flip-flop. As shown in Figure 3.24, it has three major components: (i) a positive pulse generator, (ii) a footed dynamic inverter and (iii) a keeper latch. The positive Error Detection using Acoustic Wave Detectors 83 pulse generator transforms SEU-induced positive/negative pulse to positive pulse. The footed dynamic inverter is used to widen the pulse generated by the positive pulse generator, so that it can be easily detected. 3.7.4 Deposited Charge Detectors 3.7.4.1 Thin film silicon detectors These silicon detectors are constructed as thin planner p-on-n diodes. This planner diode covers the entire target processor to detect any particle strikes. In principle, a silicon detector is a solid state ionization chamber [209, 210]. They detect particle strikes based on the changes in the depletion region of the p-n junction diodes due to ionization. Most popular ones are listed below: •Silicon strip detector (SSD) detects collected charge •Active pixel sensors (APS) detects collected charge •Scintillator coupled silicon photodiodes: detects flash of light 3.7.4.2 Heavy-ion Sensing Heavy-ions deposit a huge amount of charge upon impact on the silicon surface. Heavy-ion sensors detect the particle strikes by detecting the deposited charge. The work of [212] proposes to use the DRAM memory cell to collect the charge upon a heavy-ion strike. When the storage node is discharged to a second voltage, a sense amplifier coupled to the storage node generates an output signal indicating that an SEU event has occurred. Also by tweaking the reference voltage to the sense amplifier the DRAM arrays can be tuned to detect heavy-ion particles with different energies. 3.7.5 Comparison of Detectors In this section, we compare all the particle strike detectors for the parameters described in Section 3.2. Error Detection using Acoustic Wave Detectors 84 3.7.5.1 Hardware cost/Area overhead We present the area overhead in terms of extra transistors required to protect one memory column consisting 128 6T-SRAM cells. As it can be seen in Figure 3.21, one BICS consists of 27-35 transistors [206]. On top of that, it incurs extra area penalty in terms of added transistors that are required to monitor memory columns concurrently to filter the noise due to the read/write operations [206]. The switching current detector circuit of Figure 3.22 uses 12 transistors [207]. The voltage glitch detector circuit of Figure 3.23 consists of two levels of voltage comparators. Every column needs one level-1 comparator. Level-2 comparators take as input all the outputs of level-1 comparators to produce an error signal. For a single column design one such comparator consisting 12 transistors is required [134]. Depending on the size of the protected unit and the switching activity the number of comparators required in the first level increases. At least one BISS (with 21 transistors) is required to protect one SRAM column [133]. To reduce the area overhead at the cost of error coverage, selective BISS insertion is possible [133]. Area overhead is proportional to the number of BISS inserted at the output of the flip flops. One acoustic wave detector can detect a particle strike in a circular area of 78.5 mm2[135]. This means that one detector (i.e., area overhead of 1 6T-SRAM cell) can detect particle strike anywhere on the area of a last-level cache (LLC) of a state of the art processor. SSD are the most common structures used as silicon detectors, and have typical dimensions in the range of 25 um-200 um. Pads and (APS) are emerging trends in silicon detectors. A silicon PIN diode is basically used as detector pad or pixel. Typical pad sizes are 200x200 mm2. Pixels are typically of 50x50 um2to 200x200 um2[209, 210]. At least one such pixel is required for particle strike detection in the given memory column. For heavy-ion detectors, a separate column of the 128 DRAM cells is occupied to detect an SEU event. The detector assembly also includes a set of word decoders, a set of sense amplifiers and a bit decoder for multiplexing the set of sense amplifiers. Along with this, a controller to adjust refresh intervals, a pre-charged ballast Error Detection using Acoustic Wave Detectors 85 capacitor to store charges and a reference voltage generator of the sense amplifier is required to change the sensitivity of the detection [212]. It is important to note that the current/voltage glitch detectors and metastability detectors will have a detection granularity at the column level. To exactly pinpoint the location of error they will have to be combined with error detection codes (i.e. parity) [133, 134, 206, 207]. A single parity bit per memory word is used along with one of the detectors for every memory column. The area cost of the parity checker/generator providing parity bit per word is significant. The area overhead of acoustic wave detectors is very less compared to other particle strike detectors. Moreover, their accuracy can be improved by deploying more detectors to pin-point errors at word/byte level. Even after deploying more acoustic wave detectors they significantly reduce the area overhead compared to ECC [135]. Silicon detectors [209, 210] and heavy-ion detectors are effective but incur >100% area overhead. 3.7.5.2 Power overhead and detection latency Particle strike detector that is faster and consumes minimum power is desirable. Worst case power dissipation of one BICS varies from 4.43 to 24.95 uW for 100 nm technology [206]. And, the worst case detection latency ranges from 650 ps- 1.1 ns [206]. Inserting the BICS may increase the resistance of the critical path and hence degrades the read-write speed of the memory severely reducing the performance. The leakage power for a The switching current detector is 12.9uw- 18.9uW [207]. And the detection latency is in the range of 0.92 ns-1.14 ns. In the low power mode it is even slower and in the range of 2.41 ns-3.0 ns. The voltage glitch detector [134] consumes less power compared to current glitch detector and per unit power overhead is in the range of 0.8 uW to 5 uW. However, this power savings makes it slower and its detection latency varies from 220 ps-1.4 ns. In the case of BISS the power overhead is more than 10 uW due to increased number of transistors. To reduce the power overhead, only a selective flip flops are covered using BISS [133]. Detection latency is in a range of 1.5 ns-2 ns. The acoustic wave detectors are passive and do not consume power. Power overhead of the controller circuit is insignificant [135]. The detection latency for the Error Detection using Acoustic Wave Detectors 86 particle strike occurring anywhere on the LLC is around 30-100 cycles (1200-161 detectors) and can be further reduced by putting more detectors [135]. Silicon detectors typically operate between 10 Volts and 100 Volts [209, 210]. The power consumption depends on the resistivity of the material used and it normally consumes >10 Watts. The detection latency of a silicon detector alone is around 25 ns. The delay added by the pre-amplifier and other controlling mechanism will further increase the overall detection latency [209, 210]. Heavy-ion detector uses flexible supply voltages and consume a few mW of power. The detection latency is similar to the memory access time. 3.7.5.3 False alarms BICS, switching current detector and BISS are susceptible to noise. Common sources of noise are power supply lines, higher switching activities and miss-match in the inputs of the dynamic logic gates. Presence of noise increases the chances of false positives. The voltage glitch detector, receives the fluctuations in the voltage due to transient switching noise from the protected block as well as due to the particle strikes. The comparator filters switching noises and amplifies spikes generated by SEU. Tuning the threshold of the comparator is very difficult and if not set properly, the chances of false alarms increase. In the work of [134], while protecting memory, 27% and 7% false positives are reported for 1 7→ 0 flips and for 0 7→ 1 flip respectively. The acoustic wave detectors are fairly accurate and can be calibrated to detect all particle strikes in the targeted energy spectrum for the given technology. Furthermore, some studies [17, 117, 142] support that the rate of particle strikes (with recoil energy >10 MeV) is not very high. The false positive rate is practically zero, or in the worst case scenario it is one false positive per 1.3 minutes [135]. The presence of noise in the high voltage supply lines for silicon detectors increases the possibility of false positives [209, 210]. For heavy-ion detectors, imperfect calibration of any of the programmable parameters (i.e., VDD, refresh rate or reference voltage to the sense amplifier) may result into unwanted noise due to read/write operation and trigger false positives [212]. Error Detection using Acoustic Wave Detectors 87 3.7.5.4 Detected particles/Fault types Alpha and neutron particle strikes induce soft errors are more frequent [17, 117]. Current and voltage glitch detectors, BISS and acoustic wave detectors can detect particle strikes due to alpha and neutron particles. Silicon detectors can detect alpha and neutron strikes and other heavy elements with the energies in the range of 10 to 100 MeV. Heavy-ion detectors are able to detect particle strikes only due to heavy-ions such as proton, alpha or any other ions whose atom has been stripped off its electrons. 3.7.5.5 Intrusiveness of the design Insertion of particle strike detectors in the design can have significant implications. Insertion of current glitch detectors involve splitting of the power lines of each column into smaller parts. The voltage glitch detectors require generating a virtual ground by partitioning the ground line. These modifications require changes in the physical layouts and routing. Moreover, to reduce huge area overhead, selective insertion is desirable for current/voltage glitch detectors and BISS. Identifying the correct flip-flops for selective insertion of the detector is challenging and can increase complexity. The fabrication and placement of acoustic wave detectors on the surface of active silicon can be performed without complications [135, 142]. The control circuit is also simple and poses no major challenge to the RTL design or placement and routing [135]. The assembly of the silicon detector is very complex especially to provide reliability in processors. It consists of pre-amplifiers and might need to be pipelined requiring a complex control circuit [209, 210]. Heavy-ion detectors of [212] proposes to use part of the DRAM memory cell and pose no significant design challenge. However, providing adjustable sensitivity to detecting particle strikes can have implications in design cost. Error Detection using Acoustic Wave Detectors 88 3.7.5.6 Fault coverage vs. Cost BICS, voltage glitch detectors, BISS, acoustic wave detectors and silicon detectors can detect particle strikes in both memory cells and combinational logic [133– 135, 206, 209, 210]. While switching current detector can detect particle strikes only in SRAM memory cells [207]. Heavy-ion detectors can detect particle strikes only in DRAM memories [212]. To understand the cost vs. coverage trade-off lets compute the cost of protection for a level-one data cache of 32 KB with 512 columns and 512 rows. In the simplest arrangement of one BICS per column, it requires 512 BICS. The switching current detector of Figure 3.22 uses only 12 transistors per detector, and hence the area and power overheads will be relatively less compared to BICS. However, as the cache size increases the overhead increases exponentially. To protect a last level cache (8 MB, 16 way, 8K sets, each way with 8192 columns, 512 rows) >1.3 million BICS are required. If voltage glitch detector are used to provide the protection to the last-level cache, the required number of level-1 detectors to protect all caches would be >1.3 million and apart from that it will require 16 level-2 comparators. Also the transistor sizes should be increase to drive larger portions of the circuit. For combinational logic, even when selective insertion is used (only some latches are protected), protecting a typical 4-bit multiplier with 504 transistors would require 70 BICS. The BICS area overhead for protecting such a multiplier is 29% [206]. For the same multiplier design, the overhead of protecting using hierarchical voltage detectors accounts for 18% of the area of the multiplier [134]. The area overhead of inserting BISS in the design would be 20%-30%. Because of their large error detection range, acoustic wave detectors and silicon detectors can potentially guard the entire chip against particle strikes [135, 209]. Only 4 acoustic wave detectors are required, to provide detection capability in an entire state of the art chipmulti processor with surface area of 245mm2[135]. However, to accurately locate the strike, 30-40 detectors are required, and to minimize the detection latency the required detectors are in the range of 450-500. This means the total area overhead in protecting entire chip is equivalent to 540 6T SRAM cells. SSD can provide detection coverage to the entire core, chip or system level. If APS are used to detect particle strikes on a chip, they are placed in the form of an array. One such array with 9x9 pixels covers a surface area of Error Detection using Acoustic Wave Detectors 89 1cm2over the target processor. This area overhead also includes the connectors for the read out channels to deliver the signal to the outside world [209]. If the error rate in DRAM chips due to heavy-ions is a concern, the DRAMs chips can be effectively protected using heavy-ion detectors [212]. Depending upon the size of the DRAM, one or multiple arrays in the same or different DRAMs are dedicated for particle strike detection. Protecting larger designs using current/voltage glitch or metastability detectors require more detectors. Adding more transistors will increase the power consumption. Applying selective insertion on a full processor core can be extremely challenging. Techniques such as AVF, or fault injection can be used to identify the vulnerable latches and selectively protect them [117]. Moreover, protecting the latches on the critical paths can severely degrade performance. Silicon detectors are very effective and provide excellent coverage but they are not economical. Acoustic wave detectors provide very high levels of reliability at very little area and power overheads. 3.8 Chapter Summary In this chapter, we saw how acoustic wave detectors are used for soft error detection. They detect particle strikes via detection of the shockwave of sound they generate upon impact on the silicon surface. We first studied several particles trike detectors that detect voltage/current glitches, metastability, sound or deposited charge to detect the soft errors. We compared all the detectors for various parameters such as area, power, performance overheads. We provided details regarding the structure and important properties of the cantilever based acoustic wave detectors. Due to its detection range it is possible that just one detector can detect a potent particle strike (and hence soft error) any where on the surface of a modern processor core or cache. Error detection using acoustic wave detectors is extremely simple and incurs negligible overheads compared to other detectors. Once the error is detected, to provide error correction or recovery, the system should be able to accurately locate the error. The architecture based on acoustic wave detectors can be further exploited to precisely locate the particle strikes. Error Detection using Acoustic Wave Detectors 90 We presented a firmware/hardware approach in which the hardware takes responsibility for TDOA measurements and generating hyperbolic equations while the firmware is responsible for solving the equations using several algorithms. Lastly, we presented a case study which helps understanding various trade-offs between design parameters (e.g., sampling frequency, location of detectors etc.) and the algorithmic properties (i.e., runtime, accuracy, complexity etc.). We concluded that for the maximum accuracy and coverage Algorithm 4 is the best option. In the next chapter, we will discusses how we can use the proposed error detection and location scheme for protecting caches. Protecting Caches with Acoustic Wave Detectors 97 codes already deployed for error detection of hard errors (will be discussed in Section 4.3.2). Whether it is possible to locate the error at the granularity of several cache lines or a single bit, providing error containment is somewhat more involved using only acoustic wave detectors mainly because of their higher error detection latencies. The error detection latency is summarized in Table 4.2 in Section 4.1. In the case of LLC, detectors would trigger 100 cycles after the particle has hit the LLC. This means that any data (assuming the cache does not have error codes) leaving the LLC may have a bit flip. For cache lines being evicted, this can be easily solved using a victim buffer that delays write to main memory for 100 cycles. On the other hand, data being served to the processor would reach the head of the reorder buffer much earlier than those 100 cycles. A good option to contain the error would be stalling the commit of the load instruction (with its corresponding impact on performance) or enabling checkpointing mechanisms (will be discussed in detail in Chapter 5). Next, we will explore the possibility of combining error codes with acoustic wave detectors. 4.3 Acoustic Wave Detectors with Error Codes In this section we present the possibility of combining error codes with acoustic wave detectors. Similar to the previous section we will consider two cases: (i) when it is not possible to pinpoint the exact erroneous bit and (ii) the case where we can pinpoint the exact erroneous bit. 4.3.1 Error Area Granularity: Cache Lines For the case when the obtained error area spans over few cache lines, the baseline implementation is the same as explained in the previous section: once the error is localized, we would go line by line within the error area provided by the localization algorithm and clear them. Unlike the previous case, now we have the option of using the error detecting and correcting codes along with the acoustic wave detectors. If the code offers the correction, we would correct the error (the benefits would be similar to those of cache scrubbing [92, 93]). If code only offers detection, we would still need to invalidate the affected cache line. Protecting Caches with Acoustic Wave Detectors 98 Combining detectors with error codes offers two other benefits: (i) error codes allow us to contain the error when the cache line is evicted or read before the detectors trigger, and (ii) they allow us to identify if an error is caused by a hard fault or particle strike. If a cache line is read or evicted and the code triggers, we will wait up to the error detection latency cycles (i.e., 100 cycles in the case of LLC). If the error is caused by a particle strike, a detector will trigger. Otherwise, it is a hard fault. In either case, correction will be provided by the code when possible. Columns Error Codes+Detectors in Table 4.3 summarize the error detection, correction and containment capabilities of the combined approach. As one can see, using Error Codes+Detectors we can detect all particle strikes, since detectors trigger timely and therefore, latent particle strikes do not accumulate. In general, error containment is achieved when the number of hard faults in the cache line is strictly less than the error code detection capability (1 for double error detection, 2 for triple error detection). Error correction (of dirty lines) is achieved when the number of hard faults in the cache line is strictly less than the error code correction capability (0 for single error correction, 1 for double error correction). Columns Error Codes in Table 4.3 show the error detection, correction and containment of the codes without the acoustic wave detectors. If we compare both approaches (left and right of the table), one can see that the approach of Error Codes+Detectors is able to detect all temporal particle strikes that cause bit upsets (i.e., with recoil energy ≥10MeV ), whereas in the case of only Error Codes the detection is limited by their detection capability. Moreover, Error Codes+Detectors provides better error containment. Interestingly, in a scenario where there is presence of 1 hard fault, SEC-DED codes with detectors provide the same detection level as DEC-TED, at a much cheaper cost in area and latency (see light shadowed cells). Usually, designers use error detection and correction codes to provide detection as well as correction (i.e., SEC-DED). L2 and L3 caches are often protected by error detection and correction codes (i.e., SEC-DED) [64, 244–246]. SEC-DED codes are less attractive for L1 caches because they take a long time to decode [46, 119, 247– 249] and may add some extra cycles to executing the load instruction in high-speed microprocessors. Protecting Caches with Acoustic Wave Detectors 99 Error Codes Error Codes+Detectors Code HFaults SER C D CT SER C D CT Odd % ! ! Odd % ! ! 0Even % % % Even % ! % Parity Odd % % % Odd % ! % 1Even % ! ! Even % ! ! 1 ! ! ! 1 ! ! ! 0 2 % ! ! 2 % ! ! ≥3 % % % ≥3 % ! ! SECDED 1 % ! ! 1 % ! ! 1 2 % % % 2 % ! ! ≥3 % % % ≥3 % ! ! 1. . . 2 ! ! ! 1. . . 2 ! ! ! 0 3 % ! ! 3 % ! ! ≥4 % % % ≥4 % ! ! 1 ! ! ! 1 ! ! ! DECTED 1 2 % ! ! 2 % ! ! ≥3 % % % ≥3 % ! ! 1 % ! ! 1 % ! ! 2 2 % % % 2 % ! ! ≥3 % % % ≥3 % ! ! Table 4.3: Comparison of protection capabilities of having only error codes versus error codes with acoustic wave detectors. HFaults stands for number of hard faults, SER number of soft errors, D for detection, C for correction, CT for containment Protecting Caches with Acoustic Wave Detectors 100 L1 caches are usually protected only with parity codes. Parity codes can be implemented at byte level [250] at word level [251] or at cache block level [64]. Due to incapability of correcting errors using parity, parity protected write-back cache is the largest contributor towards the total DUE-FIT of the processor due to soft errors. This forces designers to provide error correction in L1 cache. However, to have correction capability, each byte should be protected with ECC. Implementing ECC for every byte is complex and expensive. Hence, instead of providing ECC for each byte in a cache block, to reduce the cost of protection designers opt to protect cache block with ECC. But caches closer to the core have a lot of partial write operations. Having ECC at cache block level will result into an increase in read-modifies-writes operations. This incurs huge performance and energy penalty. Without any error correction mechanism handling DUE-FIT of L1 cache is a big challenge. Moreover, processors can experience a superlinear increase in DUE-FIT when the size of the write-back cache is doubled [93]. By combining acoustic wave detectors with parity codes it is possible to handle the DUE problem in L1 cache. 4.3.2 Error Area Granularity: Exact bit To provide error correction, the system should be able to accurately locate the error. To reduce the DUE-FIT, the architecture should be able to recover from all the errors that are detected. This can be done by exploiting the localization accuracy of acoustic wave detectors to detect and correct the errors. As discussed in Section 4.2 using only 25 detectors it is possible to pinpoint and correct the error in L1 cache for 71.85% of the times. By correcting the erroneous bit we can improve the DUE-FIT rate of L1 cache by 71.85%. If an L1 data cache is protected with only acoustic wave detectors in 5 ×5 mesh, 71.85% of the times we can exactly locate the upset bit, we call this P1bitAW D . A further quantification of error area obtained by 5 ×5 mesh is shown in Figure 4.3. It reveals that for 14.59%, 7.53%, 2.88% and 1.33% of the times we can locate the error at the granularity of 2 bits, 3 bits, 4 bits and 5 bits respectively. We call them P2bitAW D ,P3bitAW D ,P4bitAW D and P5bitAW D respectively. DUE(AW D)=P1bitAW D = 71.85% (4.1) Protecting Caches with Acoustic Wave Detectors 101 1bit, 71.85% 2 bits, 14.59% 3 bits, 7.53% 4 bits, 2.88% 5 bits, 1.33% >= 6 bits, 1.82% Distribution of Estimated Error Area in Bits (for 5x5 mesh) Figure 4.3: Quantification of error area granularity for 5×5 mesh for L1 data cache By using only acoustic wave detectors in L1 data cache we can improve the DUE by 71.85% as shown in Equation 4.1. Interestingly, we noted that the granularities of error area (i.e. circular area with CEP radius) obtained by acoustic wave detectors are mapped to bits in specific patterns as shown in Figure 4.4. The circle in the Figures 4.4(a-e) show the estimated error area obtained by localization algorithm. The bits that are overlapped or intersected by this circle are also shown in Figure 4.4. For single bit upsets, one of the bits covered by this circular area is erroneous. Using this mapping, we show all the possible error area patterns (not to be confused with multi-bit upset patterns) for bit granularities of 2 to 5 bits in Figure 4.5. Because of this characteristic, we can further improve the DUE if we can exactly isolate the erroneous bit out of the error area granularities of 2-5 bits by combining acoustic wave detectors with error codes. To detect hard errors already parity codes can be deployed for each block or for every byte in a block. Now we will see how we can take advantage of combining acoustic wave detectors with parity codes. Protecting Caches with Acoustic Wave Detectors 102              ;ĂͿ ;ďͿ ;ĐͿ ;ĚͿ ;ĞͿ Figure 4.4: 3*CEP error area mapping to bits to bits of the L1 cache: (a) 1-bit, (b) 2-bits, (c) 3-bits (d) 4-bits and (e) 5-bits              ;ĂͿ ;ďͿ ;ĐͿ ;ĚͿ Figure 4.5: Possibilities of 3*CEP error area granularity patterns : (a) 2-bits, (b) 3-bits, (c) 4-bits and (d) 5-bits 4.3.2.1 Acoustic Wave Detectors + Parity per Block Let’s assume that each cache block is protected by parity bits. Figures 4.6(a-e) show the error area granularity from 2-5 bits obtained by acoustic wave detectors. Protecting Caches with Acoustic Wave Detectors 103 In the case of 2-bit patterns, we assume that 2-bit patterns shown in Figure 4.5(a) are equiprobable (i.e. probability of having each of them is 50%). If both the bits are located in the same cache block as shown in case 1 of Figure 4.6(a), we will not be able to locate the exact bit. However, if the 2 bits are located as shown in case 2 of Figure 4.6(a) we will be able to locate the exact bit that was upset. This means that out of 2 cases involving 2-bit error area granularity we can always detect the patterns, that are similar to case 2. Parity per block can improve the 2-bit contribution towards DUE by further 50% ×P2bitAW D .           ;ďͿ ůŽĐŬϭ ůŽĐŬϮ ĐĂƐĞϭ ĐĂƐĞϮ ĐĂƐĞϯ ĐĂƐĞϰ ;ĐͿ ůŽĐŬϭ ůŽĐŬϮ ůŽĐŬϭ ůŽĐŬϮ ;ĂͿ ĐĂƐĞϭ ĐĂƐĞϮ ůŽĐŬϭ ůŽĐŬϮ ;ĚͿ ůŽĐŬϯ ĐĂƐĞϭ ĐĂƐĞϮ ĐĂƐĞϯ ĐĂƐĞϰ ĐĂƐĞϱ ůŽĐŬϭ ůŽĐŬϮ ;ĞͿ ůŽĐŬϯ ĐĂƐĞϭ ĐĂƐĞϮ ĐĂƐĞϯ ĐĂƐĞϰ ϲϰLJƚĞƐ Figure 4.6: Probability of pin-pointing the erroneous bit using acoustic wave detectors + parity per block for 3*CEP error area granularity patterns of (a) 2-bit, (b) 3-bit, (c) 4-bit and (d,e) 5-bit Likewise, in the case of 3-bit patterns all the 3 bits are located in two different blocks as shown in all the cases of Figure 4.6(b). We will be able to locate the error only when the erroneous bit is the only bit lying in a different cache block out of the 3 bits of error area. Protecting Caches with Acoustic Wave Detectors 104 Again we consider all the 4 cases shown in Figure 4.5(b) are equiprobable(i.e. probability of having each case is 25%). Furthermore, we can detect the exact location of the error only when the error is in specific 1 bit out of 3 bits in each case. This means that we can improve DUE for each case of Figure 4.6(b) by (1/3)×25%. This yields an overall improvement for the 3-bit contribution towards DUE by 34% ×P3bitAW D . In the case of 4-bit pattern as shown in Figure 4.6(c) it is not possible to locate the exact erroneous bit. Figures 4.6(d) and (e) show the 5-bit patterns. Here also we consider that all the patterns shown in Figure 4.5(d) are equiprobable. Hence, each can occur with a probability of 11.12%. Similar calculation in the case of 5-bit pattern, shows that for the case 1 of Figure 4.6(d) when the strike is either in the bit that is in block 1 or block 3, it is possible to locate the exact error. This means we can correct the error if it is only in either of the two bits out of the 5 possible bits. The probability of locating exact error in case 1 of Figure 4.6(d) like patterns is (2/5) ×11.12%. And as shown in other cases of Figure 4.6(d), it is possible to locate the exact error only when the erroneous bit is in a different block and it is the only bit of the 5 bits. This means we can correct the error if it is in only one specific bit out of the 5 possible bits. The probability of locating exact error bit in case 2, 3, 4 and 5 of Figure 4.6(d) is (1/5) ×11.12% each. As they are all equiprobable the improvement is (4/5) ×11.12%. Also in the occurrence of patterns shown in all the cases of Figure 4.6(e) it is not possible to locate the exact bit that was upset. As each block contains two or more bits that can be erroneous. Putting it all together, for 5-bit pattern, parity per block on top of acoustic wave detectors can increase the DUE improvement by (2/5) ×11.12% + (4/5) ×11.12% giving overall DUE improvement of 14% ×P5bitAW D . DUE(AW D+P arityblock)=P1bitAW D + 50% ×P2bitAW D + 34% ×P3bitAW D + 14% ×P5bitAW D =81.89% (4.2) Protecting Caches with Acoustic Wave Detectors 105  LJƚĞϮ LJƚĞϰ ;ĂͿ LJƚĞϭ LJƚĞϯ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ďͿ LJƚĞϭ LJƚĞϯ LJƚĞϮ LJƚĞϰ ;ĐͿ LJƚĞϭ LJƚĞϯ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ĚͿ LJƚĞϭ LJƚĞϯ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ĞͿ LJƚĞϭ LJƚĞϯ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ĨͿ LJƚĞϭ LJƚĞϯ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ŐͿ LJƚĞϭ LJƚĞϯ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ŚͿ LJƚĞϭ LJƚĞϯ LJƚĞϲ LJƚĞϱ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ŝͿ LJƚĞϭ LJƚĞϯ LJƚĞϲ LJƚĞϱ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ũͿ LJƚĞϭ LJƚĞϯ LJƚĞϲ LJƚĞϱ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ŬͿ LJƚĞϭ LJƚĞϯ LJƚĞϲ LJƚĞϱ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ůͿ LJƚĞϭ LJƚĞϯ LJƚĞϲ LJƚĞϱ ĐĂƐĞϭ ĐĂƐĞϮ LJƚĞϮ LJƚĞϰ ;ŵͿ LJƚĞϭ LJƚĞϯ LJƚĞϲ LJƚĞϱ ĐĂƐĞϭ ĐĂƐĞϮ ĐĂƐĞϯ ĐĂƐĞϰ Figure 4.7: Probability of pin-pointing the erroneous bit using acoustic wave detectors + parity per byte for 3*CEP error area granularity patterns of (a,b) 2-bit, (c-f) 3-bit, (g) 4-bit and (h-m) 5-bit Hence, deploying parity per block + acoustic wave detectors in L1 data cache will improve the DUE by 81.89% as calculated in Equation 4.2. 4.3.2.2 Acoustic Wave Detectors + Parity per Byte Now, we will see the case when each byte in a cache block is protected by parity bits along with acoustic wave detectors. A cache block in L1 data cache of a Core™i7-like processor has 64 Bytes. Figures 4.7(a-m) show all the possible cases for locating the erroneous bit for 2-bit, 3-bit, 4-bit patterns and 5-bit patterns. As it is obvious that if all the estimated error bits are in the same byte, we will not be able to locate the exact bit with upset. But if the bits are in different bytes it is possible to locate the exact erroneous bit. All 2-bit patterns are shown in Figures 4.7(a) and (b). For the patterns as in the case 1 of Figure 4.7(a), as both the error area bits are in the same byte we cannot locate the upset bit. But for the patterns similar to case 2 of Figure 4.7(a) Protecting Caches with Acoustic Wave Detectors 106 or patterns similar to Figure 4.7(b) both the bits are into two different bytes and as we have parity at byte level, we can exactly pin-point the upset bit out of the two bit error area. For a 64 byte block the probability of having 2-bit pairs, in which both bits are in different bytes as shown in case 2 of Figure 4.7(a) is 12.3% (i.e. 63 pairs out of 511 total possible combinations). Which also yields probability of having patterns like case 1 of Figure 4.7(a) to 87.7%. We know that the 2-bit patterns shown in Figure 4.5(a) are equiprobable (i.e., each of them have probability of 50%). This concludes that the probabilities of having patterns like case 1 and case 2 of Figure 4.7(a) are 43.85% and 6.15% respectively and the probability of having patterns similar to Figure 4.7(b) is 50%. This implies that 56.15% of the times we can exactly pin-point the upset bit for 2-bit error area granularity. Hence, parity per byte helps improving the 2-bit DUE rate by 56.15% ×P2bitAW D . Figures 4.7(c-f) show the 3-bit patterns. For each 3-bit pattern there are two possibilities, either these 3 bits are spread over 2 different bytes (i.e., case 1 of Figure 4.7(c)) or all the 3 bits are in 3 different bytes (i.e., case 2 of Figure 4.7(c)). Probability of having patterns similar to case 1 and case 2 of Figure 4.7(c) is 87.7% and 12.3% respectively. Moreover, all the 4 possibilities of 3-bit granularities, shown in Figure 4.5(b) are equiprobable each with the probability of 25%. For patterns similar to case 1 of Figure 4.7(c) we will be able to locate the exact upset bit if the upset is in the one bit that is in a different byte from the other two. This means that we can improve DUE for case 1 of Figure 4.7(c) by (1/3) ×(87.7%) ×25%. However, We can exactly pin-point the erroneous bit in the patterns similar to case 2 of Figure 4.7(c) and this can improve DUE by (12.3%) ×25%. Summing it up for all 4 possibilities shown in Figures 4.7(c-f) we conclude, parity per byte helps improving the 3-bit DUE rate by 41.5%×P3bitAW D . For 4-bit pattern, as can be seen in Figure 4.7(g) there are two possibilities. If the pattern bits are spread as shown in the case 2 over 4 different bytes in 2 rows it is possible to correct the upset. Or if they are spread as shown in the case 1 it is not possible to find the upset bit with the help of parity per byte. Parity per byte helps improving the 4-bit DUE rate by 12.3% ×P4bitAW D . Similar observation for 5-bit patterns of Figures 4.7(h-m) reveal that for 5-bit patterns shown in Figure 4.7(h) we can locate the upset for case 1 only in only 2 bits out of 5 and the probability of having 3 bits in the same byte in a 64 byte Protecting Caches with Acoustic Wave Detectors 113 The reliability techniques can be classified into three broader categories: (i) particle strike detection for soft error detection, (ii) soft error detection and (iii) soft error mitigation. 4.6.1 Particle Strike Detection for Soft Errors Several particle strike detector based techniques have been studied in Section 3.7.1 of Chapter 3. These techniques can also be used to detect soft errors in the caches. These particle strike detectors detect voltage or current glitches [132–134, 206] or sound [135] generated upon a particle strike. A detailed comparison is provided in the previous chapter in Section 3.7 and a summary of comparison of particle strike detectors is given in Table 3.1. 4.6.2 Soft Error Detection Error detection techniques work by alerting the system when the system is exposed to erroneous data. For instance, in caches data usually spend a long time before being read by the processor. In a cache with error detection mechanism the data is checked for errors on every read and if found corrupted it is marked invalid. Many error detection techniques are also accompanied by error correction or recovery methods. Once the error is detected usually an error correction mechanism is invoked to correct the data. 4.6.2.1 Error Codes The most popular method of dealing with soft errors in caches is to use error codes for error detection and correction. Error codes such as parity are often employed to detect the error and ECC is employed for simultaneously detecting and correcting errors in caches. Figure 4.12 shows the basic process of implementing error codes. Error codes have to encode the data bits for every store operation in the cache and decode data bits upon every load operation. Every encode operation generates code word using the check bits. Upon every access to the protected data a decoding operation is performed and, the code word is re-computed and compared with the original code Protecting Caches with Acoustic Wave Detectors 114 Data bits Encoder Data bits Check bits Data Buffer Code word Code word Decoder Error Signal! Data bits No error Figure 4.12: Basic functionality of encoding and decoding of data bits in error codes word to protect against errors in original data. The check bits require separate storage which incurs area overhead; moreover, if the encoding and decoding of the data bits is on the critical path it may increase the cache read/write time. Parity: Parity is the most common technique for error detection. Parity is a simple form of information redundancy where one extra bit added for every protected group of data bits. Parity bit can be encoded based on the number of 1s in the protected bits. If there are odd number of 1s in the data bits the parity bit is set to zero and is termed as odd parity. In even parity, the parity bit is set to one if the number of 1s in the protected data bits is even. Due to this encoding, parity code cannot detect even number of errors in the protected data bits as two errors will generate the same parity bit as in the case of error free data bits. In caches parity is computed whenever the protected cache line is modified. Upon a read to the cache line parity bit is re-computed. A parity bit match indicate the error free data. If the parity bits do not match an error is detected and the cache line can be mark invalid. Parity can be implemented at byte level [250] at word level [251] or at cache block level [64]. Parity at byte can allow the architecture to avoid computing the parity for entire word or block for read/write operations on a byte in a cache block. Usually, L1 caches are protected with parity codes [81, 255–257] combined with error mitigation technique. ECC: Error correcting codes (ECC) encodes more information redundancy for providing error detection as well as correction. Similar to parity codes ECC generates a code word for every protected data word. This code word is computed upon every write Protecting Caches with Acoustic Wave Detectors 115 and re-computed and compared upon every read to the cache. ECC encoding is based on the concept of Hamming distance [43]. Hamming distance between two same length data words is defined as the number of bits by the two data words differ. For instance, the Hamming distance between data words 0011 and 0001 is one since they differ only in position two. In order to protect a data word against a one bit error, Hamming-distance-based ECC assigns code words such that any two data words having a Hamming distance of less than two will never share the same code word. By providing code words with Hamming distances greater than the minimum required for protection, ECC can also provide for error correction. To correct an n bit error requires a code word of size (2×n + 2). In addition to correcting n bit errors, this will also detect (n+1) bit errors. Single error correction double error detection (SEC-DED) can correct one bit error as well as detect double bit errors. By adding more code bits a DEC-TED can correct double bit errors and detect triple bit errors. Most common ECC codes used in today’s processors to protect caches are SEC-DED [43, 44] and DECTED [89]. L2 and L3 caches are protected by SEC-DED or DEC-TED [64, 244– 246, 258]. Error codes are effective way of handling single-bit as well as multi-bit errors (as explained in Table 4.3 of Section 4.3 and Section 4.4). 4.6.3 Soft Error Mitigation Unlike error detection techniques, error mitigation techniques can avoid the soft errors altogether by employing some process or device hardening schemes. At architecture level soft error mitigation techniques may employ means to overwrite the erroneous data and hence architecturally masking the error before it is consumed. At process level several techniques can be used to reduce the charge collection capacity of the sensitive nodes in an SRAM memory cell [259]. Using multiple well structures have been proposed to show improved robustness by limiting charge collection [260]. Another effective process technique for reducing the charge collections is to use the SOI substrates. Other process techniques include wafer thinning, mechanisms to dope implants under the most sensitive nodes etc. Process level techniques are effective and significantly reduce the soft error rate of the memories. However these techniques require modifications in the standard CMOS fabrication process and therefore are less attractive. Protecting Caches with Acoustic Wave Detectors 116 Another way of protecting the caches at circuit level is by making the memory cell physically robust. One way of implementing robust SRAM cell is by increasing the Qcrit of the SRAM cells used in caches. Radiation hardening is another circuit level approach for handling soft error rates in caches. We talk about soft error mitigation techniques at process and device level in Chapter 7. 4.6.3.1 Physical Interleaving Physical interleaving is a technique to arrange physically adjacent bits into different logical code words. Bit interleaving [87] can be used to demote the spatial multi-bit fault to several single-bit faults, then simple encoding techniques can correct the several single-bit faults separately [252–254]. Error codes accompanying with bit interleaving can detect and correct several spatial multi-bit errors. An example of physically interleaved parity code is shown in Figure 4.8. If two adjacent bits are affected by a single particle strike and as the adjacent bits are physically interleaved the affected two bits will be detected as two single bit errors. Degree of interleaving (DOI) is defined as the number of adjacent bit errors the interleaving scheme can detect. Figure 4.8 shows a scheme with DOI=4. As the degree of interleaving increases the capacity of error codes to detect or correct spatial multi-bit errors increases. However, with increased degree of interleaving the depth of XOR logic tree for computing the parity increases and will require longer encoding and decoding time which may impact the overall performance. 4.6.3.2 Cache Scrubbing Temporal multi-bit faults are the cumulative effect of several single-bit faults in a period of time. When the probability of having temporal multi-bit error is high cache scrubbing [92, 93] technique is often combined with ECC. Temporal multibit errors can be seen more frequently in large memories (e.g., LLC) where the data stays without being accessed for a very long time. Because the data is not accessed the error due to first particle strike goes undetected and upon a second particle strike it is transformed into double bit error and the SEC-DED will not be able to correct it. Cache scrubbing avoids the accumulation of errors by periodically accessing all the cache blocks and hence invoking the error codes for possible single bit error detection and correction. Typical scrubbers step through cache lines at fixed times, guaranteeing that all words will be scrubbed at least once during some Protecting Caches with Acoustic Wave Detectors 117 larger interval. Usually, the scrubbing frequency is set such that each cache line will be scrubbed on average more often than a bit flip occurs. Determining the cache scrubbing period can be challenging and also as every cache block is accessed periodically to check for errors the overall power consumption increases. 4.6.3.3 Cache Flush As a part of error mitigation in cache flushing techniques a hardware of software controller mechanism is employed to periodically flush the entire contents of the cache [203, 226, 261]. By removing all the data from the cache the erroneous data is also removed improving the overall reliability. However, frequent cache flushing techniques can incur huge performance overhead due to increased cache miss rate. 4.6.3.4 Early Writeback Usually, a cache line remains in the cache until it is replaced by another cache line according to an appropriate replacement policy (i.e., least recently used (LRU)). The early writeback scheme is motivated by the observation that the dirty cache lines that have not been accessed recently are unlikely to be read again. Several proposals have been made in the direction to replace the dirty cache lines in the cache after a fixed time period, earlier than they would be replaced by the usual LRU policy [243, 262, 263]. Early writeback schemes enhance reliability of writeback cache by reducing the exposure of dirty cache lines to the soft errors. 4.6.4 Comparison of Techniques In this section, we summarize the area, power and performance overheads associated with techniques discussed above for protecting caches. Table 4.5 gives compares the process, circuit and architecture level solutions for their area, power and performance overheads. Process level techniques can be effective in terms of the reduction in the soft error rate they can achieve. However these techniques require modifications in the standard CMOS fabrication process and hence difficult to adapt in existing technology. Circuit level solutions either employ larger transistors or include redundant transistors in the SRAM cell. For instance, the DICE cell employs 2×more transistors Protecting Caches with Acoustic Wave Detectors 118 than a normal SRAM cell it can incur 1.5-2×higher area overhead [264, 265]. Because of the large number of transistors per cell, these designs consume more area (and consequently more power) than six transistor cells. Employing larger cells or increasing the node capacitance can impact performance in other ways (usually degrades the read/write time of cache). Including redundant transistors may also increase the overall energy consumption. Protecting Caches with Acoustic Wave Detectors 119 Mechanism Detection False Chip SER Area Power Performance Design Latency Alarms Reduction Overhead Overhead Overhead Cost Process Level Multi-well [260], SOI [184, 185] – % 5×[184] Low Low Low High Circuit level (V-I) sensing [132–134] 3-6 cycles ! Moderate 20-45% [206] upto 100% [206] 1-10% [206] Moderate Decoupling capacitor [28, 266, 267] - % 25-32% [268] Moderate 3%†† [268] High High Hardened cell [54, 264, 265, 269] 0-2 cycles % 10×[265] 1.5-2׆[264] 40-50%†[265] 6-8% [270] Moderate Architecture level Parity 0 cycles % 1D 1.5%⋆Low Low Low SEC-DED 0 cycles % 2D-1C 13%⋆Moderate Moderate Low DEC-TED 0 cycles % 3D-2C 23%⋆High High Moderate Interleaving (DOI=8) + Parity 0 cycles % 8D 1.5%⋆⋆ High High Moderate Scrubbing + SEC-DED 1000s of cycles % 42% [203] 13%⋆High High Moderate Cache Flush 1000s of cycles % 10-25×[261] Low High 10% [261] Low Early Writeback 1000s of cycles % High 5% [263] High <1% [243] Low Table 4.5: Comparing different mechanisms for protecting caches against soft errors. nD indicates n bits error detection capability, mD–nC indicates m bits error detection and n bits correction capability. †overheads per SRAM cell, †† overhead per chip, ⋆overhead per 64 bits, ⋆⋆ doesnt include overhead from the interleaving circuit. Protecting Caches with Acoustic Wave Detectors 120 At architecture level, while employing error detection and correction codes, the generated check bits adds to the original data bits and they are required to be stored causing area overhead; however, the relative overhead diminishes as the width of protected data word increases. Generation and checking of parity and ECC occurs during data reads and writes and adds energy overhead. ECC encoding is done using complex bit-wise XOR logic gates across portions of a cache block and generating check bits which are stored along with the original data in the cache. Employing ECC for protecting caches can cause area and power overheads [270, 271]. Due to encoding and decoding delay of code words the ECC may add extra cycles to the cache access time incurring significant performance penalty [119, 243]. Moreover, as the complexity of code increases the overheads increase exponentially. Compared to parity the SEC-DED and DEC-TED can increase the energy overhead by 25% and 50% respectively [254]. In addition, reading and computing the ECC bits for error checking can be a performance bottleneck parity and ECC are best applied to data that is not manipulated often. Caches closer to the core have a lot of partial store operations (i.e., store instructions operating on a few bytes in a cache block). Having ECC at cache block level will result in computations of check bits for the entire cache block, incurring huge performance and energy penalty. The extra area and energy overhead to implement multi-bit error detection and correction grows quickly as the code strength is increased. Employing complex codes may also require pipelined encoding and decoding schemes which may increase the length of the critical path. Thus, parity and ECC protection of data is difficult to efficiently integrate into modern processor cores that are performance, power, and complexity constrained. Cache scrubbing techniques can avoid the ECC latency by periodically scanning the cache, checking the data integrity. Scrubbing period may vary from 80 ns to 1000 s of ns [91–93]. Because scrubbing avoids the inline error correction of traditional ECC; it has lower error coverage than checking ECC on every read [92]. Physical bit interleaving can handle spatial multi-bit errors at the cost of additional power due to the unnecessary read access of the undesired words in the row as all cells in a row share common word-line [64, 87, 179, 244]. Additional area and performance penalty incurs due to the long word-line and column MUX circuits. The overheads grow significantly as the interleaving factor increases depending on the memory design [248, 254, 272]. Protecting Caches with Acoustic Wave Detectors 121 The benefits of the early writeback cache against the incurred performance penalty largely depends on the behavior of the workload. If in a given workload there is only a portion of the cache that is dirty the benefits achieved will be small. Plenty of research has been done in inventing schemes to reduce the overheads associated with error codes [46, 47, 248, 254, 273–276]. We highlight the major features for reducing the overheads related to error codes for protecting caches: 1. Existing error codes mostly protect a cache block (64 bytes) in caches. However, by protecting more bits the protection coverage can be increased at minute increase in area, power and performance overheads. Method proposed in [249, 273] protects multiple cache block or entire cache and significantly reduce the area overhead. 2. Another way of reducing the overheads is by decoupling the correction capability of ECC from the critical path. As we have seen in Table 4.5 the cost of error detection is significantly smaller than the cost of error correction. Decoupling the error detection and correction mechanisms can be beneficial especially where the soft error rate is low. One way of implementing it is to detect error on every read operation and invoke error correction only when needed [87, 248, 249, 253, 275]. Using such two-tired schemes it is possible to off load the error correction codes to DRAM to further reduce the area overhead [248]. 3. Decouple the multi bit correction capability and single bit correction capability of ECC. A variable length ECC proposed in [258] that protects the common case of large number (about 96%) of cache lines with zero or one failures using a simple and fast ECC and the smaller portion of cache lines with multi-bit failures use a strong multi-bit ECC that requires some additional area and latency. 4. An alternative approach includes the mechanisms that protect only dirty cache lines in the cache. The idea is based on the observation that most of the time a majority of cache contains clean data and as this data is unmodified, another copy of correct data already exists in the lower levels of caches. Any error in the clean data can be recovered by restoring the clean data from the lower level of cache. Therefore, clean data does not require complex and expensive error correction mechanism. Work of [277] protects Protecting Caches with Acoustic Wave Detectors 122 the dirty cache lines in L2 and LLC via SEC-DED and the clean lines with parity code. In [86] authors proposed to protect dirty cache blocks using ECC and once the dirty cache block turns clean the correction capacity of ECC is disabled by gating some bits and converting ECC into parity code. Another variant [274] proposed to use a small cache for saving check bits for ECC or replicated cache lines. Techniques protecting the dirty cache lines in a cache can be further benefited by employing policies such as eager writeback to reduce the number of dirty cache lines in the cache [243, 262, 263]. 5. Similar to the idea of protecting only dirty cache lines, cache replication technique [278] proposes to protect only subset of cache lines using ECC. The cache lines are selected based upon the access frequency. The mechanism proposes to store the replicas of frequently accessed cache lines in place of cache lines that are no longer required. It reduces the ECC overheads by not protecting the selected cache lines by employing redundancy in terms of replication. Not all cache lines are replicated leading to a potentially higher uncorrectable error rate than with the baseline uniform ECC. The work has been further extended that utilizes replicating dirty cache lines or parts of dirty cache lines for providing error protection [279]. 4.7 Chapter Summary In this chapter, we saw how acoustic wave detectors are used for soft error detection and localization in the caches. We first studied the implications of error detection and localization architecture on the design parameters, detection latency and error area granularity. Based on the obtained error area granularity, we explored the possibility of correcting errors. We observed that acoustic wave detectors can correct the error whenever the exact location of the error is identified. Our experiments concluded that using only 25 acoustic wave detectors it is possible to correct 71.85% errors in L1 cache. We then explored the possibility of combining acoustic wave detectors with error codes. We discussed the architectural modifications for integrating error codes with acoustic wave detectors. We then studied the DUE problem in caches closer the the core (i.e., L1 cache). Because of the higher cost of error correction L1 caches only have error detection capability. We showed how by accommodating Conclusions 225 exact location of error. By identifying the exact erroneous bit can simplify the error correction mechanism. The applicability of this architecture can be shown by extending it to protect off-chip components such as DRAM, memory controller, buses, interconnects and switching fabric etc. It will be interesting to explore the architecture based on acoustic wave detectors to provide reliability to these off-chip components and studying its impact on the area, power and performance overheads while comparing with the improved system reliability and availability. Bibliography [1] AnandTech Ian Cutress. Intel readying 15-core xeon e7 v2. Online, February 2014. http://www.anandtech.com/show/7753/intel-readying-15core-xeon- e7-v2. [2] Gordon E Moore et al. Cramming more components onto integrated circuits. Proceedings of the IEEE, 86(1):82–85, 1998. [3] Wm A Wulf and Sally A McKee. Hitting the memory wall: implications of the obvious. ACM SIGARCH computer architecture news, 23(1):20–24, 1995. [4] Shlomit S Pinter and Adi Yoaz. Tango: a hardware-based data prefetching technique for superscalar processors. In Proceedings of the 29th annual ACM/IEEE international symposium on Microarchitecture, pages 214–225. IEEE Computer Society, 1996. [5] Glenn Reinman, Brad Calder, and Todd Austin. Fetch directed instruction prefetching. In Microarchitecture, 1999. MICRO-32. Proceedings. 32nd Annual International Symposium on, pages 16–27. IEEE, 1999. [6] Dean M Tullsen, Susan J Eggers, and Henry M Levy. Simultaneous multithreading: Maximizing on-chip parallelism. In ACM SIGARCH Computer Architecture News, volume 23, pages 392–403. ACM, 1995. [7] John L. Hennessy and David A. Patterson. Computer Architecture: A Quantitative Approach, 4th Edition. Elsevier Science Publishers B. V., 2007. [8] Robert H Dennard, Fritz H Gaensslen, V Leo Rideout, Ernest Bassous, and Andre R LeBlanc. Design of ion-implanted mosfet’s with very small physical dimensions. Solid-State Circuits, IEEE Journal of, 9(5):256–268, 1974. 226 Bibliography 227 [9] Kate Greene. A new and improved moore’s law. MIT Technology Review, September 2011. http://www.technologyreview.com/news/425398/anew-and-improved-moores-law/. [10] Mark Bohr. A 30 year retrospective on dennard’s mosfet scaling paper. Solid-State Circuits Society Newsletter, IEEE, 12(1):11–13, 2007. [11] Stefanos Kaxiras and Margaret Martonosi. Computer architecture techniques for power-efficiency. Synthesis Lectures on Computer Architecture, 3 (1):1–207, 2008. [12] Semiconductor Industry Association et al. International technology roadmap for semiconductors (itrs), 2003 edition. Hsinchu, Taiwan, Dec, 2003. [13] Hadi Esmaeilzadeh, Emily Blem, Renee St Amant, Karthikeyan Sankaralingam, and Doug Burger. Dark silicon and the end of multicore scaling. In Computer Architecture (ISCA), 2011 38th Annual International Symposium on, pages 365–376. IEEE, 2011. [14] Nikos Hardavellas, Michael Ferdman, Babak Falsafi, and Anastasia Ailamaki. Toward dark silicon in servers. IEEE Micro, 31(4):6–15, 2011. [15] Sani R Nassif, Nikil Mehta, and Yu Cao. A resilience roadmap. In Proceedings of the Conference on Design, Automation and Test in Europe, pages 1011–1016. European Design and Automation Association, 2010. [16] T. Karnik, J. Tschanz, N. Borkar, J. Howard, S. Vangal, V. De, and S. Borkar. Resiliency for many-core system on a chip. In Design Automation Conference (ASP-DAC), 2014 19th Asia and South Pacific, pages 388–389, Jan 2014. [17] Robert Baumann. Soft errors in advanced computer systems. In Proceedings of IEEE Design and Test of Computers, pages 258–266, Los Alamitos, CA, USA, 2005. IEEE Computer Society. [18] Douglas Bossen. Cmos soft errors and server design. IEEE 2002 Reliability Physics Tutorial Notes, Reliability Fundamentals, 121:07–1, 2002. [19] James F Ziegler, Huntington W Curtis, Hans P Muhlfeld, Charles J Montrose, and B Chin. Ibm experiments in soft fails in computer electronics (1978–1994). IBM journal of research and development, 40(1):3–18, 1996. Bibliography 228 [20] R. Baumann. Soft errors in advanced semiconductor devices-part i: the three radiation sources. IEEE Transactions on Device and Materials Reliability, 1(1):17–22, 2001. ISSN 7045-483. [21] JF Ziegler and WA Lanford. Effect of cosmic rays on computer memories. Science, 206(4420):776–788, 1979. [22] JF Ziegler and WA Lanford. The effect of sea level cosmic rays on electronic devices. Journal of applied physics, 52(6):4305–4312, 1981. [23] H. Quinn and P. Graham. Terrestrial-based radiation upsets: A cautionary tale. Technical Report LA-UR-08-1643, Los Alamos National Laboratory, 2008. [24] Australian Transport Safty Bureau. Inflight upset-airbus a330-303 vh-qpa. online. http://www.atsb.gov.au/publications/investigation reports/2008/aair/ao- 2008-070.aspx. [25] Eugene Normand. Single-event effects in avionics. Nuclear Science, IEEE Transactions on, 43(2):461–474, 1996. [26] Bianca Schroeder, Eduardo Pinheiro, and Wolf-Dietrich Weber. Dram errors in the wild: a large-scale field study. In ACM SIGMETRICS Performance Evaluation Review, volume 37, pages 193–204. ACM, 2009. [27] Actel. Understanding soft and firm errors in semiconductor devices. White paper, Actel. http://www.microsemi.com. [28] James F Ziegler and Helmut Puchner. SER–history, Trends and Challenges: A Guide for Designing with Memory ICs. Cypress, 2004. [29] Robert Baumann. The impact of technology scaling on soft error rate performance and limits to the efficacy of error correction. In IEDm: international electron devices meeting, pages 329–332, 2002. [30] Tanay Karnik and Peter Hazucha. Characterization of soft errors caused by single event upsets in cmos processes. Dependable and Secure Computing, IEEE Transactions on, 1(2):128–143, 2004. [31] Scott Hareland, Jose Maiz, Mohsen Alavi, Kaizad Mistry, Steve Walsta, and Changhong Dai. Impact of cmos process scaling and soi on the soft Bibliography 229 error rates of logic processes. In VLSI Technology, 2001. Digest of Technical Papers. 2001 Symposium on, pages 73–74. IEEE, 2001. [32] Anand Dixit and Alan Wood. The impact of new technology on soft error rates. In Proceedings of the International Reliability Physics Symposium (IRPS), 2011. [33] Shekhar Borkar. Designing reliable systems from unreliable components: the challenges of transistor variability and degradation. Micro, IEEE, 25(6): 10–16, 2005. [34] Premkishore Shivakumar, Michael Kistler, Stephen W Keckler, Doug Burger, and Lorenzo Alvisi. Modeling the effect of technology trends on the soft error rate of combinational logic. In Dependable Systems and Networks, 2002. DSN 2002. Proceedings. International Conference on, pages 389–398. IEEE, 2002. [35] Shuguang Feng, Shantanu Gupta, Amin Ansari, and Scott Mahlke. Shoestring: probabilistic soft error reliability on the cheap. In ACM SIGARCH Computer Architecture News, volume 38, pages 385–396. ACM, 2010. [36] Nicholas J Wang and Sanjay J Patel. Restore: Symptom-based soft error detection in microprocessors. IEEE Transactions on Dependable and Secure Computing,, 3(3):188–201, 2006. [37] Tanay Karnik, Bradley Bloechel, K Soumyanath, Vivek De, and Shekhar Borkar. Scaling trends of cosmic ray induced soft errors in static latches beyond 0.18 u. In Symposium on VLSI circuits digest of technical papers, pages 61–62, 2001. [38] Subhashish Mitra, Norbert Seifert, and Pia Sanda. Soft errors: Trends, system effects, and protection techniques. IOLTS-Tutorial Slides, December 2007. [39] Niranjan Soundararajan, Anand Sivasubramaniam, and Vijay Narayanan. Characterizing the soft error vulnerability of multicores running multithreaded applications. In ACM SIGMETRICS Performance Evaluation Review, volume 38, pages 379–380. ACM, 2010. Bibliography 230 [40] Cristian Constantinescu. Trends and challenges in vlsi circuit reliability. IEEE micro, 23(4):14–19, 2003. [41] Hang T Nguyen, Yoad Yagil, Norbert Seifert, and Mike Reitsma. Chip-level soft error estimation method. IEEE Transactions on Device and Materials Reliability, 5(3):365–381, 2005. [42] Ethan H Cannon, A KleinOsowski, Rouwaida Kanj, Daniel D Reinhardt, and Rajiv V Joshi. The impact of aging effects and manufacturing variation on sram soft-error rate. Device and Materials Reliability, IEEE Transactions on, 8(1):145–152, 2008. [43] Richard W Hamming. Error detecting and error correcting codes. Bell System technical journal, 29(2):147–160, 1950. [44] Mu-Yue Hsiao. A class of optimal minimum odd-weight-column sec-ded codes. IBM Journal of Research and Development, 14(4):395–401, 1970. [45] Chin-Long Chen and MY Hsiao. Error-correcting codes for semiconductor memory applications: A state-of-the-art review. IBM Journal of Research and Development, 28(2):124–134, 1984. [46] Timothy J Dell. A white paper on the benefits of chipkill-correct ecc for pc server main memory. IBM Microelectronics Division, pages 1–23, 1997. [47] Weldon E J. Peterson W W. Error-Correcting Codes. MIT Press, 2003. [48] C W Slayman. Cache and memory error detection, correction, and reduction techniques for terrestrial servers and workstations. IEEE Transactions on Device and Materials Reliability, 5(3):397–404, 2005. [49] Jangwoo Kim, Nikos Hardavellas, Ken Mai, Babak Falsafi, and James Hoe. Multi-bit error tolerant caches using two-dimensional error coding. In Proceedings of International Symposium on Microarchitecture (MICRO), pages 197–209. Ieee, 2007. [50] Jiri Gaisler. A portable and fault-tolerant microprocessor based on the sparc v8 architecture. In Proceedings of International Conference on Dependable Systems and Networks, 2002. DSN 2002., pages 409–415, 2002. Bibliography 231 [51] Ken Yano, Takanori Hayashida, and Toshinori Sato. Analysis of ser improvement by radiation hardened latches. In IEEE 18th Pacific Rim International Symposium on Dependable Computing (PRDC), 2012, pages 89–95, 2012. [52] Liang Wang, Yuhong Li, Suge Yue, Yuanfu Zhao, Long Fan, and Liquan Liu. Single event effects on hard-by-design latches. In Radiation and Its Effects on Components and Systems, 2007. RADECS 2007. 9th European Conference on, pages 1–4, 2007. [53] Sheng Lin, Yong-Bin Kim, and Fabrizio Lombardi. Design and performance evaluation of radiation hardened latches for nanoscale cmos. Very Large Scale Integration (VLSI) Systems, IEEE Transactions on, 19(7):1315–1319, 2011. [54] Timothy J Slegel, Robert M Averill III, Mark A Check, Bruce C Giamei, Barry W Krumm, Christopher A Krygowski, Wen H Li, John S Liptay, John D MacDougall, Thomas J McPherson, et al. Ibm’s s/390 g5 microprocessor design. IEEE Micro, 19(2):12–23, 1999. [55] Subhasish Mitra, Norbert Seifert, Ming Zhang, Quan Shi, and Kee Sup Kim. Robust system design with built-in soft-error resilience. Computer, 38(2): 43–52, 2005. [56] Xavier Vera, Jaume Abella, Javier Carretero, and Antonio Gonz´alez. Selective replication: A lightweight technique for soft errors. ACM Transactions on Computer Systems (TOCS), 27:8:1–8:30, January 2010. [57] Shubhendu S Mukherjee, Michael Kontz, and Steven K Reinhardt. Detailed design and evaluation of redundant multithreading alternatives. In Proceedings of International Symposium on Computer Architecture (ISCA), 2002. [58] Lisa Spainhower and Thomas A Gregg. IBM S/390 parallel enterprise server G5 fault tolerance: a historical perspective. IBM Journal of Research and Development, 43(5/6):863–873, 1999. [59] Patrick J Meaney, Scott B Swaney, Pia N Sanda, and Lisa Spainhower. Ibm z990 soft error detection and recovery. Device and Materials Reliability, IEEE Transactions on, 5(3):419–427, 2005. [60] Blaine Stackhouse, Sal Bhimji, Chris Bostak, Dave Bradley, Brian Cherkauer, Jayen Desai, Erin Francom, Mike Gowan, Paul Gronowski, Dan Bibliography 232 Krueger, et al. A 65 nm 2-billion transistor quad-core itanium processor. Solid-State Circuits, IEEE Journal of, 44(1):18–31, 2009. [61] Reid Riedlinger, Ron Arnold, Larry Biro, Bill Bowhill, Jason Crop, Kevin Duda, Eric S Fetzer, Olivier Franza, Tom Grutkowski, Casey Little, et al. A 32 nm, 3.1 billion transistor, 12 wide issue itanium®processor for missioncritical servers. Solid-State Circuits, IEEE Journal of, 47(1):177–193, 2012. [62] Myron L Fair, Christopher R Conklin, Scott B Swaney, Patrick J Meaney, William J Clarke, Luiz C Alves, Indravadan N Modi, Fritz Freier, Wolfgang Fischer, and Norman E Weber. Reliability, availability, and serviceability (ras) of the ibm eserver z990. IBM Journal of Research and Development, 48(3.4):519–534, 2004. [63] Alan Wood, Robert Jardine, and Wendy Bartlett. Data integrity in hp nonstop servers. In Workshop on SELSE, 2006. [64] Nhon Quach. High availability and reliability in the itanium processor. IEEE Micro, 20(5):61–69, 2000. [65] S.K. Reinhardt and S.S. Mukherjee. Transient fault detection via simultaneous multithreading. In Proceedings of the 27th International Symposium on Computer Architecture (ISCA), New York, NY, USA, 2000. ACM Press. [66] T.N. Vijaykumar, I. Pomeranz, and K. Cheng. Transient-fault recovery using simultaneous multithreading. In Proceedings of the 29th International Symposium on Computer Architecture (ISCA), 2002. [67] Todd M Austin. DIVA: a reliable substrate for deep submicron microarchitecture design. In Proceedings of International Symposium on Microarchitecture (MICRO), 1999. [68] Eric Rotenberg. AR-SMT: A microarchitectural approach to fault tolerance in microprocessors. In Proceedings of International Symposium on Fault- Tolerant Computing (FTC), page 84, 1999. ISBN 0-7695-0213-X. [69] J.C. Smolens, J. Kim, J.C. Hoe, and B. Falsafi. Efficient resource sharing in concurrent error detecting superscalar microarchitectures. In Proceedings of the 37th International Symposium on Microarchitecture (MICRO), 2004. Bibliography 233 [70] Joydeep Ray, James C Hoe, and Babak Falsafi. Dual use of superscalar datapath for transient-fault detection and recovery. In Proceedings of the 34th annual ACM/IEEE international symposium on Microarchitecture, pages 214–224. IEEE Computer Society, 2001. [71] M.A. Gomaa and T.N. Vijaykumar. Opportunistic transient-fault detection. In Proceedings of International Symposium on Computer Architecture (ISCA), 2005. [72] Mohamed Gomaa, Chad Scarbrough, TN Vijaykumar, and Irith Pomeranz. Transient-fault recovery for chip multiprocessors. In Proceedings of 30th Annual International Symposium on Computer Architecture, 2003, pages 98–109. IEEE, 2003. [73] S. Kumar and A. Aggarwal. Reducing resource redundancy for concurrent error detection techniques in high performance microprocessors. In Proceedings of the International Symposium on High-Performance Computer Architecture (HPCA), 2006. [74] M.K. Qureshi, O. Mutlu, and Y.N. Patt. Microarchitectural-based inspection: a technique for transient-fault tolerance in microprocessors. In Proceedings of International Conference on Dependable Systems and Networks (DSN), 2005. [75] Angshuman Parashar, Anand Sivasubramaniam, and Sudhanva Gurumurthi. SlicK: slice-based locality exploitation for efficient redundant multithreading, volume 40. ACM, 2006. [76] D.K. Pradhan. Fault-tolerant computer system design. Computer Science Press, 2003. [77] Muhammad Shafique, Siddharth Garg, J¨org Henkel, and Diana Marculescu. The eda challenges in the dark silicon era: Temperature, reliability, and variability perspectives. In Proceedings of the The 51st Annual Design Automation Conference on Design Automation Conference, pages 1–6. ACM, 2014. [78] Douglas Bossen, Joel M Tendler, and Kevin Reick. Power4 system design for high reliability. Micro, IEEE, 22(2):16–24, 2002. Bibliography 234 [79] Naveen Muralimanohar. Wire Aware Cache Architecture. PhD thesis, Citeseer, 2009. [80] Eishi Ibe, Hitoshi Taniguchi, Yasuo Yahagi, Ken-ichi Shimbo, and Tadanobu Toba. Impact of scaling on neutron-induced soft error in srams from a 250 nm to a 22 nm design rule. Electron Devices, IEEE Transactions on, 57(7): 1527–1538, 2010. [81] Joel M Tendler, J Steve Dodson, JS Fields, Hung Le, and Balaram Sinharoy. Power4 system microarchitecture. IBM Journal of Research and Development, 46(1):5–25, 2002. [82] John Wuu, Don Weiss, Charles Morganti, and Michael Dreesen. The asynchronous 24mb on-chip level-3 cache for a dual-core itanium®-family processor. In IEEE International Solid-State Circuits Conference Digest of Technical Papers, 2005. [83] Chetana N Keltcher, Kevin J McGrath, Ardsher Ahmed, and Pat Conway. The amd opteron processor for multiprocessor servers. IEEE Micro, 23(2): 66–76, 2003. [84] Kriszti´an Flautner, Nam Sung Kim, Steve Martin, David Blaauw, and Trevor Mudge. Drowsy caches: simple techniques for reducing leakage power. In Computer Architecture, 2002. Proceedings. 29th Annual International Symposium on, pages 148–157. IEEE, 2002. [85] Dan Ernst, Nam Sung Kim, Shidhartha Das, Sanjay Pant, Rajeev Rao, Toan Pham, Conrad Ziesler, David Blaauw, Todd Austin, Krisztian Flautner, et al. Razor: A low-power pipeline based on circuit-level timing speculation. In Microarchitecture, 2003. MICRO-36. Proceedings. 36th Annual IEEE/ACM International Symposium on, pages 7–18. IEEE, 2003. [86] Lin Li, Vijay Degalahal, Narayanan Vijaykrishnan, Mahmut Kandemir, and Mary Jane Irwin. Soft error and energy consumption interactions: a data cache perspective. In Low Power Electronics and Design, 2004. ISLPED’04. Proceedings of the 2004 International Symposium on, pages 132–137. IEEE, 2004. [87] Zhang K Maiz J, Hareland S. Characterization of multi-bit soft error events in advanced srams. In IEEE International Electron Devices Meeting, 2003. Bibliography 241 [145] James F Ziegler. Terrestrial cosmic rays. IBM journal of research and development, 40(1):19–39, 1996. [146] Chang-Ming Hsieh, Philip C Murley, and Redmond R O’Brien. Collection of charge from alpha-particle tracks in silicon devices. Electron Devices, IEEE Transactions on, 30(6):686–693, 1983. [147] Eric Dupont, Michael Nicolaidis, and Peter Rohr. Embedded robustness ips for transient-error-free ics. IEEE Design & Test of Computers, 19(3):56–70, 2002. [148] R. Silberberg, H. Tsao Chen, and J.R. Letaw. Neutron generated singleevent upsets in the atmosphere. IEEE Transactions on Nuclear Science, 31 (6):1183–1185, 1984. ISSN 0018-9499. [149] H. Tsao Chen ans R. Silberberg and J.R. Letaw. A comparison of neutron induced soft error rate in si and gaas devices. IEEE Transactions on Nuclear Science, 35(6):1634–1637, 1988. ISSN 0018-9499. [150] Henry HK Tang. Nuclear physics of cosmic ray interaction with semiconductor materials: particle-induced soft errors from a physicist’s perspective. IBM journal of research and development, 40(1):91–108, 1996. [151] Xin Li, Kai Shen, Michael C Huang, and Lingkun Chu. A memory soft error measurement on production systems. In USENIX Annual Technical Conference, pages 275–280, 2007. [152] Xin Li, Michael C Huang, Kai Shen, and Lingkun Chu. A realistic evaluation of memory hardware errors and software system susceptibility. In USENIX Annual Technical Conference, 2010. [153] Vilas Sridharan and Dean Liberty. A study of dram failures in the field. In High Performance Computing, Networking, Storage and Analysis (SC), 2012 International Conference for, pages 1–11. IEEE, 2012. [154] Andy A Hwang, Ioan A Stefanovici, and Bianca Schroeder. Cosmic rays don’t strike twice: understanding the nature of dram errors and the implications for system design. ACM SIGPLAN Notices, 47(4):111–122, 2012. [155] Timothy J Dell. System ras implications of dram soft errors. IBM Journal of Research and Development, 52(3):307–314, 2008. Bibliography 242 [156] Peter Hazucha and Christer Svensson. Impact of cmos technology scaling on the atmospheric neutron soft error rate. Nuclear Science, IEEE Transactions on, 47(6):2586–2594, 2000. [157] Peter Hazucha, Christer Svensson, and Stephen A Wender. Cosmic-ray soft error rate characterization of a standard 0.6-/spl mu/m cmos process. Solid- State Circuits, IEEE Journal of, 35(10):1422–1429, 2000. [158] C Detcheverry, C Dachs, E Lorfevre, C Sudre, G Bruguier, JM Palau, J Gasiot, and R Ecoffet. Seu critical charge and sensitive area in a submicron cmos technology. 1997. [159] Philip C Murley and GR Srinivasan. Soft-error monte carlo modeling program, semm. IBM Journal of Research and Development, 40(1):109–118, 1996. [160] ITRS. International technology roadmap for semiconductors. 2010. [161] Vilas Sridharan and Dean Liberty. A field study of dram errors. studies, 3 (5):10, 2012. [162] N. Seifert and N. Tam. Timing vulnerability factors of sequentials. IEEE Transactions on Device and Materials Reliability, 4(3):516–522, 2004. [163] Premkishore Shivakumar, Michael Kistler, Stephen W Keckler, Doug Burger, and Lorenzo Alvisi. Modeling the effect of technology trends on the soft error rate of combinational logic. In Proceedings of International Conference on Dependable Systems and Networks (DSN), volume 00, page 389, Los Alamitos, CA, USA, 2002. IEEE Computer Society. ISBN 0-7695- 1597-5. [164] Jordi Barrat i Esteve, Ben Goldsmith, and John Turner. International experience with e-voting. 2012. [165] Belgian Goverment Report. Bevoting study of electronic voting systems. online. http://www.ibz.rrn.fgov.be/fileadmin/user upload/Elections2011/fr/presentation/bevoting- 1 gb.pdf. [166] Ciscos Internet Business Solutions Group (IBSG). The internet of things. online. http://share.cisco.com/internet-of-things.html. Bibliography 243 [167] Larry D Edmonds. Electric currents through ion tracks in silicon devices. Nuclear Science, IEEE Transactions on, 45(6):3153–3164, 1998. [168] Larry D Edmonds. A time-dependent charge-collection efficiency for diffusion. Nuclear Science, IEEE Transactions on, 48(5):1609–1622, 2001. [169] Paul E Dodd. Device simulation of charge collection and single-event upset. Nuclear Science, IEEE Transactions on, 43(2):561–575, 1996. [170] PE Dodd and FW Sexton. Critical charge concepts for cmos srams. Nuclear Science, IEEE Transactions on, 42(6):1764–1771, 1995. [171] PE Dodd, FW Sexton, GL Hash, MR Shaneyfelt, BL Draper, AJ Farino, and RS Flores. Impact of technology trends on seu in cmos srams. Nuclear Science, IEEE Transactions on, 43(6):2797–2804, 1996. [172] PE Dodd, MR Shaneyfelt, E Fuller, JC Pickel, FW Sexton, and PS Winokur. Impact of substrate thickness on single-event effects in integrated circuits. Nuclear Science, IEEE Transactions on, 48(6):1865–1871, 2001. [173] Norbet Seifert, David Moyer, Norman Leland, and Ray Hokinson. Historical trend in alpha-particle induced soft error rates of the alpha tm microprocessor. In Reliability Physics Symposium, 2001. Proceedings. 39th Annual. 2001 IEEE International, pages 259–265. IEEE, 2001. [174] Norbert Seifert, Xiaowei Zhu, D Moyer, R Mueller, R Hokinson, N Leland, M Shade, and L Massengill. Frequency dependence of soft error rates for sub-micron cmos technologies. In Electron Devices Meeting, 2001. IEDM’01. Technical Digest. International, pages 14–4. IEEE, 2001. [175] Matthew J Gadlage, Jonathan R Ahlbin, Vishwanath Ramachandran, Pascale Gouker, Cody A Dinkins, Bharat L Bhuva, Balaji Narasimham, Ronald D Schrimpf, Michael W McCurdy, Michael L Alles, et al. Temperature dependence of digital single-event transients in bulk and fully-depleted soi technologies. Institute of Electrical and Electronics Engineers, 2009. [176] S Jagannathan, Z Diggins, N Mahatme, TD Loveless, BL Bhuva, S-J Wen, R Wong, and LW Massengill. Temperature dependence of soft error rate in flip-flop designs. In Reliability Physics Symposium (IRPS), 2012 IEEE International, pages SE–2. IEEE, 2012. Bibliography 244 [177] Guillaume Hubert, Nadine Buard, C´ecile Weulersse, Thierry Carri`ere, Marie-Catherine Palau, Jean-Marie Palau, Damien Lambert, Jacques Baggio, Frederic Wrobel, Fr´ed´eric Saign´e, et al. A review of dasie code family: Contribution to seu/mbu understanding. In IOLTS, pages 87–94, 2005. [178] Yukiya Kawakami, Masami Hane, Hideyuki Nakamura, Takashi Yamada, and Kouichi Kumagai. Investigation of soft error rate including multi-bit upsets in advanced sram using neutron irradiation test and 3d mixed-mode device simulation. In International Electron Devices Meeting, pages 945–948, 2004. [179] Kenichi Osada, Ken Yamaguchi, Yoshikazu Saitoh, and Takayuki Kawahara. Sram immunity to cosmic-ray-induced multierrors based on analysis of an induced parasitic bipolar effect. Solid-State Circuits, IEEE Journal of, 39 (5):827–833, 2004. [180] Ludger Borucki, Guenter Schindlbeck, and Charles Slayman. Comparison of accelerated dram soft error rates measured at component and system level. In Reliability Physics Symposium, 2008. IRPS 2008. IEEE International, pages 482–487. IEEE, 2008. [181] Charles Slayman. Soft error trends and mitigation techniques in memory devices. In Reliability and Maintainability Symposium (RAMS), 2011 Proceedings-Annual, pages 1–5. IEEE, 2011. [182] S Satoh, Y Tosaka, and SA Wender. Geometric effect of multiple-bit soft errors induced by cosmic ray neutrons on dram’s. Electron Device Letters, IEEE, 21(6):310–312, 2000. [183] Timothy J O’Gorman. The effect of cosmic rays on the soft error rate of a dram at ground level. Electron Devices, IEEE Transactions on, 41(4): 553–557, 1994. [184] Ethan H Cannon, Daniel D Reinhardt, Michael S Gordon, and Paul S Makowenskyj. Sram ser in 90, 130 and 180 nm bulk and soi technologies. In IEEE international reliability physics symposium, pages 300–304, 2004. [185] P Oldiges, K Bernstein, D Heidel, B Klaasen, E Cannon, R Dennard, H Tang, M Ieong, and H-SP Wong. Soft error rate scaling for emerging soi technology options. In VLSI Technology, 2002. Digest of Technical Papers. 2002 Symposium on, pages 46–47. IEEE, 2002. Bibliography 245 [186] Eric Karl, Yih Wang, Yong-Gee Ng, Zheng Guo, Fatih Hamzaoglu, Uddalak Bhattacharya, Kevin Zhang, Kaizad Mistry, and Mark Bohr. A 4.6 ghz 162mb sram design in 22nm tri-gate cmos technology with integrated active v min-enhancing assist circuitry. In Solid-State Circuits Conference Digest of Technical Papers (ISSCC), 2012 IEEE International, pages 230–232. IEEE, 2012. [187] ITRS. International technology roadmap for semiconductors. Online, 2006. http://www.itrs.net/Links/2006Update/FinalToPost/04 PIDS2006Update.pdf. [188] Jon Cartwright. Intel enters the third dimension. nature news, 2011. [189] Matthew Murray. Intel’s new tri-gate ivy bridge transistors: 9 things you need to know. Retrieved March, 13:2012, 2011. [190] Y-P Fang and Anthony S Oates. Neutron-induced charge collection simulation of bulk finfet srams compared with conventional planar srams. Device and Materials Reliability, IEEE Transactions on, 11(4):551–554, 2011. [191] F El-Mamouni, EX Zhang, ND Pate, N Hooten, RD Schrimpf, RA Reed, KF Galloway, D McMorrow, J Warner, E Simoen, et al. Laser-and heavy ion-induced charge collection in bulk finfets. Nuclear Science, IEEE Transactions on, 58(6):2563–2569, 2011. [192] Norbert Seifert, Balkaran Gill, Shah Jahinuzzaman, Joseph Basile, Vinod Ambrose, Quan Shi, Randy Allmon, and Arkady Bramnik. Soft error susceptibilities of 22 nm tri-gate devices. Nuclear Science, IEEE Transactions on, 59(6):2666–2673, 2012. [193] Kinam Kim. Technology for sub-50nm dram and nand flash manufacturing. In Electron Devices Meeting, 2005. IEDM Technical Digest. IEEE International, pages 323–326. IEEE, 2005. [194] Tokyo Electron TEL. Emerging research devices. Special Focus, page 29. [195] Nak Hee Seong, Sungkap Yeo, and Hsien-Hsin S Lee. Tri-level-cell phase change memory: Toward an efficient and reliable memory system. In Proceedings of the 40th Annual International Symposium on Computer Architecture, pages 440–451. ACM, 2013. Bibliography 246 [196] Sungkap Yeo, Nak Hee Seong, and Hsien-Hsin S Lee. Can multi-level cell pcm be reliable and usable? analyzing the impact of resistance drift. In the 10th Ann. Workshop on Duplicating, Deconstructing and Debunking (WDDD), 2012. [197] Doe Hyun Yoon, Naveen Muralimanohar, Jichuan Chang, Parthasarathy Ranganathan, Norman P Jouppi, and Mattan Erez. Free-p: Protecting nonvolatile memory against both hard and soft errors. In High Performance Computer Architecture (HPCA), 2011 IEEE 17th International Symposium on, pages 466–477. IEEE, 2011. [198] Stuart Schechter, Gabriel H Loh, Karin Straus, and Doug Burger. Use ecp, not ecc, for hard failures in resistive memories. In ACM SIGARCH Computer Architecture News, volume 38, pages 141–152. ACM, 2010. [199] N. Wang, A. Mahesri, and S.J. Patel. Examining ace analysis reliability estimates using fault-injection. In Proceedings of International Symposium on Computer Architecture (ISCA), 2007. [200] Shubhendu S Mukherjee, Christopher Weaver, Joel Emer, Steven K Reinhardt, and Todd Austin. A systematic methodology to compute the architectural vulnerability factors for a high-performance microprocessor. In Proceedings of the 36th annual IEEE/ACM International Symposium on Microarchitecture, page 29. IEEE Computer Society, 2003. [201] K. Walcott, G. Humphreysand, and S. Gurumurthi. Dynamic prediction of architectural vulnerability from microarchitectural state. In Proceedings of 34th International Symposium on Computer Architecture (ISCA), 2007. [202] A. Biswas, N. Soundararajan, S. Mukherjee, and S. Gurumurthi. Quantized avf: A means of capturing vulnerability variations over small windows of time. In Proceedings of Workshop on Silicon Errors in Logic -System Effects (SELSE), 2009. [203] A. Biswas, P. Racunas, R. Cheveresan, J. Emer, S.S. Mukherjee, and R. Rangan. Computing architectural vulnerability factors for address-based structures. In Proceedings of the 32nd International Symposium on Computer Architecture (ISCA), 2005. [204] L. Duan, B. Li, and L. Peng. Versatile prediction and fast estimation of architectural vulnerability factor from processor performance metrics. In Bibliography 247 Proceedings of International Symposium on High Performance Computer Architecture (HPCA), 2009. [205] X. Fu, J. Poe, T. Li, and J. Fortes. Characterizing microarchitecture soft error vulnerability phase behavior. In Proceedings of International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS), 2006. [206] Egas Henes Neto, Ivandro Ribeiro, Michele Vieira, Gilson Wirth, and Fernanda Lima Kastensmidt. Using bulk built-in current sensors to detect soft errors. Micro, IEEE, 26(5):10–18, 2006. [207] Patrick Ndai, Amit Agarwal, Qikai Chen, and Kaushik Roy. A soft error monitor using switching current detection. In Computer Design: VLSI in Computers and Processors, 2005. ICCD 2005. Proceedings. 2005 IEEE International Conference on, pages 185–190. IEEE, 2005. [208] Gaurang Upasani, Xavier Vera, and Antonio Gonz´alez. Reducing due-fit of caches by exploiting acoustic wave detectors for error recovery. In IOLTS, pages 85–91, 2013. [209] I Abt. Silicon detectors: Technology and applications. Max Planck Institut for Physics, Munich. [210] Nicolas Wyrsch, S Dunand, C Miazza, A Shah, G Anelli, M Despeisse, A Garrigos, P Jarron, J Kaplon, D Moraes, et al. Thin-film silicon detectors for particle detection. physica status solidi (c), 1(5):1284–1291, 2004. [211] P S. Marrocchesi, O Adriani, C Avanzini, M G. Bagliesi, A Basti, K Batkov, G Bigongiari, L Bonechi, R Cecchi, M Y. Kim, et al. A silicon array for cosmic-ray composition measurements in calet. Journal of the Physical Society of Japan, 78(Suppl. A):181–183, 2009. [212] Howard H Chen, John A Fifield, Louis L Hsu, and Henry HK Tang. Programmable heavy-ion sensing device for accelerated dram soft error detection, 2009. US Patent 7,499,308. [213] B. C. Daly, T. B. Norris, J. Chen, and J. B. Khurgin. Picosecond acoustic phonon pulse propagation in silicon. Phys. Rev. B, 70:214307, Dec 2004. Bibliography 248 [214] M. Hammig. The design and construction of a mechanical radiation detector. In Proceedings of IEEE Nuclear Science Symposium, pages 803–805, Dept. of Nucl. Eng., Michigan Univ., Ann Arbor, MI, 1998. IEEE. [215] M. Hammig. Nuclear radiation detection via the detection of pliable microstructures. In Proceedings of Nuclear Instruments and Methods in Physics Research, pages 278–281, Los Alamitos, CA, USA, 1999. Elsevier Science. [216] Robert W Keyes. Semiconductor surface acoustic wave device, November 1982. US Patent 4,358,745. [217] Larry K. Baxter. Capacitive Sensors: Design and Applications. John Wiley and Sons, 1996. [218] Scott Whitney. Vibrations of cantilever beams: Deflection, frequency, and research uses. Website: Apr, 23:10, 1999. [219] M. William, O. Roger, and M. Daniel. Capacitance bar sensor. United States Patent US4947131, August 1990. [220] Intel Corporation. Intel’s Nehalem data sheet. Intel Corporation‘. [221] Mark D Hammig, David K Wehe, and John A Nees. The measurement of sub-brownian lever deflections. Nuclear Science, IEEE Transactions on, 52 (6):3005–3011, 2005. [222] N Blanc, J Brugger, NF De Rooij, and U Durig. Scanning force microscopy in the dynamic mode using microfabricated capacitive sensors. Journal of Vacuum Science & Technology B: Microelectronics and Nanometer Structures, 14(2):901–905, 1996. [223] Moussa Hoummady, Andrew Campitelli, and Wojtek Wlodarski. Acoustic wave sensors: design, sensing mechanisms and applications. Smart materials and structures, 6(6):647, 1997. [224] Sandia National Laboratories. Microsensors and sensor microsystems. Online, June 2013. http://www.sandia.gov/mstc/MsensorSensorMsystems/technicalinformation/SH-SAW-biosensors.html. Bibliography 249 [225] Roberto Raiteri, Massimo Grattarola, Hans-J¨urgen Butt, and Petr Skl´adal. Micromechanical cantilever-based biosensors. Sensors and Actuators B: Chemical, 79(2):115–126, 2001. [226] Philip A. Bernstein. Sequoia: A fault-tolerant tightly coupled multiprocessor for transaction processing. Computer, 21(2):37–45, 1988. [227] Radu Teodorescu, Jun Nakano, and Josep Torrellas. Swich: A prototype for efficient cache-level checkpointing and rollback. IEEE Micro, 26(5):28–40, 2006. [228] Douglas B Hunt and Peter N Marinos. A general purpose cache-aided rollback error recovery (carer) technique. In Proceedings of the 17th International Symposium on Fault-Tolerant Computing Systems, pages 170–175, 1987. [229] Hisashige Ando, Yuuji Yoshida, Aiichiro Inoue, Itsumi Sugiyama, Takeo Asakawa, Kuniki Morita, Toshiyuki Muta, Tsuyoshi Motokurumada, Seishi Okada, Hideo Yamashita, et al. A 1.3-ghz fifth-generation sparc64 microprocessor. Solid-State Circuits, IEEE Journal of, 38(11):1896–1905, 2003. [230] Shuguang Feng, Shantanu Gupta, Amin Ansari, Scott A Mahlke, and David I August. Encore: low-cost, fine-grained transient fault recovery. In Proceedings of the 44th Annual IEEE/ACM International Symposium on Microarchitecture, pages 398–409. ACM, 2011. [231] N.J. Wang and S.J. Patel. Restore: Symptom based soft error detection in microprocessors. In Proceedings of International Conference on Dependable Systems and Networks (DSN), 2005. [232] Harish Naik, Rinku Gupta, and Pete Beckman. Analyzing checkpointing trends for applications on the ibm blue gene/p system. In Parallel Processing Workshops, 2009. ICPPW’09. International Conference on, pages 81–88. IEEE, 2009. [233] Jason Duell. The design and implementation of berkeley lab’s linux checkpoint/restart. Lawrence Berkeley National Laboratory, 2005. Bibliography 250 [234] Rana E Ahmed, Robert C Frazier, and Peter N Marinos. Cache-aided rollback error recovery (carer) algorithm for shared-memory multiprocessor systems. In Digest of Papers., 20th International Symposium Fault-Tolerant Computing, 1990. FTCS-20., pages 82–88. IEEE, 1990. [235] Xiangyu Dong, Yuan Xie, Naveen Muralimanohar, and Norman P Jouppi. A case study of incremental and background hybrid in-memory checkpointing. In Proc. of the 2010 Exascale Evaluation and Research Techniques Workshop, volume 115, pages 119–147, 2010. [236] G. Shen, R. Zetik, and R.S. Thoma. Performance comparison of toa and tdoa based location estimation algorithms in los environment. Proceedings of Workshop on Positioning, Navigation and Communication(WPNC), pages 71–78, 2008. ISSN 1001-3454. [237] W. Foy. Position-Location Solutions by Taylor-Series Estimation. IEEE Transactions on Aerospace Electronic Systems, 12:187–194, March 1976. [238] B. T. Fang. Simple solutions for hyperbolic and related position fixes. IEEE Transactions on Aerospace Electronic Systems, 26:748–753, September 1990. [239] YT Chan and KC Ho. A simple and efficient estimator for hyperbolic location. Signal Processing, IEEE Transactions on, 42(8):1905–1915, 1994. [240] KC Ho. Bias reduction for an explicit solution of source localization using tdoa. Signal Processing, IEEE Transactions on, 60(5):2101–2114, 2012. [241] Christopher C. Paige and Michael A. Saunders. Lsqr: An algorithm for sparse linear equations and sparse least squares. ACM Trans. Math. Softw., 8:43–71, March 1982. ISSN 0098-3500. [242] C. McMillan and P. McMillan. Characterizing rifle performance using circular error probable measured via a flatbed scanner. Creative Commons Attribution-Noncommercial-No Derivative Works, December 2008. [243] L. Li, V. Degalahal, N. Vijaykrishnan, M. Kandemir, and M.J. Irwin. Soft error and energy consumption interactions: a data cache perspective. In Proceedings of the International Symposium on Low Power Electronics and Design (ISLPED), 2004. Bibliography 257 [300] C. Webb. z6 - The Next-generation Mainframe Microprocessor. Hot Chips. [301] Ravi Nair and James E Smith. Method and apparatus for fault-tolerance via dual thread crosschecking, March 21 2006. US Patent 7,017,073. [302] Thomas D Bissett, Paul A Leveille, Erik Muench, and Glenn A Tremblay. Loosely-coupled, synchronized execution, April 20 1999. US Patent 5,896,523. [303] D.M. Tullsen, S.J. Eggers, J.S. Emer, H.M. Levy, J.L. Lo, and R.L. Stamm. Exploiting choice: instruction fetch and issue on an implementable simultaneous multithreading processor. In Proceedings of the 23rd International Symposium on Computer Architecture (ISCA), pages 191–202, New York, NY, USA, 1996. ACM Press. [304] Darrell Boggs, Aravindh Baktha, Jason Hawkins, Deborah T Marr, J Alan Miller, Patrice Roussel, Ronak Singhal, Bret Toll, and KS Venkatraman. The microarchitecture of the intel pentium 4 processor on 90nm technology. Intel Technology Journal, 8(1), 2004. [305] Jared C Smolens, Brian T Gold, Jangwoo Kim, Babak Falsafi, James C Hoe, and Andreas G Nowatzyk. Fingerprinting: bounding soft-error detection latency and bandwidth. In ACM SIGPLAN Notices, volume 39, pages 224– 234. ACM, 2004. [306] Javier Carretero, Xavier Vera, Jaume Abella, Tanausu Ramirez, Matteo Monchiero, and Antonio Gonzalez. Hardware/software-based diagnosis of load-store queues using expandable activity logs. In High Performance Computer Architecture (HPCA), 2011 IEEE 17th International Symposium on, pages 321–331. IEEE, 2011. [307] Vimal K Reddy, Eric Rotenberg, and Sailashri Parthasarathy. Understanding prediction-based partial redundant threading for low-overhead, highcoverage fault tolerance. In ACM SIGARCH Computer Architecture News, volume 34, pages 83–94. ACM, 2006. [308] James E. Smith and Andrew R. Pleszkun. Implementing precise interrupts in pipelined processors. Computers, IEEE Transactions on, 37(5):562–573, 1988. Bibliography 258 [309] ARM. ARM11 Technical Reference Manual. ARM, . http: //infocenter.arm.com/help/topic/com.arm.doc.ddi0360e/ DDI0360E_arm11_mpcore_r1p0_trm.pdf. [310] Doug Burger and Todd M Austin. The simplescalar tool set, version 2.0. ACM SIGARCH Computer Architecture News, 25(3):13–25, 1997. [311] Matthew R Guthaus, Jeffrey S Ringenberg, Dan Ernst, Todd M Austin, Trevor Mudge, and Richard B Brown. Mibench: A free, commercially representative embedded benchmark suite. In Workload Characterization, 2001. WWC-4. 2001 IEEE International Workshop on, pages 3–14. IEEE, 2001. [312] S Dion Rodgers and Lawrence O Smith. Method and apparatus for processing events in a multithreaded processor, February 15 2005. US Patent 6,857,064. [313] ARM. ARM Cortex A5 Technical Reference Manual. ARM, . http://infocenter.arm.com/help/topic/com.arm.doc. ddi0433b/DDI0433B_cortex_a5_r0p1_trm.pdf. [314] Seongwoo Kim and Arun K Somani. Soft error sensitivity characterization for microprocessor dependability enhancement strategy. In Dependable Systems and Networks, 2002. DSN 2002. Proceedings. International Conference on, pages 416–425. IEEE, 2002. [315] Giacinto Paolo Saggese, Anoop Vetteth, Zbigniew Kalbarczyk, and Ravishankar Iyer. Microprocessor sensitivity to failures: control vs. execution and combinational vs. sequential logic. In Dependable Systems and Networks, 2005. DSN 2005. Proceedings. International Conference on, pages 760–769. IEEE, 2005. [316] Daya Shanker Khudia, Griffin Wright, and Scott Mahlke. Efficient soft error protection for commodity embedded microprocessors using profile information. In ACM SIGPLAN Notices, volume 47, pages 99–108. ACM, 2012. [317] Tuo Li, Roshan Ragel, and Sri Parameswaran. Reli: Hardware/software checkpoint and recovery scheme for embedded processors. In Design, Automation & Test in Europe Conference & Exhibition (DATE), 2012, pages 875–880. IEEE, 2012. Bibliography 259 [318] E.S. Fetzer, D. Dahle, C. Little, and K. Safford. The parity protected, multithreaded register files on the 90-nm Itanium microprocessors. IEEE Journal of Solid-State Circuits, 41(1), January 2006. [319] Ruchir Puri, Tanay Karnik, and Rajiv Joshi. Technology impacts on sub- 90nm cmos circuit design & design methodologies. In VLSI Design, 2006. Held jointly with 5th International Conference on Embedded Systems and Design., 19th International Conference on, pages 3–pp. IEEE, 2006. [320] Kartik Mohanram and Nur A Touba. Cost-effective approach for reducing soft error failure rate in logic circuits. In 2013 IEEE International Test Conference (ITC), pages 893–893. IEEE Computer Society, 2003. [321] Chuanjun Zhang, Frank Vahid, and Walid Najjar. A highly configurable cache architecture for embedded systems. In Computer Architecture, 2003. Proceedings. 30th Annual International Symposium on, pages 136–146. IEEE, 2003. [322] Subhasish Mitra, Ming Zhang, Norbert Seifert, TM Mak, and Kee Sup Kim. Built-in soft error resilience for robust system design. In Integrated Circuit Design and Technology, 2007. ICICDT’07. IEEE International Conference on, pages 1–6. IEEE, 2007. [323] Shidhartha Das, Carlos Tokunaga, Sanjay Pant, Wei-Hsiang Ma, Sudherssen Kalaiselvan, Kevin Lai, David M Bull, and David T Blaauw. Razorii: In situ error detection and correction for pvt and ser tolerance. Solid-State Circuits, IEEE Journal of, 44(1):32–48, 2009. [324] Aamer Mahmood and Edward J McCluskey. Concurrent error detection using watchdog processors-a survey. Computers, IEEE Transactions on, 37 (2):160–174, 1988. [325] Seongwoo Kim and Arun K Somani. On-line integrity monitoring of microprocessor control logic. Microelectronics journal, 32(12):999–1007, 2001. [326] Vimal Reddy and Eric Rotenberg. Coverage of a microarchitecture-level fault check regimen in a superscalar processor. In Dependable Systems and Networks With FTCS and DCC, 2008. DSN 2008. IEEE International Conference on, pages 1–10. IEEE, 2008. Bibliography 260 [327] X Delord and Gabriele Saucier. Formalizing signature analysis for control flow checking of pipelined risc microprocessors. In Test Conference, 1991, Proceedings., International, page 936. IEEE, 1991. [328] Nirmal R Saxena and Edward J McCluskey. Control-flow checking using watchdog assists and extended-precision checksums. Computers, IEEE Transactions on, 39(4):554–559, 1990. [329] Michael A. Schuette and John Paul Shen. Processor control flow monitoring using signatured instruction streams. Computers, IEEE Transactions on, 100(3):264–276, 1987. [330] Nancy J Warter and W-MW Hwu. A software based approach to achieving optimal performance for signature control flow checking. In Fault-Tolerant Computing, 1990. FTCS-20. Digest of Papers., 20th International Symposium, pages 442–449. IEEE, 1990. [331] Kent Wilken and John Paul Shen. Continuous signature monitoring: lowcost concurrent detection of processor control errors. Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on, 9(6):629–641, 1990. [332] Albert Meixner and Daniel J Sorin. Error detection using dynamic dataflow verification. In Parallel Architecture and Compilation Techniques, 2007. PACT 2007. 16th International Conference on, pages 104–118. IEEE, 2007. [333] V.K. Reddy, A.S. Al-Zawawi, and E. Rotenberg. Assertion-based microarchitecture design for improved fault tolerance. In Proceedings of International Conference on Computer Design (ICCD), pages 362–369, 2007. [334] Nithin Nakka, Zbigniew Kalbarczyk, Ravishankar K Iyer, and Jun Xu. An architectural framework for providing reliability and security support. In Dependable Systems and Networks, 2004 International Conference on, pages 585–594. IEEE, 2004. [335] Karthik Pattabiraman, Giacinto Paolo Saggese, Daniel Chen, Zbigniew Kalbarczyk, and Ravishankar K Iyer. Dynamic derivation of applicationspecific error detectors and their implementation in hardware. In Dependable Computing Conference, 2006. EDCC’06. Sixth European, pages 97–108. IEEE, 2006. Bibliography 261 [336] Sam Gat-Shang Chu, Daniel R Knebel, and Stephen V Kosonocky. Register file cell with soft error detection and circuits and methods using the cell, July 14 2009. US Patent 7,562,273. [337] Pablo Montesinos, Wei Liu, and Josep Torrellas. Using register lifetime predictions to protect register files against soft errors. In Dependable Systems and Networks, 2007. DSN’07. 37th Annual IEEE/IFIP International Conference on, pages 286–296. IEEE, 2007. [338] Pablo Montesinos, Wei Liu, and Josep Torrellas. Shield: Cost-effective softerror protection for register files. In Third IBM TJ Watson Conference on Interaction between Architecture, Circuits and Compilers (PAC206), 2006. [339] Sorin Iacobovici. Residue-based error detection for a shift operation, June 2 2009. US Patent 7,543,007. [340] J-C Lo. Reliable floating-point arithmetic algorithms for error-coded operands. Computers, IEEE Transactions on, 43(4):400–412, 1994. [341] C Webb. z6-the next-generation mainframe micropro cessor. In Hot Chips, pages 19–21, 2007. [342] Michael Nicolaidis. Carry checking/parity prediction adders and alus. Very Large Scale Integration (VLSI) Systems, IEEE Transactions on, 11(1):121– 128, 2003. [343] Michael Nicolaidis. Efficient implementations of self-checking adders and alus. In Fault-Tolerant Computing, 1993. FTCS-23. Digest of Papers., The Twenty-Third International Symposium on, pages 586–595. IEEE, 1993. [344] I Alzaher Noufal and Michael Nicolaidis. A cad framework for generating selfchecking multipliers based on residue codes. In Proceedings of the conference on Design, automation and test in Europe, page 29. ACM, 1999. [345] Michael Nicolaidis and Ricardo O Duarte. Fault-secure parity prediction booth multipliers. IEEE design & test of computers, 16(3):90–101, 1999. [346] Michael Nicolaidis, Ricardo O Duarte, Salvador Manich, and Joan Figueras. Fault-secure parity prediction arithmetic operators. IEEE Design & Test of computers, 14(2):60–71, 1997. Bibliography 262 [347] C. Weaver, J. Emer, S.S. Mukherjee, and S.K. Reinhardt. Techniques to reduce the soft error rate of a high-performance microprocessor. In Proceedings of the 31st International Symposium on Computer Architecture (ISCA), Washington, DC, USA, 2004. IEEE Computer Society. [348] Javier Carretero, Pedro Chaparro, Xavier Vera, Jaume Abella, and Antonio Gonz´alez. End-to-end register data-flow continuous self-test. In ACM SIGARCH Computer Architecture News, volume 37, pages 105–115. ACM, 2009. [349] Smitha Shyam, Kypros Constantinides, Sujay Phadke, Valeria Bertacco, and Todd Austin. Ultra low-cost defect protection for microprocessor pipelines. In ACM Sigplan Notices, volume 41, pages 73–82. ACM, 2006. [350] W.Bartlett A.Wood, R.Jardine. Data integrity in hp nonstop servers. In In the Proceedings of the IEEE workshop on Silicon Errors in Logic and System Effects (SELSE), Los Alamitos, CA, USA, 2006. [351] Jared C Smolens, Brian T Gold, Babak Falsafi, and James C Hoe. Reunion: Complexity-effective multicore redundancy. In Proceedings of the 39th Annual IEEE/ACM International Symposium on Microarchitecture, pages 223– 234. IEEE Computer Society, 2006. [352] Janak H. Patel and Leona Y. Fung. Concurrent error detection in alu’s by recomputing with shifted operands. Computers, IEEE Transactions on, 100 (7):589–595, 1982. [353] John Von Neumann. Probabilistic logics and the synthesis of reliable organisms from unreliable components. Automata studies, 34:43–98, 1956. [354] Antonin Svoboda. From mechanical linkages to electronic computers: Recollections from czechoslovakia. Metropolis, N., J. Howlett, and Gian-Carlo Rota, A History of Computing in the Twentieth Century, Academic Press, New York, pages 579–586, 1980. [355] YC Yeh. Triple-triple redundant 777 primary flight computer. In Aerospace Applications Conference, 1996. Proceedings., 1996 IEEE, volume 1, pages 293–307. IEEE, 1996. [356] Brian T Gold, Jared C Smolens, Babak Falsafi, and James C Hoe. The granularity of soft-error containment in shared memory multiprocessors. Bibliography 263 In Proceedings of The Workshop on Silicon Errors in Logic-System Effects (SELSE), 2006. [357] Michael J Mack, WM Sauer, Scott B Swaney, and Bruce G Mealey. Ibm power6 reliability. IBM Journal of Research and Development, 51(6):763– 774, 2007. [358] Joel S Emer, Shubhendu S Mukherjee, and Steven K Reinhardt. Incremental checkpointing in a multi-threaded architecture, July 10 2007. US Patent 7,243,262. [359] Haitham Akkary, Ravi Rajwar, and Srikanth T Srinivasan. Checkpoint processing and recovery: Towards scalable large instruction window processors. In Microarchitecture, 2003. MICRO-36. Proceedings. 36th Annual IEEE/ACM International Symposium on, pages 423–434. IEEE, 2003. [360] Chris Gniady and Babak Falsafi. Speculative sequential consistency with little custom storage. In Parallel Architectures and Compilation Techniques, 2002. Proceedings. 2002 International Conference on, pages 179–188. IEEE, 2002. [361] Avinash C Palaniswamy and Philip A Wilsey. An analytical comparison of periodic checkpointing and incremental state saving. In ACM SIGSIM Simulation Digest, volume 23, pages 127–134. ACM, 1993. [362] Yoshio Masubuchi, Satoshi Hoshina, Tomofumi Shimada, B Hirayama, and Nobuhiro Kato. Fault recovery mechanism for multiprocessor servers. In Fault-Tolerant Computing, 1997. FTCS-27. Digest of Papers., Twenty- Seventh Annual International Symposium on, pages 184–193. IEEE, 1997. [363] Douglas C Bossen, Alongkorn Kitamorn, Kevin F Reick, and Michael S Floyd. Fault-tolerant design of the ibm pseries 690 system using power4 processor technology. IBM Journal of Research and Development, 46(1): 77–86, 2002. [364] Steven K Reinhardt and Shubhendu S Mukherjee. Transient fault detection via simultaneous multithreading, volume 28. ACM, 2000. [365] G.A. Reis, J. Chang, N. Vachharajani, R. Rangan, D.I. August, and S.S. Mukherjee. Design and evaluation of hybrid fault-detection systems. In Bibliography 264 Proceedings of the 32nd International Symposium on Computer Architecture (ISCA), 2005. [366] D.P. Siewiorek and R.S. Swarz. Reliable Computer Systems: Design and Evaluation. A. K. Peters, Ltd., Natick, MA, USA, 1998. ISBN 1-56881-092- X. [367] George A Reis, Jonathan Chang, and David I August. Automatic instruction-level software-only recovery. IEEE micro, 27(1):36–47, 2007.