Difference between revisions of "How to setup ejfat nodes"

From epsciwiki
Jump to navigation Jump to search
Line 3: Line 3:
 
# Install ZMQ with:<pre>sudo apt install libzmq3-dev</pre>
 
# Install ZMQ with:<pre>sudo apt install libzmq3-dev</pre>
 
# For ERSAP install protobuf:<pre>sudo apt install libprotobuf-dev protobuf-compiler</pre>
 
# For ERSAP install protobuf:<pre>sudo apt install libprotobuf-dev protobuf-compiler</pre>
 +
# For increased UDP buffer sizes:
 +
##write into sysctl.conf<pre>net.core.rmem_max=25000000</pre><pre>net.core.wmem_max=25000000</pre>
 +
##make it immediately effective by executing:<pre>sudo sysctl -w net.core.rmem_max=25000000</pre><pre>sudo sysctl -w net.core.wmem_max=25000000</pre>
 
# Mounting /daqfs:
 
# Mounting /daqfs:
 
## sudo mkdir /daqfs
 
## sudo mkdir /daqfs

Revision as of 21:03, 29 November 2022

  1. Install BOOST with:
    sudo apt-get install lib boost-all-dev
  2. Install ZMQ with:
    sudo apt install libzmq3-dev
  3. For ERSAP install protobuf:
    sudo apt install libprotobuf-dev protobuf-compiler
  4. For increased UDP buffer sizes:
    1. write into sysctl.conf
      net.core.rmem_max=25000000
      net.core.wmem_max=25000000
    2. make it immediately effective by executing:
      sudo sysctl -w net.core.rmem_max=25000000
      sudo sysctl -w net.core.wmem_max=25000000
  5. Mounting /daqfs:
    1. sudo mkdir /daqfs
    2. edit /etc/fstab to include the line:
      dubhe:/raid/daqfs          nfs     rw,bg           0       0
    3. sudo apt-get install nfs-common
    4. sudo mount /daqfs