TrigOnlineMonitor: Add histograms to monitor number of forks, threads and slots
Changes
Add two new HLT framework online monitoring histograms in TrigOpMonitor
:
-
MTConfig
- showing number of threads and slots in each HLT worker -
MPWorkers
- showing ID of each HLT worker, which allows to determine how many workers there are per HLT node
It is not possible to monitor the number of forks directly on the athena side, but the information can be easily deduced by just looking at the worker IDs from the latter histogram.
Motivation
It came up during one of the Technical Runs at P1 that it would be useful to determine the MP/MT configuration while running by just looking at the online monitoring histograms. Otherwise, the configuration is only present somewhere in OKS and one needs to know where to look for it.
Somewhat relevant Jira: ATR-19667
Testing
Running with 3 forks with 4 threads and 2 slots each:
athenaHLT.py \
--nprocs=3 --threads=4 --concurrent-events=2 \
-c "doEmptyMenu=True;BFieldAutoConfig=False;" \
--number-of-events=100 \
--file=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TrigP1Test/data18_13TeV.00360026.physics_EnhancedBias.merge.RAW._lb0151._SFO-1._0001.1 \
TriggerJobOpts/runHLT_standalone.py
produced the following histograms: