GQLink improvements: profiling & statistics¶
Statistics of CMS runs¶
- CMS application features:
- Full detector geometry
- Volume base magnetic field
epsMin
=dQRel
= 1e-5- Geant4 v10.03.p01
2000 events, 10 GeV pi- | ||
---|---|---|
After improvements | Before improvements | |
Simulation time | 1973.72 seconds (1701.54 seconds in G4; 16% slower) | 2109.13 seconds (1701.54 seconds in G4; 24% slower) |
Geant4 steps | 29899541 | 29234603 |
Steps w/safety=0 | 20305715 (67.91%) | 19414230 (66.41%) |
Steps w/safety!=0 | 9593826 (32.09%) | 9820373 (33.59%) |
QSS substeps | 77604560 (avg: 2.60 per G4 step) | 106999742 (avg: 3.66 per G4 step) |
Volume crossings | 2435733 (8.15%) | 2482502 (8.49%) |
Reinits | 12176648 (40.73%) | 12459358 (42.62%) |
QSS method | QSS2 | QSS3 |
20000 events, 10 GeV mu- | ||
---|---|---|
After improvements | Before improvements | |
Simulation time | 2432.48 seconds (1930.66 seconds in G4; 26% slower) | 3129.69 seconds (1930.66 seconds in G4; 62% slower) |
Geant4 steps | 82421750 | 82452988 |
Steps w/safety=0 | 50675390 (61.48%) | 50616536 (61.39%) |
Steps w/safety!=0 | 31746360 (38.52%) | 31836452 (38.61%) |
QSS substeps | 242579699 (avg: 2.94 per G4 step) | 325124202 (avg: 3.94 per G4 step) |
Volume crossings | 15703477 (19.05%) | 15700711 (19.04%) |
Reinits | 47705288 (57.88%) | 47799184 (57.97%) |
QSS method | QSS2 | QSS3 |
50 Pythia events | ||
---|---|---|
After improvements | Before improvements | |
Simulation time | 21116.82 seconds (17291.99 seconds in G4; 22% slower) | 24778.29 seconds (17291.99 seconds in G4; 43% slower) |
Geant4 steps | 533294820 | 532220518 |
Steps w/safety=0 | 350543960 (65.73%) | 346687669 (65.14%) |
Steps w/safety!=0 | 182750860 (34.27%) | 185532849 (34.86%) |
QSS substeps | 1488107792 (avg: 2.79 per G4 step) | 2031751030 (avg: 3.82 per G4 step) |
Volume crossings | 21118453 (3.96%) | 21309892 (4.00%) |
Reinits | 203981344 (38.25%) | 207046672 (38.90%) |
QSS method | QSS2 | QSS3 |
New callgraph¶
- Profiling over CMS application with 20 events, 10 GeV pi-
- Callgraph here.
- See
GQLink_ComputeStep
node: 13.86% now vs. 30% before.
- See