Skip to content

Commit b1911e8

Browse files
committed
Add option to suppress FMQ rate logging in full system test
1 parent 032b405 commit b1911e8

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

prodtests/full-system-test/dpl-workflow.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ fi
1515
if [ $SHMTHROW == 0 ]; then
1616
ARGS_ALL+=" --shm-throw-bad-alloc 0"
1717
fi
18+
if [ $NORATELOG == 1 ]; then
19+
ARGS_ALL+=" --fairmq-rate-logging 0"
20+
fi
1821

1922
if [ $EXTINPUT == 1 ]; then
2023
CMD_X="B:TPC/RAWDATA;C:ITS/RAWDATA;D:TOF/RAWDATA;D:MFT/RAWDATA;E:FT0/RAWDATA;F:MID/RAWDATA;G:EMC/RAWDATA;H:PHS/RAWDATA"

prodtests/full-system-test/raw-reader.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ fi
88
MYDIR="$(dirname $(readlink -f $0))"
99
source $MYDIR/setenv.sh
1010

11-
ARGS_ALL="--session default --severity $SEVERITY --shm-throw-bad-alloc 0 --no-cleanup"
11+
ARGS_ALL="--session default --shm-throw-bad-alloc 0 --no-cleanup"
1212
if [ $NUMAGPUIDS == 1 ]; then
1313
TMPSIZE=$(expr $DDSHMSIZE \* 1024 \* 1024)
1414
ARGS_ALL+=" --shm-segment-id 2 --shm-segment-size $TMPSIZE --shm-mlock-segment 1 --shm-zero-segment 1"
1515
else
1616
ARGS_ALL+=" --shm-segment-size $SHMSIZE"
1717
fi
18+
if [ $NORATELOG == 1 ]; then
19+
ARGS_ALL+=" --fairmq-rate-logging 0"
20+
fi
1821

19-
o2-raw-file-reader-workflow $ARGS_ALL --loop $NTIMEFRAMES --delay $TFDELAY --input-conf rawAll.cfg --configKeyValues "HBFUtils.nHBFPerTF=$NHBPERTF;" --max-tf 0 --raw-channel-config "name=dpl-chan,type=push,method=bind,address=ipc://@stfb-to-dpl,transport=shmem,rateLogging=0" --run
22+
o2-raw-file-reader-workflow $ARGS_ALL --loop $NTIMEFRAMES --delay $TFDELAY --input-conf rawAll.cfg --configKeyValues "HBFUtils.nHBFPerTF=$NHBPERTF;" --max-tf 0 --raw-channel-config "name=dpl-chan,type=push,method=bind,address=ipc://@stfb-to-dpl,transport=shmem,rateLogging=0" $GLOBALDPLOPT --run

prodtests/full-system-test/setenv.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ if [ -z "$GLOBALDPLOPT" ]; then export GLOBALDPLOPT=; fi # Global
2525
if [ -z "$EPNPIPELINES" ]; then export EPNPIPELINES=0; fi # Set default EPN pipeline multiplicities
2626
if [ -z "$SEVERITY" ]; then export SEVERITY="info"; fi # Log verbosity
2727
if [ -z "$SHMTHROW" ]; then export SHMTHROW=1; fi # Throw exception when running out of SHM
28+
if [ -z "$NORATELOG" ]; then export NORATELOG=1; fi # Disable FairMQ Rate Logging
2829

2930
SEVERITY_TPC="info" # overrides severity for the tpc workflow
3031
DISABLE_MC="--disable-mc"

0 commit comments

Comments
 (0)