Geant4 Profiling and Benchmarking

Geant4 CPU Performance by Version (from Geant4.10.5.p01 through Geant4-11.1)

1) The Current profiling activity is a part of Geant4 Computing Performance Task

2) Profiling Results

Since July 2024, ongoing migration to the NERSC resources and gcc12.3.0 (yellow)

Geant4 Version Application Performance Summary
11.2.r08 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
11.2.r08 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
11.2.r07 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
11.2.r07 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
11.2.r06 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
11.2.r06 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
11.2.p02 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
11.2.p02 cmsExp Open|Speedshop IgProf(Memory) CPU MEM

Old Profiling Results: 10.7 11.0 11.1 11.2.r06-WC-IC-FNAL

3) CPU per Event: Summary Plots by Versions

SimplifiedCalo PYTHIA H->ZZ electrons pions protons anti-protons gamma
cmsExp PYTHIA H->ZZ

4) Total Memory Count: Summary Plots by Versions

SimplifiedCalo PYTHIA H->ZZ electrons pions protons anti-protons gamma

5) Geant4 MT/Tasking Performance

Geant4 Version Application Performance
11.2.r08 cmsExpTasking AMD(NERSC) Open|SpeedShop
11.2.r07 cmsExpTasking AMD(NERSC) Open|SpeedShop
11.2.r06 cmsExpTasking AMD(NERSC) Open|SpeedShop
11.2.p02 cmsExpTasking AMD(NERSC) Open|SpeedShop

6) Useful Links for Performance Tools and Optimization

  1. Open|Speedshop: Home page
  2. IgProf: Ignominous Profiler is a simple tool for measuring and analysing application memory and
    performance characteristics. For more information, see IgProf home page

  3. Other HPC Performance Tools: HPCToolkits TAU
  4. Software Optimization Resources: Agner Fog