FSR and DIRAC

6
FSR and DIRAC

description

FSR and DIRAC. Information required in DIRAC. Currently all done by parsing the logfile T o o much dependent on message formats Analyse of application performance In case of failure, identify where it happened Extract information for bookkeeping Files processed successfully - PowerPoint PPT Presentation

Transcript of FSR and DIRAC

Page 1: FSR and DIRAC

FSR and DIRAC

Page 2: FSR and DIRAC

FSR usage for DIRAC, PhC 2

Information required in DIRAC

m Currently all done by parsing the logfileo Too much dependent on message formats

m Analyse of application performanceo In case of failure, identify where it happened

m Extract information for bookkeepingo Files processed successfully

P Unreadable files are skippedo Events statistics

P Events processedP Events written out in each output stream

m Additional informationo Memory usageo Error statisticso Etc…

Page 3: FSR and DIRAC

FSR usage for DIRAC, PhC 3

Meta example of how to pass information

m Processing application / versiono { successful input files (GUID? LFN?) }o { failed input files (GUID? LFN?) }o Input eventso Processed eventso { (stream, events) }o [ max. memory ]

m Quite some overlap with ganga requirements

m Easier if processing information is also output in readable format (e.g. XML, pickled,…?)o Can also be extracted from output fileso But then need to run a Gaudi application…

P Advantage: checks the file is well formedP Disadvantage: cannot be used if application crashes

Page 4: FSR and DIRAC

FSR usage for DIRAC, PhC 4

Q & A

m What type of object is going in the FSR (e.g. counters, ratios, averages)?o Counters and lists

m How are the objects accumulated (How are they identified, what operations are needed on them, and when (execute, finalize etc.))?o Counters: could be extracted from Gaudi services at finalise? File

list should use incidents?m In the job creating the objects, do they have to be accessed by

algorithms other than the one accumulating them?o No

m Is there a need to propagate the objects to later processing steps (i.e. should they be copied to the output file if read from the input file)?o Probably yes

m Is there a need to combine objects from the FSR of several input files? If so, with what operations, and when?o No

m Is it possible to output FSR on a separate stream?o Can a file be updated on the fly?

Page 5: FSR and DIRAC

FSR usage for DIRAC, PhC 5

Other usage for FSR

m User job finalisationo What to do if job is split?o Users want to see the same output as if the job was

not splitm Output counters

P No need to be included in output file, can be separate stream

o Only cumulative counterso Allow merging of counters for split jobso Is it useful for productions?o Is it useful for user jobs?

m How can one run the same finalisation code as in individual jobs on the merged counters?o Rerun the application without input files?

Page 6: FSR and DIRAC

FSR usage for DIRAC, PhC 6

Conclusion

m FSR very useful to convey statistics on processing

m Probably useful to also output the same information in XML (DIRAC, ganga)

m How can it be used for merging finalisation?