how to deal with radiation
play

How to Deal with Radiation: Evaluation and Mitigation of GPUs - PowerPoint PPT Presentation

April 6 th 2015 San Jos, CA How to Deal with Radiation: Evaluation and Mitigation of GPUs Soft-Errors Paolo Rech Motivation: Automotive Applications Pedestrian Detection System: embedded GPUs increase cars security Paolo Rech


  1. April 6 th 2015 – San José, CA How to Deal with Radiation: Evaluation and Mitigation of GPUs Soft-Errors Paolo Rech

  2. Motivation: Automotive Applications Pedestrian Detection System: embedded GPUs increase cars security Paolo Rech – GTC2016, San José, CA 2

  3. Motivation: Automotive Applications Pedestrian Detection System: embedded GPUs increase cars security Observed error Paolo Rech – GTC2016, San José, CA 2

  4. Motivation: Automotive Applications Pedestrian Detection System: embedded GPUs increase cars security The insurance does not cover those accidents caused by: Observed error […] exposure to ionizing radiation* *Paolo ’ s car insurance Paolo Rech – GTC2016, San José, CA 2

  5. Motivation: HPC Industry Titan (Oak Ridge National Lab): 18,688 GPUs High probability of having a GPU corrupted Titan MTBF is ~44h* *(field data from Tiwari et al. HPCA ’ 15) Paolo Rech – GTC2016, San José, CA 3

  6. Motivation: HPC Industry Titan (Oak Ridge National Lab): 18,688 GPUs High probability of having a GPU corrupted Titan MTBF is ~44h* *(field data from Tiwari et al. HPCA ’ 15) Only Crashes/Hangs considered (correct output is unknown) We perform radiation experiments to measure Silent Data Corruption (SDC) rates Paolo Rech – GTC2016, San José, CA 3

  7. Outline  Radiation Effects Essentials  Evaluation of GPU Radiation Sensitivity - Experimental Setup - Parallel Algorithms Error Rates  Hardening Solution Efficiency  Codes Optimizations Effects on HPC Reliability  What ’ s the Plan? Paolo Rech – GTC2016, San José, CA 4

  8. Outline  Radiation Effects Essentials  Evaluation of GPU Radiation Sensitivity - Experimental Setup - Parallel Algorithms Error Rates  Hardening Solution Efficiency  Codes Optimizations Effects on HPC Reliability  What ’ s the Plan? Paolo Rech – GTC2016, San José, CA

  9. Terrestrial Radiation Environment Galactic cosmic rays interact with atmosphere shower of energetic particles: Muons, Pions, Protons, Gamma rays, Neutrons 13 n/(cm 2  h) @sea level Paolo Rech – GTC2016, San José, CA 5

  10. Terrestrial Radiation Environment Galactic cosmic rays interact with atmosphere shower of energetic particles: Muons, Pions, Protons, Gamma rays, Neutrons 13 n/(cm 2  h) @sea level neutron flux increases exponentially with altitude Paolo Rech – GTC2016, San José, CA 5

  11. Radiation Effects - Soft Errors Soft Errors: the device is not permanently damaged, but the particle may generate: • One or more bit-flips 0 1 Single Event Upset (SEU) Multiple Bit Upset (MBU) Paolo Rech – GTC2016, San José, CA 6

  12. Radiation Effects - Soft Errors Soft Errors: the device is not permanently damaged, but the particle may generate: IONIZING PARTICLE • One or more bit-flips 0 1 Single Event Upset (SEU) Multiple Bit Upset (MBU) 1 0 Paolo Rech – GTC2016, San José, CA 6

  13. Radiation Effects - Soft Errors Soft Errors: the device is not permanently damaged, but the particle may generate: IONIZING PARTICLE • One or more bit-flips 0 1 Single Event Upset (SEU) Multiple Bit Upset (MBU) 1 0 IONIZING PARTICLE • Transient voltage pulse FF Logic Single Event Transient (SET) Paolo Rech – GTC2016, San José, CA 6

  14. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM Dispatch Unit Dispatch Unit SM SM SM SM Register File core core core core SM SM SM SM … L2 Cache core core core core Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  15. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM Dispatch Unit Dispatch Unit X SM SM SM SM Register File X core core core core SM SM SM SM … L2 Cache core core core core Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  16. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM Dispatch Unit Dispatch Unit X SM SM SM SM Register File X core core core core core SM SM SM SM … L2 Cache core core core core Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  17. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM X Dispatch Unit Dispatch Unit X SM SM SM SM Register File X core core core core core SM SM SM SM … L2 Cache core core core core X Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  18. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM X Dispatch Unit Dispatch Unit X SM SM SM SM Register File X core core core core core core core SM SM SM SM core … L2 Cache core core core core core core core core X Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  19. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache X Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM X Dispatch Unit Dispatch Unit X SM SM SM SM Register File X core core core core core core core SM SM SM SM core … X L2 Cache core core core core core core core core X Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  20. Radiation Effects on GPUs Streaming Multiprocessor CUDA GPU Instruction Cache X Blocks Scheduler and Dispatcher Warp Scheduler Warp Scheduler SM SM SM SM SM SM SM SM X Dispatch Unit Dispatch Unit X SM SM SM SM SM SM SM SM Register File X core core core core core core core SM SM SM SM SM SM SM SM core … X L2 Cache core core core core core core core core X Shared Memory / L1 Cache DRAM Paolo Rech – GTC2016, San José, CA 7

  21. Silent Data Corruption vs Crash&Hang Errors in: - data cache - register files Silent Data Corruption - logic gates (ALU) - scheduler Paolo Rech – GTC2016, San José, CA 8

  22. Silent Data Corruption vs Crash&Hang Errors in: - data cache - register files Silent Data Corruption - logic gates (ALU) - scheduler Errors in: - instruction cache Crash & Hang - scheduler / dispatcher - PCI-e bus controller Paolo Rech – GTC2016, San José, CA 8

  23. Outline  Radiation Effects Essentials  Evaluation of GPU Radiation Sensitivity - Experimental Setup - Parallel Algorithms Error Rates  Hardening Solution Efficiency  Codes Optimizations Effects on HPC Reliability  What ’ s the Plan? Paolo Rech – GTC2016, San José, CA

  24. Radiation Test Facilities Weapon Nuclear Research Paolo Rech – GTC2016, San José, CA 9

  25. Neutrons Spectrum @LANSCE 1.8x10 9 n/(cm 2 h) @NYC 13 n/(cm 2 h) errors/s cross section [cm 2 ] = flux (n/cm 2 /s) cross section x flux (13 n/(cm 2  h)) = Error Rate Paolo Rech – GTC2016, San José, CA 10

  26. Neutrons Spectrum @LANSCE 1.8x10 9 n/(cm 2 h) @NYC 13 n/(cm 2 h) probability for 1 neutron to generate an output error errors/s cross section [cm 2 ] = flux (n/cm 2 /s) cross section x flux (13 n/(cm 2  h)) = Error Rate Paolo Rech – GTC2016, San José, CA 10

  27. GPU Radiation Test Setup SoC microcontrollers SoC FPGA GPU FPGA Flash APU Paolo Rech – GTC2016, San José, CA 11

  28. GPU Radiation Test Setup Intel AMD NVIDIA Xeon-Phi APU K20 GPU power control circuitry is out of beam desktop PCs Paolo Rech – GTC2016, San José, CA 23/48

  29. Outline  Radiation Effects Essentials  Evaluation of GPU Radiation Sensitivity - Experimental Setup Parallel Algorithms Error Rates -  Hardening Solution Efficiency  Codes Optimizations Effects on HPC Reliability  What ’ s the Plan? Paolo Rech – GTC2016, San José, CA

  30. Tested Parallel Codes -Matrix Multiplication (linear algebra) -Matrix Transpose (memory) -FFT (signal processing) -Needleman – Wunsch (biology) -lavaMD (physical simulations) -Hotspot (physical simulations) -HOG (pedestrian detection) The selected algorithms are heterogeneous and representative Paolo Rech – GTC2016, San José, CA 13

  31. Experimental Results (ECC OFF) SDC rate varies ~3 orders of magnitude (details on Oliveira et al. Trans. Comp. 2015) execution dominated by memory latencies 10000 Failure In Time @NYC Crashes 1000 SDC 100 10 1 NW lavaMD Hotspot MxM MTrans FFT Paolo Rech – GTC2016, San José, CA 14

  32. Experimental Results (ECC OFF) SDC rate varies ~3 orders of magnitude (details on Oliveira et al. Trans. Comp. 2015) execution dominated by codes that heavily memory latencies employ registers 10000 Failure In Time @NYC Crashes 1000 SDC 100 10 1 NW lavaMD Hotspot MxM MTrans FFT Paolo Rech – GTC2016, San José, CA 14

  33. Experimental Results (ECC OFF) SDC rate varies ~3 orders of magnitude (details on Oliveira et al. Trans. Comp. 2015) higher codes that heavily Matrix Multiplication: 6.46  10 2 FIT #instructions employ registers 1 error every 15 years 10000 Failure In Time @NYC Titan: 18,688 errors every 15 years Crashes (1 error every 7.3h) 1000 SDC 100 10 1 NW lavaMD Hotspot MxM MTrans FFT Paolo Rech – GTC2016, San José, CA 14

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend