7/24/2008alex howard, profiling precompound/de-excitation mini workshop, cern 1 profiling initial...
TRANSCRIPT
![Page 1: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/1.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
1
Profiling
• Initial timing studies – Test30, p(22MeV)+Al
• Ref-06: 1960s for 500000 events• Tag10: 4240s for 500000 events
(also initialisation time is slightly longer – 0.5s)
![Page 2: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/2.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
2
kCachegrind output
• Two runs – 10k and 100k events (factors out initialistion)
• Function cost is displayed for G4 running with valgrind and debug mode (so not compiler optimised)
• A selection of the most expensive functions is displayed for– Tag10– Ref06
![Page 3: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/3.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
3
100k Events
• Tag10
![Page 4: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/4.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
4
![Page 5: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/5.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
5
![Page 6: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/6.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
6
![Page 7: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/7.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
7
![Page 8: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/8.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
8
10k Events
• Tag10
![Page 9: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/9.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
9
![Page 10: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/10.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
10
![Page 11: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/11.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
11
![Page 12: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/12.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
12
![Page 13: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/13.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
13
10k Events
• Ref06
![Page 14: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/14.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
14
![Page 15: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/15.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
15
![Page 16: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/16.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
16
![Page 17: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/17.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
17
![Page 18: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/18.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
18
100k Events
• Ref06
![Page 19: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/19.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
19
![Page 20: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/20.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
20
![Page 21: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/21.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
21
![Page 22: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/22.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
22
![Page 23: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/23.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
23
![Page 24: 7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for](https://reader036.vdocuments.us/reader036/viewer/2022062618/55145905550346494e8b54fb/html5/thumbnails/24.jpg)
7/24/2008 Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN
24
Conclusions
• “String comparison” and “pow” seem to be the most expensive
• Developments cost over a factor of 2 in CPU for the De-excitation/PreCompound modules on their own