Skip to content

Commit 8be37ef

Browse files
committed
TPC: Make number of lanes and threads for TPC IDC factorize configurable
1 parent be3f6b2 commit 8be37ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ fi
295295

296296
# TPC IDCs and SAC
297297
crus="0-359" # to be used with $AGGREGATOR_TASKS == TPC_IDCBOTH_SAC or ALL
298-
lanesFactorize=10
298+
lanesFactorize=${O2_TPC_IDC_FACTORIZE_NLANES:-10}
299+
threadFactorize=${O2_TPC_IDC_FACTORIZE_NTHREADS:-8}
299300
nTFs=$((1000 * 128 / ${NHBPERTF}))
300301
nTFs_SAC=$((1000 * 128 / ${NHBPERTF}))
301302
nBuffer=$((100 * 128 / ${NHBPERTF}))
@@ -309,7 +310,7 @@ if [[ "${DISABLE_IDC_PAD_MAP_WRITING:-}" == 1 ]]; then TPC_WRITING_PAD_STATUS_MA
309310
if ! workflow_has_parameter CALIB_LOCAL_INTEGRATED_AGGREGATOR; then
310311
if [[ $CALIB_TPC_IDC == 1 ]] && [[ $AGGREGATOR_TASKS == TPC_IDCBOTH_SAC || $AGGREGATOR_TASKS == ALL ]]; then
311312
add_W o2-tpc-idc-distribute "--crus ${crus} --timeframes ${nTFs} --output-lanes ${lanesFactorize} --send-precise-timestamp true --condition-tf-per-query ${nTFs} --n-TFs-buffer ${nBuffer}"
312-
add_W o2-tpc-idc-factorize "--n-TFs-buffer ${nBuffer} --input-lanes ${lanesFactorize} --crus ${crus} --timeframes ${nTFs} --nthreads-grouping 8 --nthreads-IDC-factorization 8 --sendOutputFFT true --enable-CCDB-output true --enablePadStatusMap true ${TPC_WRITING_PAD_STATUS_MAP} --use-precise-timestamp true $IDC_DELTA" "TPCIDCGroupParam.groupPadsSectorEdges=32211"
313+
add_W o2-tpc-idc-factorize "--n-TFs-buffer ${nBuffer} --input-lanes ${lanesFactorize} --crus ${crus} --timeframes ${nTFs} --nthreads-grouping ${threadFactorize} --nthreads-IDC-factorization ${threadFactorize} --sendOutputFFT true --enable-CCDB-output true --enablePadStatusMap true ${TPC_WRITING_PAD_STATUS_MAP} --use-precise-timestamp true $IDC_DELTA" "TPCIDCGroupParam.groupPadsSectorEdges=32211"
313314
add_W o2-tpc-idc-ft-aggregator "--rangeIDC 200 --inputLanes ${lanesFactorize} --nFourierCoeff 40 --nthreads 8"
314315
fi
315316
if [[ $CALIB_TPC_SAC == 1 ]] && [[ $AGGREGATOR_TASKS == TPC_IDCBOTH_SAC || $AGGREGATOR_TASKS == ALL ]]; then

0 commit comments

Comments
 (0)