mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-04 12:48:41 +02:00
adding Alvra 16M in form of 4M; JF02-stream moved away from overloaded core
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# != 1 ]
|
||||
then
|
||||
systemctl start JF06_4M-buffer-worker@{00..31}
|
||||
exit
|
||||
fi
|
||||
|
||||
M=$1
|
||||
|
||||
# Add ourselves to the user cpuset.
|
||||
# echo $$ > /sys/fs/cgroup/cpuset/user/tasks
|
||||
|
||||
coreAssociatedBuffer=(22 23 24 25 26 27 28 29)
|
||||
|
||||
initialUDPport=50060
|
||||
port=$((${initialUDPport}+10#${M}))
|
||||
DETECTOR=JF06T08V01
|
||||
|
||||
taskset -c ${coreAssociatedBuffer[10#${M}]} /usr/bin/sf_buffer ${DETECTOR} M${M} ${port} /gpfs/photonics/swissfel/buffer/${DETECTOR} ${M}
|
||||
Reference in New Issue
Block a user