Project

General

Profile

GQLink improvements » History » Version 7

Lucio Santi, 04/21/2017 11:34 AM

1 1 Lucio Santi
h1. GQLink improvements: profiling & statistics
2 1 Lucio Santi
3 4 Lucio Santi
h2. Statistics of CMS runs 
4 4 Lucio Santi
5 1 Lucio Santi
* CMS application features:
6 1 Lucio Santi
** Full detector geometry 
7 1 Lucio Santi
** Volume base magnetic field
8 1 Lucio Santi
** @epsMin@ = @dQRel@ = 1e-5
9 1 Lucio Santi
** Geant4 v10.03.p01
10 1 Lucio Santi
11 1 Lucio Santi
|_.2000 events, 10 GeV pi-               |
12 1 Lucio Santi
|                                        |_.After improvements                                   |_.Before improvements                                 |
13 1 Lucio Santi
|_.Simulation time                       | 1973.72 seconds (1701.54 seconds in G4; *16% slower*) | 2109.13 seconds (1701.54 seconds in G4; *24% slower*)|
14 1 Lucio Santi
|_.Geant4 steps                          | 29899541                                              | 29234603                                             |
15 1 Lucio Santi
|_.Steps w/safety=0                      | 20305715 (67.91%)                                     | 19414230 (66.41%)                                    |
16 1 Lucio Santi
|_.Steps w/safety!=0                     | 9593826 (32.09%)                                      | 9820373 (33.59%)                                     |
17 2 Lucio Santi
|_.QSS substeps                          | 77604560 (avg: 2.60 per G4 step)                      | 106999742 (avg: 3.66 per G4 step)                    |
18 1 Lucio Santi
|_.Volume crossings                      | 2435733 (8.15%)                                       | 2482502 (8.49%)                                      |
19 1 Lucio Santi
|_.Reinits                               | 12176648 (40.73%)                                     | 12459358 (42.62%)                                    |
20 2 Lucio Santi
21 2 Lucio Santi
|_.20000 events, 10 GeV mu-              |
22 2 Lucio Santi
|                                        |_.After improvements                                   |_.Before improvements                                 |
23 3 Lucio Santi
|_.Simulation time                       | 2432.48 seconds (1930.66 seconds in G4; *26% slower*) | 3129.69 seconds (1930.66 seconds in G4; *62% slower*)|
24 2 Lucio Santi
|_.Geant4 steps                          | 82421750                                              | 82452988                                             |
25 2 Lucio Santi
|_.Steps w/safety=0                      | 50675390 (61.48%)                                     | 50616536 (61.39%)                                    |
26 2 Lucio Santi
|_.Steps w/safety!=0                     | 31746360 (38.52%)                                     | 31836452 (38.61%)                                    |
27 2 Lucio Santi
|_.QSS substeps                          | 242579699 (avg: 2.94 per G4 step)                     | 325124202 (avg: 3.94 per G4 step)                    |
28 2 Lucio Santi
|_.Volume crossings                      | 15703477 (19.05%)                                     | 15700711 (19.04%)                                    |
29 1 Lucio Santi
|_.Reinits                               | 47705288 (57.88%)                                     | 47799184 (57.97%)                                    |
30 3 Lucio Santi
31 3 Lucio Santi
|_.50 Pythia events                      |
32 3 Lucio Santi
|                                        |_.After improvements                                     |_.Before improvements                                   |
33 3 Lucio Santi
|_.Simulation time                       | 21116.82 seconds (17291.99 seconds in G4; *22% slower*) | 24778.29 seconds (17291.99 seconds in G4; *43% slower*)|
34 3 Lucio Santi
|_.Geant4 steps                          | 533294820                                               | 532220518                                              |
35 3 Lucio Santi
|_.Steps w/safety=0                      | 350543960 (65.73%)                                      | 346687669 (65.14%)                                     |
36 3 Lucio Santi
|_.Steps w/safety!=0                     | 182750860 (34.27%)                                      | 185532849 (34.86%)                                     |
37 3 Lucio Santi
|_.QSS substeps                          | 1488107792 (avg: 2.79 per G4 step)                      | 2031751030 (avg: 3.82 per G4 step)                     |
38 3 Lucio Santi
|_.Volume crossings                      | 21118453 (3.96%)                                        | 21309892 (4.00%)                                       |
39 3 Lucio Santi
|_.Reinits                               | 203981344 (38.25%)                                      | 207046672 (38.90%)                                     |
40 4 Lucio Santi
41 4 Lucio Santi
h2. New callgraph
42 4 Lucio Santi
43 4 Lucio Santi
* Profiling over CMS application with 20 events, 10 GeV pi-
44 6 Lucio Santi
* Callgraph "here":https://cdcvs.fnal.gov/redmine/attachments/download/39860/callgraph_CMS_20ev_GQLink_improved_10.03.p01.png.
45 7 Lucio Santi
** See @GQLink_ComputeStep@ node: *13.86%* now vs. *30%* before.
46 4 Lucio Santi
47 4 Lucio Santi
h2. Helicoidal N02: simulation times
48 5 Lucio Santi
49 5 Lucio Santi
!https://cdcvs.fnal.gov/redmine/attachments/download/39859/N02h_GQLink_improved_vs_G4-100m-epsilon=1e-05-mode=0-log_scale=1.png!