Docsity

ATLAS Data Reprocessing: Reliability Analysis of CPU Hours for Failure Recovery, Study notes of Engineering

Partial preview of the text

Download ATLAS Data Reprocessing: Reliability Analysis of CPU Hours for Failure Recovery and more Study notes Engineering in PDF only on Docsity!

Reliability Engineering Analysis

of ATLAS Data Reprocessing Campaigns

A. Vaniachine, D. Golubkov and D. Karpenko

on behalf of the ATLAS Collabora>on

XX Interna>onal Conference on Compu>ng in High Energy and Nuclear Physics

October 14-­‐18, 2013

Amsterdam, The Netherlands

Introduction

§ Scheduled LHC upgrades will increase the data taking rates tenfold, which

increases demands on compu>ng resources

  • However, a tenfold increase in WLCG resources for LHC upgrade needs is not an op>on

§ The ATLAS experiment needs to exercise due diligence in evolving its Compu>ng

Model to op>mally use the required resources

  • A comprehensive end-­‐to-­‐end solu>on for the composi>on and execu>on of the

reprocessing workflow within given CPU and storage constraints is necessary

§ During three years of LHC data taking, the ATLAS collabora>on completed three

petascale data reprocessing campaigns on the Grid, with up to 2 PB of “raw” data

being reprocessed every year

  • We present the Reliability Engineering analysis of ATLAS data reprocessing campaigns

providing the founda>on needed to scale up data reprocessing beyond petascale

CHEP 2013

2

§ Job re-­‐tries avoids data loss at the expense of CPU >me used by the failed jobs

  • Distribu>on of tasks

1 ranked by CPU >me used to recover from transient failures is not uniform:

  • Most of CPU >me required for recovery was used in a small frac>on of tasks

Task Rank

CPU-­‐hours used to recover

from transient failures

CHEP2012: Costs of Recovery from Failures

CHEP 2013

4

1 In ATLAS data reprocessing jobs from the same run are processed in the same task

§ Job re-­‐tries avoids data loss at the expense of CPU >me used by the failed jobs

  • Distribu>on of tasks ranked by CPU >me used to recover from transient failures is not uniform:
    • Most of CPU >me required for recovery was used in a small frac>on of tasks

Task Rank

CPU-­‐hours used to recover

from transient failures

Zoom at Tasks with Most CPU-hours Used

CHEP 2013

5

2010 vs. 2011: Universal Behavior

CHEP 2013

7

CPU-­‐hours used to recover from transient failures

Task Rank

Universal Behavior Indicates Weibull Distribution

CHEP 2013

8

CPU-­‐hours used to recover from transient failures

Task Rank

0

25 50 75

100

-2.

-1.

-0.

Number of Tasks

log10(CPU-hours)

20112010

CPU-time Used to Recover from Job Failures in

Data Reprocessing: Bi-modal Weibull Distribution

CHEP 2013

10

Number of Tasks

log10(CPU-hours)

The major costs

were reduced in

2011

Majority of the

costs are from

storage failures

at the end of job

Cost of Recovery from Failures in Reprocessing

CHEP 2013

11

Reprocessing

campaign

Input Data

Volume (PB)

CPU Time

Used for

Reconstruction

(

6 h )

Fraction of

CPU Time

Used for

Recovery (%)

2010 1 2.6 6.

2011 1 3.1 4.

2012 2 14.6 5.

CPU-time Used to Recover from Job Failures

CHEP 2013

13

0

25

50

75

100

-2.5 -1.5 -0.5 0.5 1.5 2.5 3.5 4.

Number of Tasks / Petabyte

log10(CPU-hours)

2010

2011

2012

Log-Normal Behavior

§ The log-­‐normal behaviour of the distribu>on of

tasks vs. CPU-­‐hours used for failure recovery is

unexpected

§ Although, the log-­‐normal distribu>ons are oien

observed in Reliability Engineering analysis of

failures, such as mean-­‐>me-­‐to-­‐failure of the Grid

hardware, these are expected when some

mul>plica>ve process is present, such as

mul>plica>ve degrada>on (Kolmogorov, 1941)

CHEP 2013

14

§ We were unable to iden>fy the mul>plica>ve process describing our case where

the CPU-­‐>me used for recovery is added upon each job retry

  • Thus, we compared the failure data with two necessary condi>ons under which the

addi>ve process may result in the log-­‐normal distribu>on

  • (when the number of variables is limited) [Mouri H 2013 Preprint arXiv:1309.5709]

Duration of Reprocessing Campaigns

§ Transient job failures and retries delay the reprocessing dura>on

  • Speeding up the comple>on of reprocessing is an ac>ve area of research

CHEP 2013

16

!"#"$%"&'%(%)+,%-%

./01,,%#%23%4%!"#"%

56-6%78%-9%:8-;,%

!"##$%#&#%%(%)+,%-%

./01,,%#%23%4%!"##%

56-6%78%4*</%911=,%

!"#!$%>&?%%(%)+,%-%

./01,,%!%23%4%!"#!%

56-6%78%4*</%911=,%

  • Op>miza>on of ATLAS Grid

Data Processing workflow and

other improvements cut the

delays and halved the dura>on

of the petabyte-­‐scale

reprocessing on the Grid from

almost two months in 2010 to

less than four weeks in 2011

  • To assure >mely results for the

2012 Moriond Conference we

reprocessed twice more data

within the same >me period as

in 2011 reprocessing, with each

2012 event taking twice longer

to reconstruct than the 2011

event

Conclusions

§ Reliability Engineering provides a framework for fundamental understanding of

data reprocessing workflow on the Grid

  • ATLAS data reprocessing keeps the cost of automa>c re-­‐tries of the failed jobs at the

level of 4-­‐6% of total CPU-­‐hours used for data reconstruc>on

§ Fault-­‐tolerance achieved through automa>c re-­‐tries of the failed jobs induces a

me overhead in the task comple>on, which is difficult to predict

  • Op>miza>on of data reprocessing dura>on is an ac>ve area of research

§ The ATLAS experiment needs to exercise due diligence in evolving its Compu>ng

Model to op>mally use the required resources

  • A comprehensive end-­‐to-­‐end solu>on for the composi>on and execu>on of the

reprocessing within given CPU and storage constraints is necessary

CHEP 2013

17

Representative Causes for Job Re-tries

§ Storage Failures at the End of the Job (Uploads) Increase the CPU Cost of Job

Recovery from Failures

CHEP 2013

19

Representative Task with CPU Costs from Job Re-

tries Caused by Storage Failures at the End of Job

CHEP 2013

20