modular redundancy in hpc systems: why, where, when and …

24
HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008 Modular Redundancy in HPC Systems: Why, Where, When and How? Christian Engelmann Computer Science and Mathematics Division Oak Ridge National Laboratory

Upload: others

Post on 14-Nov-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modular Redundancy in HPC Systems: Why, Where, When and …

HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Modular Redundancy in HPC Systems: Why, Where, When and How?

Christian Engelmann

Computer Science and Mathematics DivisionOak Ridge National Laboratory

Page 2: Modular Redundancy in HPC Systems: Why, Where, When and …

2/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Outline

• Background and motivation− Trends in HPC system reliability and resilience− Resulting motivation for modular redundancy in HPC

• Technical approach− Traditional modular redundancy− Hurdles for modular redundancy in HPC− Extending symmetric active/active replication

• Conclusions

Page 3: Modular Redundancy in HPC Systems: Why, Where, When and …

3/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Trends in HPC System Reliability

• HPC systems continue to increase in size− Error rate increases due to higher component count

• HPC systems may increasingly contain accelerators − Soft error rate increases due to higher vulnerability

• Nanometer technology continues to decrease− Soft error rate increases further due to higher vulnerability

• HPC vendors continue to use mass-market components− Mass-market demands define HPC system reliability

Future HPC systems won’t be as reliable as today’s

Soft errors are a major concern for HPC resilience

Page 4: Modular Redundancy in HPC Systems: Why, Where, When and …

4/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Trends in HPC System Resilience

• Checkpoint/restart has limits− Efficiency decreases with higher error rate− Efficiency decreases further with larger aggregated memory− Incremental/compression approaches help in the short term− Preemptive migration helps further in the long term

• Preemptive migration has also limits− Error rate increases with lower prediction accuracy− Errors without precursor or pattern can’t be predicted

• Can anyone predict a non-recoverable ECC memory error?

Future HPC systems won’t be as resilient as today’s

Resiliency strategy for high soft error rates is missing

Page 5: Modular Redundancy in HPC Systems: Why, Where, When and …

5/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Motivation for Modular Redundancy in HPC

• Redundancy on compute nodes is not entirely new− Diskless checkpointing (Plank et al.)− Algorithmic redundancy approaches (Dongarra et al.)

• Until now, the HPC community (researchers and vendors) stayed away from modular redundancy− “Big hammer” approach with fully redundant compute nodes

With increasing hard and (especially) soft error rates, compute-node redundancy needs to be considered as an alternative to checkpointing and preemptive migration

Respective research and development in modular redundancy for HPC environments is needed

Page 6: Modular Redundancy in HPC Systems: Why, Where, When and …

6/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Outline

• Background and motivation− Trends in HPC system reliability and resilience− Resulting motivation for modular redundancy in HPC

• Technical approach− Traditional modular redundancy− Hurdles for modular redundancy in HPC− Extending symmetric active/active replication

• Conclusions

Page 7: Modular Redundancy in HPC Systems: Why, Where, When and …

7/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Traditional Modular Redundancy

• Dual-modular redundancy (DMR) offers protection against hard errors and some soft errors

• Triple-modular redundancy (TMR) offers protection against hard and soft errors

• Both have been used in many mission critical systems

• 2x or 3x requirement in hardware investment

• Additional replication hard- and/or software needed

Traditional DMR and TMR offer resiliency at 2x or 3x costs

They provide a resiliency strategy for high soft error rates

Page 8: Modular Redundancy in HPC Systems: Why, Where, When and …

8/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Hurdles for Modular Redundancy in HPC

• The primary issue for DMR and TMR in HPC is costs− 2x or 3x the number of computational resources required

• Another problem is the appearance of wasted resources− Using only 50% or 33% of provided computational capability− While this may be really only the inverse of the prior point,

resiliency requirements are use-case dependent• Not every job runs longer than its MTTF

• Increased power consumption is an issue as well

DMR and TMR in HPC make only sense at lower costs

Flexible solution needed for individual job requirements

Page 9: Modular Redundancy in HPC Systems: Why, Where, When and …

9/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Reducing Modular Redundancy Costs

• Modular redundancy can be done at less than 2x/3x costs

• DMR and TMR drastically increase reliability by x2 and x3

− Next slide will explain this in more detail

• Less reliable components (processor and memory) can offset costs and even improve performance− Server/embedded vs. desktop/gaming/mobile processors− ECC vs. non-ECC memory (4GB 800MHz DDR2: $300 vs. $50)

Page 10: Modular Redundancy in HPC Systems: Why, Where, When and …

10/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

1.E+001.E+041.E+081.E+121.E+161.E+201.E+241.E+281.E+321.E+361.E+401.E+441.E+481.E+521.E+561.E+60

1.E+0

01.E

+01

1.E+0

21.E

+03

1.E+0

41.E

+05

1.E+0

61.E

+07

1.E+0

81.E

+09

1.E+1

01.E

+11

1.E+1

21.E

+13

1.E+1

41.E

+15

1.E+1

61.E

+17

1.E+1

81.E

+19

Component δ=MTTF/MTTR

Sys

tem

Δ=M

TTF/

MTT

R

Simplex Duplex Triplex

Δ=δ

ΔDMR=δ2+2δ

ΔTMR=δ3+3δ2+3δ

System MTTF Impact of Varying Component MTTF/MTTR in Modular Redundancy Systems

10x

1011x

10x

107x

Page 11: Modular Redundancy in HPC Systems: Why, Where, When and …

11/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Providing Flexible Modular Redundancy

• On-demand capability− No redundancy, DMR or TMR based on job requirements− No modular redundancy for short running jobs (< AMTTF)− Application-supported DMR for long running jobs− Fully-transparent TMR for long running jobs

• Different modular redundancy granularity across− Cores within a processor− Processors or cores within a node− Processors, cores, or nodes within the system

• Fast recovery through replica cloning

System software solution is needed to provide flexibility

Page 12: Modular Redundancy in HPC Systems: Why, Where, When and …

12/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Proposed Technical Approach

• From a distributed computing perspective− Each (MPI) process is a networked service− All (MPI) processes (services) depend on each other

Modular redundancy at the (MPI) process level is needed

• From a parallel computing perspective− Communication and computation performance is crucial

High-performance (MPI) process-level replication is needed

Our recently developed symmetric active/active service replication offers high-performance process replication

Symmetric active/active replication with DMR and TMR features can provide flexible modular redundancy for HPC

Page 13: Modular Redundancy in HPC Systems: Why, Where, When and …

13/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

From Symmetric Active/Active Service Replication To Modular Redundancy in HPC

• Symmetric active/active replication for service processes− Virtual synchrony (state-machine replication) model− Replication of input messages & unification of output messages

• Extending symmetric active/active replication to modular redundancy− Comparison of output messages to detect/correct soft errors− Fast error recovery through replica cloning

Page 14: Modular Redundancy in HPC Systems: Why, Where, When and …

14/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Modular Redundancy using Symmetric Active/Active Replication

InputReplication

VirtuallySynchronousProcessing

OutputComparison

Page 15: Modular Redundancy in HPC Systems: Why, Where, When and …

15/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Comparison of Replication Methods

Page 16: Modular Redundancy in HPC Systems: Why, Where, When and …

16/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Symmetric Active/Active Replication Example: PVFS Metadata Service (Design)

Page 17: Modular Redundancy in HPC Systems: Why, Where, When and …

17/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Symmetric Active/Active Replication Example: PVFS Metadata Service (Results)

Page 18: Modular Redundancy in HPC Systems: Why, Where, When and …

18/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Transparent Symmetric Active/Active Replication for Client/Service Scenarios

Page 19: Modular Redundancy in HPC Systems: Why, Where, When and …

19/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Symmetric Active/Active Replication Abstraction for Client/Service Scenarios

Replicated Service

Independent Clients

Page 20: Modular Redundancy in HPC Systems: Why, Where, When and …

20/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Symmetric Active/Active Replication Abstraction for Service/Service Scenarios

Replicated Service 1

Replicated Service 2

Two Replicated Interdependent Services =Two Replicated Compute Nodes

Page 21: Modular Redundancy in HPC Systems: Why, Where, When and …

21/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Future Work (Pending Funding)

• Development of high-performance DMR/TMR algorithms

• Implementation of DMR/TMR proof-of-concept prototypes

• Implementation of an analysis and testing framework

• Failure injection analysis and testing of prototypes

• Model the reliability of DMR/TMR prototypes

• Investigate asymmetric replica oversubscription− DMR: 66% compute nodes with one replica, 33% with two− TMR: 50% compute nodes with one replica, 50% with two− Regular replica updates to avoid falling behind too much

Page 22: Modular Redundancy in HPC Systems: Why, Where, When and …

22/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Outline

• Background and motivation− Trends in HPC system reliability and resilience− Resulting motivation for modular redundancy in HPC

• Technical approach− Traditional modular redundancy− Hurdles for modular redundancy in HPC− Extending symmetric active/active replication

• Conclusions

Page 23: Modular Redundancy in HPC Systems: Why, Where, When and …

23/20HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Conclusions

• HPC resiliency is an ongoing research effort

• Checkpoint/restart has room for improvement, but also a final limitation on the error rate it can handle

• Preemptive migration can complement checkpoint/restart to improve efficiency, but not all errors are predictable

• With the rising rate of unpredictable soft errors, modular redundancy concepts may offer an alternative

• Research and development in flexible high-performance modular redundancy for HPC environments is needed

Page 24: Modular Redundancy in HPC Systems: Why, Where, When and …

HPC Resiliency Summit: Workshop on Resiliency for Petascale HPC, Los Alamos Computer Science Symposium, Santa Fe, NM, 10/15/2008

Questions?