Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented by Fault Tolerance Challenges and Solutions Al Geist Network and Cluster Computing Computational Sciences and Mathematics Division Research supported.

Similar presentations


Presentation on theme: "Presented by Fault Tolerance Challenges and Solutions Al Geist Network and Cluster Computing Computational Sciences and Mathematics Division Research supported."— Presentation transcript:

1 Presented by Fault Tolerance Challenges and Solutions Al Geist Network and Cluster Computing Computational Sciences and Mathematics Division Research supported by the Department of Energy’s Office of Science Office of Advanced Scientific Computing Research

2 2 Geist_FT_0611 Example: ORNL Leadership Computing Facility hardware roadmap 54 TF (56 cabinets) 5294 nodes 10,588 processors 21 TB 100 TF (+68 cabinets) 11,706 nodes 23,412 processors 46 TB 250 TF (68 quad) 11,706 nodes 36,004 processors 71 TB 1 PF (136 new cabinets) 24,576 nodes 98,304 processors 175 TB Rapid growth in scale drives fault tolerance need Jul 2006 Nov 2006 Dec 2007 Nov 2008 54 TF 100 TF 1 PF 250 TF Cray XT3 Cray Baker Cray XT4 25 TF 20X scale change in 2.5 years Today Late 2006 2008 2007

3 3 Geist_FT_0611 Today’s applications and their runtime libraries may scale but are not prepared for the failure rates of these systems ORNL 1 PF Cray “Baker” system, 2008 10 nodes a day: “Estimated” failure rate for 1 petaflop system (Today’s rate of 1–2 per day times 20)  With 25,000 nodes, this is a tiny fraction (0.0004) of the whole system  The RAS system automatically configures around faults – up for days  But every one of these failures kills the application that was using that node!

4 4 Geist_FT_0611 Good news: MTTI is better than expected for LLNL BG/L and ORNL XT3 (6–7 days, not minutes) ’09: The end of fault tolerance as we know it (The point where checkpoint ceases to be viable) Mean time to interrupt (hours) 200 160 120 80 40 0 NovemberDecemberJanuary Time to checkpoint increases with problem size Time 2009 (estimate) 2006 Crossover point MTTI decreases as number of parts increases

5 5 Geist_FT_0611 8 strategies for application to handle fault 1.Restart from checkpoint file [large apps today] 2.Restart from diskless checkpoint [Avoids stressing the IO system and causing more faults] 3.Recalculate lost data from in-memory RAID 4.Lossy recalculation of lost data [for iterative methods] Need to develop rich methodology to “run through” faults No checkpoint Some state saved 5.Recalculate lost data from initial and remaining data 6.Replicate computation across system 7.Reassign lost work to another resource 8.Use natural fault-tolerant algorithms Store checkpoint in memory

6 6 Geist_FT_0611 Harness P2P control research The file system can’t let data be corrupted by faults I/O nodes must recover and cover failures The heterogeneous OS must be able to tolerate failures of any of its node types and instances For example: A failed service node shouldn’t take out a bunch of computer nodes The schedulers and other system components must be aware of dynamically changing system configuration So that tasks get assigned around failed components Fast recovery from fault Parallel recovery from multiple node failures Support simultaneous updates 7/24 system can’t ignore faults

7 1.Restart – from checkpoint or from beginning 2.Notify application and let it handle the problem 3.Migrate task to other hardware before failure 4.Reassign work to spare processor(s) 5.Replicate tasks across machine 6.Ignore the fault altogether 6 options for system to handle jobs Need a mechanism for each application (or component) to specify to system what to do if fault occurs 7 Geist_FT_0611

8 8 Geist_FT_0611 5 recovery modes for MPI applications 1.ABORT: Just do as vendor implementations 2.BLANK: Leave holes (but make sure collectives do the right thing afterwards) 3.SHRINK: Re-order processes to make a contiguous communicator (some ranks change) 4.REBUILD: Re-spawn lost processes and add them to MPI_COMM_WORLD 5.REBUILD_ALL: Same as REBUILD except rebuilds all communicators, groups and resets all key values etc. Harness project’s FT-MPI explored 5 modes of recovery It may be time to consider an MPI-3 standard that allows applications to recover from faults These modes affect the size (extent) and ordering of the communicators

9 Validation of answer on such large systems 1.Fault may not be detected 2.Recovery introduces perturbations 3.Result may depend on which nodes fail 4.Result looks reasonable but is actually wrong Can’t afford to run every job three (or more) times Yearly allocations are like $5M–$10M grants 4 ways to fail anyway 9 Geist_FT_0611

10 There are three main steps in fault tolerance 1.Detection that something has gone wrong System: Detection in hardware Framework: Detection by runtime environment Library: Detection in math or communication library 2.Notification of the application, runtime, system components Interrupt: Signal sent to job or system component Error code returned by application routine 3.Recovery of the application to the fault By the system By the application Neither: Natural fault tolerance Subscription Notification 3 steps to fault tolerance 10 Geist_FT_0611

11 11 Geist_FT_0611 The drive for large-scale simulations in biology, nanotechnology, medicine, chemistry, materials, etc. From a fault tolerance perspective: Space means that the job ‘state’ to be recovered is huge Time means that many faults will occur during a single run 2 reasons the problem is only going to get worse 1.Require much larger problems (space) Easily consume the 2 GB per core in ORNL LCF systems 2.Require much longer to run (time) Science teams in climate, combustion, and fusion want to run for a couple of months dedicated

12 12 Geist_FT_0611 1 holistic solution Fault Tolerance Backplane We need coordinated fault awareness, prediction, and recovery across the entire HPC system from the application to the hardware Middleware Applications Operating System Hardware CIFTS project “Prediction and prevention are critical because the best fault is the one that never happens” Detection Monitor Logger Configuration Notification Event Manager Prediction and Prevention Recovery Autonomic Actions Recovery Services Project under way at ANL, ORNL, LBL, UTK, IU, OSU

13 13 Geist_FT_0611 Contact Al Geist Network and Cluster Computing Computational Sciences and Mathematics Division (865) 574-3153 gst@ornl.gov 13 Geist_FT_0611


Download ppt "Presented by Fault Tolerance Challenges and Solutions Al Geist Network and Cluster Computing Computational Sciences and Mathematics Division Research supported."

Similar presentations


Ads by Google