From 8f5720a0d99bf708ecd8325dd88e1180a650c60b Mon Sep 17 00:00:00 2001 From: David Rohr Date: Mon, 22 Apr 2024 14:07:54 +0200 Subject: [PATCH] dpl-workflow: Add option to use GPU RTC --- prodtests/full-system-test/dpl-workflow.sh | 1 + prodtests/full-system-test/start_tmux.sh | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/prodtests/full-system-test/dpl-workflow.sh b/prodtests/full-system-test/dpl-workflow.sh index f67c5c01e81f1..5b5d84c413abe 100755 --- a/prodtests/full-system-test/dpl-workflow.sh +++ b/prodtests/full-system-test/dpl-workflow.sh @@ -320,6 +320,7 @@ if has_detector_calib PHS && workflow_has_parameter CALIB; then fi [[ ${O2_GPU_DOUBLE_PIPELINE:-$EPNSYNCMODE} == 1 ]] && GPU_CONFIG+=" --enableDoublePipeline" +[[ ${O2_GPU_RTC:-0} == 1 ]] && GPU_CONFIG_KEY+="GPU_proc_rtc.enable=1;GPU_proc_rtc.cacheOutput=1;GPU_proc.RTCcacheFolder=/tmp/o2_gpu_rtc_cache;" ( workflow_has_parameter AOD || [[ -z "$DISABLE_ROOT_OUTPUT" ]] || needs_root_output o2-emcal-cell-writer-workflow ) && has_detector EMC && RAW_EMC_SUBSPEC=" --subspecification 1 " has_detector_reco MID && has_detector_matching MCHMID && MFTMCHConf="FwdMatching.useMIDMatch=true;" || MFTMCHConf="FwdMatching.useMIDMatch=false;" diff --git a/prodtests/full-system-test/start_tmux.sh b/prodtests/full-system-test/start_tmux.sh index e56514196afe3..22b0ce2ddcd2a 100755 --- a/prodtests/full-system-test/start_tmux.sh +++ b/prodtests/full-system-test/start_tmux.sh @@ -97,19 +97,16 @@ fi FST_SLEEP0=0 FST_SLEEP1=0 -FST_SLEEP2=45 +FST_SLEEP2=30 if [[ -z $SHM_MANAGER_SHMID ]]; then rm -f /dev/shm/*fmq* if [[ `ls /dev/shm/*fmq* 2> /dev/null | wc -l` != "0" ]]; then echo "FMQ SHM files left which cannot be deleted, please clean up!" exit 1 fi -else - FST_SLEEP0=0 - FST_SLEEP1=0 - FST_SLEEP2=30 fi [[ ! -z $FST_TMUX_DD_WAIT ]] && FST_SLEEP2=$FST_TMUX_DD_WAIT +[[ ${O2_GPU_RTC:-0} == 1 ]] && FST_SLEEP2=60 if workflow_has_parameter CALIB_PROXIES; then CALIB_COMMAND="$GEN_TOPO_MYDIR/aggregator-workflow.sh"