7/24/2008alex howard, profiling precompound/de-excitation mini workshop, cern 1 profiling initial...

24
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)

Upload: colin-donnelly

Post on 26-Mar-2015

213 views

Category:

Documents


0 download

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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