@@ -124,8 +124,10 @@ STF_BUILDER+=" $CHECKRDH"
124124STF_BUILDER+=" --io-threads $IO_THREADS "
125125STF_BUILDER+=" --detector $DETECTOR "
126126STF_BUILDER+=" --detector-rdh 4"
127- STF_BUILDER+=" --monitoring-rate =1.0"
127+ STF_BUILDER+=" --monitoring-interval =1.0"
128128STF_BUILDER+=" --monitoring-log"
129+ STF_BUILDER+=" --discovery-partition=$PARTITION "
130+ # STF_BUILDER+=" --run-type=topology"
129131
130132if [[ ! -z $STF_BUILDER_DPL_CHAN ]]; then
131133 STF_BUILDER+=" --dpl-channel-name=$STF_BUILDER_DPL_CHAN "
@@ -147,15 +149,16 @@ STF_SENDER="StfSender"
147149STF_SENDER+=" --discovery-net-if=$FLP_NETIF "
148150STF_SENDER+=" --discovery-partition=$PARTITION "
149151STF_SENDER+=" --mq-config $chainConfig "
150- STF_SENDER+=" --monitoring-rate=5 .0"
152+ STF_SENDER+=" --monitoring-interval=2 .0"
151153STF_SENDER+=" --monitoring-log"
152154
153155TF_BUILDER=" TfBuilder"
154156TF_BUILDER+=" --discovery-net-if=$EPN_NETIF "
155157TF_BUILDER+=" --discovery-partition=$PARTITION "
156158TF_BUILDER+=" --mq-config $chainConfig "
157- TF_BUILDER+=" --monitoring-rate=1 .0"
159+ TF_BUILDER+=" --monitoring-interval=5 .0"
158160TF_BUILDER+=" --monitoring-log"
161+ TF_BUILDER+=" --stand-alone"
159162
160163if [[ ! -z $TF_BUILDER_DPL_CHAN ]]; then
161164 TF_BUILDER+=" --dpl-channel-name=$TF_BUILDER_DPL_CHAN "
175178
176179TF_SCHEDULER=" TfScheduler"
177180TF_SCHEDULER+=" --discovery-net-if=$EPN_NETIF "
181+ TF_SCHEDULER+=" --monitoring-interval=2.0"
182+ TF_SCHEDULER+=" --monitoring-log"
178183
179184echo " $STF_BUILDER "
180185echo " $STF_SENDER "
@@ -239,10 +244,33 @@ else
239244 split-window \
240245 " source $ENV_VAR_FILE ; numactl --interleave=all $TF_BUILDER --id tf_builder-0 --discovery-id=epn0 --session epn-s0; read" \; \
241246 select-layout even-horizontal
247+ fi
248+
249+ if [[ $FLP_CNT -gt 1 ]]; then
250+ FLP_ID_LIST+=" ;flp1"
251+ tmux -CC \
252+ new-window \
253+ " source $ENV_VAR_FILE ; $READOUT $READOUT_PARAM_1 ; read" \; \
254+ split-window \
255+ " source $ENV_VAR_FILE ; $STF_BUILDER --id stf_builder-1 --session flp-s1; read" \; \
256+ split-window \
257+ " source $ENV_VAR_FILE ; $STF_SENDER --id stf_sender-1 --discovery-id=flp1 --session flp-s1; read" \; \
258+ select-layout even-horizontal
259+ fi
242260
243- sleep 2
244- rm " $ENV_VAR_FILE "
261+ # NOTE: does not work with the updated configuration
262+ # cat $ENV_VAR_FILE
263+ if [[ $EPN_CNT -gt 1 ]]; then
264+ tmux -CC \
265+ split-window \
266+ " source $ENV_VAR_FILE ; numactl --interleave=all $TF_BUILDER --id tf_builder-1 --discovery-id=epn1 --session epn-s1; read" \; \
267+ select-layout even-horizontal
268+
269+ # "source $ENV_VAR_FILE; numactl --interleave=all gdb --args $TF_BUILDER --id tf_builder-1 --discovery-id=epn1 --session epn-s1; read" \; \
245270 fi
271+
272+ sleep 2
273+ rm " $ENV_VAR_FILE "
246274fi
247275
248276
0 commit comments