Skip to content

Commit 6c91a4e

Browse files
committed
Fixes for 8 GPU full system test configuration
1 parent b348238 commit 6c91a4e

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

prodtests/full-system-test/datadistribution.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010

1111
export DATADIST_SHM_DELAY=10
1212
export TF_DIR=./raw/timeframe
13-
export TFRATE=$(awk "BEGIN {printf \"%.6f\",1/$NTIMEFRAMES}")
13+
export TFRATE=$(awk "BEGIN {printf \"%.6f\",1/$TFDELAY}")
1414

1515
ARGS_ALL="--session default --severity $SEVERITY --shm-segment-size $SHMSIZE --no-cleanup"
1616

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [ $SHMTHROW == 0 ]; then
1717
fi
1818

1919
if [ $EXTINPUT == 1 ]; then
20-
CMD_X="B:TPC/RAWDATA;C:ITS/RAWDATA;D:TOF/RAWDATA;D:MFT/RAWDATA;E:FT0/RAWDATA;F:MID/RAWDATA"
20+
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"
2121
CMD_Y="name=readout-proxy,type=pull,method=connect,address=ipc://@stfb-to-dpl$1,transport=shmem,rateLogging=0"
2222
CMD_INPUT="o2-dpl-raw-proxy $ARGS_ALL --dataspec $CMD_X --channel-config $CMD_Y"
2323
else

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ 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 --shm-segment-size $SHMSIZE --no-cleanup"
11+
ARGS_ALL="--session default --severity $SEVERITY --shm-throw-bad-alloc 0 --no-cleanup"
12+
if [ $NUMAGPUIDS == 1 ]; then
13+
TMPSIZE=$(expr $DDSHMSIZE \* 1024 \* 1024)
14+
ARGS_ALL+=" --shm-segment-id 2 --shm-segment-size $TMPSIZE --shm-mlock-segment 1 --shm-zero-segment 1"
15+
else
16+
ARGS_ALL+=" --shm-segment-size $SHMSIZE"
17+
fi
1218

13-
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"
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

prodtests/full-system-test/start_tmux.sh

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,30 @@ source $MYDIR/setenv.sh
1212
export NGPUS=4
1313
export GPUTYPE=HIP
1414
export SHMSIZE=$(( 128 << 30 ))
15+
export DDSHMSIZE=$(( 64 << 10 ))
16+
export GPUMEMSIZE=$(( 24 << 30 ))
1517
export NUMAGPUIDS=1
1618
export EXTINPUT=1
1719
export EPNPIPELINES=1
1820
export SYNCMODE=1
1921
export SHMTHROW=0
22+
export SEVERITY=error
2023

2124
if [ $1 == "dd" ]; then
2225
export CMD=datadistribution.sh
2326
else
2427
export CMD=raw-reader.sh
28+
export NTIMEFRAMES=1000000
29+
fi
30+
31+
if [ ! -f matbud.root -a -f ctf_dictionary.root ]; then
32+
echo matbud.root or ctf_dictionary.root missing
33+
exit 1
2534
fi
2635

2736
rm -f /dev/shm/*fmq*
2837

2938
tmux \
30-
new-session "NUMAID=0 numactl --membind 0 --cpunodebind 0 $MYDIR/dpl-workflow.sh" \; \
31-
split-window "NUMAID=1 numactl --membind 1 --cpunodebind 1 $MYDIR/dpl-workflow.sh" \; \
32-
split-window "sleep 30; numactl --cpunodebind 0 --interleave=all $MYDIR/$CMD"
39+
new-session "NUMAID=0 numactl --membind 0 --cpunodebind 0 $MYDIR/dpl-workflow.sh; echo END; sleep 1000" \; \
40+
split-window "sleep 30; NUMAID=1 numactl --membind 1 --cpunodebind 1 $MYDIR/dpl-workflow.sh; echo END; sleep 1000" \; \
41+
split-window "sleep 60; numactl --interleave=all $MYDIR/$CMD; echo END; sleep 1000"

0 commit comments

Comments
 (0)