Monitor Algorithm instance misses
The new feature is useful for finding ways for improving throughput. The feature quantifies the extent of contention for Algorithm instances by monitoring the number of instance misses, thus helping to fine-tune the extent of clonning or to prioritize the algorithms that must be made reentrant in the first place.
The feature is enabled by AlgResourcePool().CountAlgorithmInstanceMisses = True
. If enabled, AlgResourcePool
will generate the hit parade of instance misses upon stopping. E.g., for one of the ATLAS scenarios (the actual concurrency configuration and numbers are irrelevant here - that's just a demonstration) the report would be:
AlgResourcePool INFO Hit parade of algorithm instance misses:
===============================================================================
Misses | Algorithm (# of clones)
===============================================================================
4405 InDetSiSpTrackFinderAlg (1)
3912 StreamESDAlg (1)
1924 InDetPixelClusterizationAlg (1)
1688 CscRdoToCscPrepDataAlg (1)
1161 RpcRdoToRpcPrepDataAlg (1)
1122 TrackRecordFilterMuonExitLayerAlg (1)
987 CaloCellMakerAlg (1)
963 McAodBuilderAlg (1)
911 InDetBCM_ZeroSuppressionAlg (1)
830 TrackRecordFilterAlg (1)
810 MdtRdoToMdtPrepDataAlg (1)
742 InDetLowBetaTrkAlgorithmAlg (1)
601 InDetTRT_RIO_MakerAlg (1)
462 InDetSiSpTrackFinderPixelPrdAssociationAlg (1)
356 CreateLumiBlockCollectionFromFileAlg (1)
298 xAODMaker::EventInfoCnvAlg (1)
280 InDetSiSpTrackFinderForwardTracksAlg (1)
260 JobInfoAlg (1)
256 egLockerAlg (1)
255 InitializeMuonCaloEnergyAlg (1)
254 CaloCluster2xAODAlg (1)
246 InDetSCT_ClusterizationAlg (1)
215 InDetSiTrackerSpacePointFinderAlg (1)
208 InDetPRD_MultiTruthMakerSiAlg (1)
187 LUCID_DigitRawDataCnvAlg (1)
99 TgcRdoToTgcPrepDataAlg (1)
80 InitializeMuonClustersAlg (1)
64 BcmCollisionTimeAlg (1)
26 MuonCombinedAlg (1)
20 FrameworkAlg (1)
12 InDetTRT_StandaloneTrackFinderAlg (1)
7 LArAffectedRegionAlg (1)
7 EventCounterAlg (1)
7 InDetTRT_TrackSegmentsFinderAlg (1)
6 MuonSegmentMakerAlg (1)
3 InDetAmbiguitySolverAlg (1)
1 MSVertexRecoAlg (1)
1 MuonPRD_MultiTruthMakerAlg (1)
1 MuonTruthDecorationAlg (1)