Title: Timing of L3TMuoUnpack (v00-03-02)
1Timing of L3TMuoUnpack(v00-03-02)
- Paul Balm
- Jan 17, 2001
- L3 meeting
2L3TMuoUnpackDoThisTool
get RawDataChunk from event (contains MCHModules) Tkeyfind
Create unpacked modules Fill unpacked modules MCHFactorymake XXXMCHModuleunpack
Generate hits from unpacked modules L3TMuoUnpack addXXXHits
L3TMuoUnpackunpack
XXX PDT, MDT or MSC (the 3 different types of
muon hits)
3Timing measurements
- All jobs run in batch to guarantee 100 CPU
- l3fmuo_unpack version v00-03-02
- Release t01.28.00-maxopt on d0mino
- Files Z-gtmumu and Z-gtee from Serbans area,
d0sim_p05, 200 events each - Total time running time from l3statmanager and
SpeedShop agree, comparison of functions from
SpeedShop
4DoThisTool 44 ms 100 calls Tkeyfind 30 ms 68 L3TMuoUnpackunpack 10 ms 23 ErrorLoggerl3statmancout 4 ms 9
L3TMuoUnpackunpack 10 ms 100 calls MCHFactorymake 2.1 ms 21 XXXMCHModuleunpack 2.4 ms 24 addXXXHits 2.7 ms 27 destructing local objects etc. 1.8 ms 9
Z-gtmumu
DoThisTool 44 ms 100 calls Tkeyfind 32 ms 73 L3TMuoUnpackunpack 7 ms 15 ErrorLoggerl3statmancout 5 ms 12
L3TMuoUnpackunpack 6.6 ms 100 calls MCHFactorymake 2.3 ms 34 XXXMCHModuleunpack 0.6 ms 10 addXXXHits 0.3 ms 5 destructing local objects etc. 3.2 ms 48
Z-gtee
5DoThisTool 44 ms 100 calls Tkeyfind 32 ms 73 L3TMuoUnpackunpack 7 ms 15 ErrorLoggerl3statmancout 5 ms 12
L3TMuoUnpackunpack 6.6 ms 100 calls MCHFactorymake 2.3 ms 34 XXXMCHModuleunpack 0.6 ms 10 addXXXHits 0.3 ms 5 destructing local objects etc. 3.2 ms 48
Z-gtee
DoThisTool 41 ms 100 calls Tkeyfind 31 ms 76 L3TMuoUnpackunpack 7 ms 17 ErrorLoggerl3statmancout 3 ms 7
L3TMuoUnpackunpack 6.9 ms 100 calls MCHFactorymake 1.5 ms 22 XXXMCHModuleunpack 1.2 ms 17 addXXXHits 1.7 ms 24 destructing local objects etc. 2.1 ms 31
Z-gtee, RDC only
6Conclusions
- Main time consumer is TKeyfind
- (30 ms or 70)
- Logging info/errors takes 4 ms, can be switched
off - Actual unpacking takes less than 10 ms
- speed-up of 4 ms seems in sight