From 0b438fb171cdca51d13c65a619f452b5dd59c4b2 Mon Sep 17 00:00:00 2001 From: Michael Traxler Date: Thu, 14 Nov 2013 13:37:55 +0100 Subject: [PATCH] added information about perl-Gtk2 for old setups and about sysctl -w net.core.rmem_max --- trb3/trb3qs_daqstartup.tex | 17 +++++++++++++++-- trb3/trb3qs_suse.tex | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/trb3/trb3qs_daqstartup.tex b/trb3/trb3qs_daqstartup.tex index 6d1ee2c..494d5c2 100644 --- a/trb3/trb3qs_daqstartup.tex +++ b/trb3/trb3qs_daqstartup.tex @@ -28,9 +28,22 @@ is set correctly. To start taking a file we need to run event builder. There are two programs which must be run on the same machine. It is important to run both in the same -disk location. What more, to allow them to communicate each other you need to -set the same string key. So in the first terminal we run +directory as they use shared memory via files. What more, to allow them to +communicate each other you need to set the same ``system'' name via the -S +option. +The eventbuilders need large receive buffers, which they only can allocate if the +system allows them to do this. +The command (as root) to set the buffers is: +\begin{lstlisting} +$ sysctl -w net.core.rmem_max=10485760 +\end{lstlisting} +And permanently (persistent after reboot) one can change this file: +\begin{lstlisting} +/etc/sysctl.conf +\end{lstlisting} + +So, to run the eventbuilders, we have to run in one terminal \begin{lstlisting}[label=,caption=Running Event Builder{,} part 1] cd ~ daq_evtbuild -m 1 -o /hldfiles -x te -I 1 --ebnum 1 -q 32 -S test -d file diff --git a/trb3/trb3qs_suse.tex b/trb3/trb3qs_suse.tex index 3d39623..fa09b7b 100644 --- a/trb3/trb3qs_suse.tex +++ b/trb3/trb3qs_suse.tex @@ -52,7 +52,7 @@ Some additional packages you need: sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.3/ "download.opensuse.org-perl" sudo zypper ref -sudo zypper install perl-IPC-ShareLite perl-Log-Log4perl perl-Log-Dispatch perl-Data-TreeDumper perl-File-chdir perl-Hash-FieldHash perl-Text-TabularDisplay perl-Text-TabularDisplay perl-JSONperl-qt4-devel gnuplot perl-Config-Auto automake autoconf gcc gcc-c++ make dhcp-server rcs git tcl-devel libqt4-devel xorg-x11-devel +sudo zypper install perl-IPC-ShareLite perl-Log-Log4perl perl-Log-Dispatch perl-Data-TreeDumper perl-File-chdir perl-Hash-FieldHash perl-Text-TabularDisplay perl-Text-TabularDisplay perl-JSONperl-qt4-devel perl-Gtk2 gnuplot perl-Config-Auto automake autoconf gcc gcc-c++ make dhcp-server rcs git tcl-devel libqt4-devel xorg-x11-devel \end{lstlisting} -- 2.43.0