Geant4 Profiling and Benchmarking

Geant4 CPU Performance by Version (Geant4.10.x-series)

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

2) Profiling Results

Profiled on the Wilson CPU cluster using AMD 6128HE Opteron 2GHz up to release 10.7;
(green: gcc 7.1.0 -O3), (pink: gcc 6.3.0 -O2), (yellow: gcc 4.9.2 -O2)
Geant4 Version Application Performance Summary
10.7 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.7 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.7 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.7.cand01 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.7.cand01 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.7.cand01 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.7.cand00 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.7.cand00 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.7.cand00 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.p03 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.p03 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.p03 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r10 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r10 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r10 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r09rr SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r09 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r09 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r09 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r08 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r08 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r08 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r07 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r07 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r07 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta (10.6.r06) SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta (10.6.r06) cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta (10.6.r06) cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta-cand01 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta-cand01 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta-cand01 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta-cand00 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta-cand00 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.7.beta-cand00 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r05 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r05 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r05 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.p02 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.p02 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.p02 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r04 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r04 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r04 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r03 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r03 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r03 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.r02 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r02 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r02 cmsExpVecGeom Open|Speedshop IgProf(Memory) CPU MEM
10.6.p01 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.p01 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6.r01 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6.r01 cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.6 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.6 cmsExp Open|Speedshop IgProf(Memory) - N/A CPU MEM - N/A
10.5.p01 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.4.p03 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.3.p03 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.2.p03 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.4 cmsExp-2018 Open|Speedshop IgProf(Memory) CPU MEM
10.3.p03 cmsExp-2018 Open|Speedshop IgProf(Memory) CPU MEM
10.2.p03 cmsExp-2018 Open|Speedshop IgProf(Memory) CPU MEM
Geant4 Version Application Performance Summary
10.4 LArTest Open|Speedshop IgProf(Memory) CPU MEM

Old Profiling Results: 9.4 9.5 9.6 10.0 10.1 10.2 10.3 10.4 10.5

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

6) Geant4 MT Performance

Geant4 Version Application Performance
10.7 cmsExpMT AMD Intel Open|SpeedShop
10.7.cand01 cmsExpMT AMD Intel Open|SpeedShop
10.7.cand00 cmsExpMT AMD Intel Open|SpeedShop
10.6.p03 cmsExpMT AMD Intel Open|SpeedShop
10.6.r10 cmsExpMT AMD Intel Open|SpeedShop
10.6.r09 cmsExpMT AMD Intel Open|SpeedShop
10.6.r08 cmsExpMT AMD Intel Open|SpeedShop
10.6.r07 cmsExpMT AMD Intel Open|SpeedShop
10.7.beta (10.6.r06) cmsExpMT AMD Intel Open|SpeedShop
10.7.beta-cand01 cmsExpMT AMD Intel Open|SpeedShop
10.7.beta-cand00 cmsExpMT AMD Intel Open|SpeedShop
10.6.r05 cmsExpMT AMD Intel Open|SpeedShop
10.6.p02 cmsExpMT AMD Intel Open|SpeedShop
10.6.r04 cmsExpMT AMD Intel Open|SpeedShop
10.6.r03 cmsExpMT AMD Intel Open|SpeedShop
10.6.r02 cmsExpMT AMD Intel Open|SpeedShop
10.6.p01 cmsExpMT AMD Intel Open|SpeedShop
10.6.r01 cmsExpMT AMD Intel Open|SpeedShop
10.6 cmsExpMT AMD Intel Open|SpeedShop
10.5.p01 cmsExpMT AMD Intel Open|SpeedShop
Geant4 Version Application Performance
10.3.r06dev lArTestMT AMD Intel Open|SpeedShop

7) Other Test Results and Activities

Geant4 Version Application Performance Summary
10.5.cf274b0 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.4.r02+event-V10-04-04 SimplifiedCalo Open|Speedshop IgProf(Memory) CPU MEM
10.4.Beta (VecGeom+cms2018) cmsExp (Vector) Open|Speedshop IgProf(Memory) CPU MEM
10.4.Beta (VecGeom+cms2018) cmsExp (Scalar) Open|Speedshop IgProf(Memory) CPU MEM
10.4.Beta (cms2018**) cmsExp Open|Speedshop IgProf(Memory) CPU MEM
10.4.Beta (VecGeom*) cmsExp Open|Speedshop IgProf(Memory) CPU MEM
**: cms2018 (the upgraded CMS pixel tracker and muon system) *: VecGeom v00.04.00
  • Code reviews (summary pdf files): CHIPS Physics Field Propagation EM Physics

  • KISTI IgProf Results - Beam.PhysList.Energy=Iodine.QGSP_BIC_EMY.35
  • 8) 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