mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
Merge branch 'refactor' of github.com:slsdetectorgroup/slsDetectorPackage into refactor
This commit is contained in:
commit
6cb043b2d9
BIN
manual/manual-client/Eiger-Chips.png
Normal file
BIN
manual/manual-client/Eiger-Chips.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
@ -156,6 +156,14 @@ outdir /sls/X12SA/data/x12saop/Data10/Eiger0.5M
|
||||
threaded 1
|
||||
\end{verbatim}
|
||||
|
||||
The geometry on af an EIGER module, showing the quadrants corresponding to the udp ports and the 2 receivers is shown in figure~\ref{fig:eigerports}.
|
||||
\begin{figure}[t]
|
||||
\begin{center}
|
||||
\includegraphics[width=0.9\textwidth]{Eiger-Chips}
|
||||
\end{center}
|
||||
\caption{Geometry of UDP ports and receivers in a singel module.}
|
||||
\label{fig:eigerports}
|
||||
\end{figure}
|
||||
|
||||
In the case you are developing your own receiver, then you need to remove the 1Gb receiver hostname {\tt{rx\_hostname}} and substitute it with the mac address of the device:
|
||||
\begin{verbatim}
|
||||
@ -163,7 +171,6 @@ configuremac 0
|
||||
rx_udpmac xx:xx:...
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
One can configure all the detector settings in a parameter file {\tt{setup.det}}, which is loaded by doing:
|
||||
\begin{verbatim}
|
||||
sls_detector_put 0-parameters setup.det
|
||||
@ -712,7 +719,7 @@ To activate back a module, do:
|
||||
\end{verbatim}
|
||||
|
||||
\end{itemize}
|
||||
\subsection{Setting up 10Gb correctly: experience so far}\label{10g}
|
||||
\section{Setting up the PC settings for 10Gb}\label{10g}
|
||||
|
||||
For configuring well the 10Gb card not to loose packets,
|
||||
\begin{itemize}
|
||||
@ -734,7 +741,29 @@ Very important is to activate the flow control in 10Gb (in 1Gb it is on by defau
|
||||
\begin{verbatim}
|
||||
./sls_detector_put flowcontrol_10g 1
|
||||
\end{verbatim}
|
||||
Set the transmission delays as explained in the manual.
|
||||
You ned to check that flow control is setup on the reeceiving interfaces. Check with:
|
||||
\begin{verbatim}
|
||||
ethtool -a eth1
|
||||
\end{verbatim}
|
||||
.RX should be ON. Set the transmission delays as explained in the manual if necessary. These transmission delays should help matching teh writing speed performance of your disk. You can check how fast you are writing using the {\tt{dstat}} command.
|
||||
|
||||
Now setup the computer server propery:
|
||||
Check the size of:
|
||||
\begin{verbatim}
|
||||
sysctl -a | grep backlog
|
||||
sysctl -a | grep rmem
|
||||
\end{verbatim}
|
||||
Set it correctly with:
|
||||
\begin{verbatim}
|
||||
sysctl net.core.netdev_max_backlog=250000
|
||||
sysctl net.core.rmem_default=$((100*1024*1024))
|
||||
\end{verbatim}
|
||||
|
||||
Last, you can disable power saving in teh CPU frequency:
|
||||
\begin{verbatim}
|
||||
cpupower frequency-info
|
||||
cpupower frequency-set -g performance
|
||||
\end{verbatim}
|
||||
|
||||
It can help to increase the fifo size of the receiver to {\tt{rx\_fifodepth}} to 1000 images
|
||||
\begin{verbatim}
|
||||
@ -758,6 +787,9 @@ mount -t tmpfs none /mnt/ramdisk -o size=10G
|
||||
\end{verbatim}
|
||||
check how many GB memory you can allocate, to avoid swapping otherwise
|
||||
|
||||
|
||||
|
||||
|
||||
\section{Offline processing and monitoring}
|
||||
|
||||
\subsection{Data out of the detector: UDP packets}\label{UDP}
|
||||
|
Loading…
x
Reference in New Issue
Block a user