You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/configurationParameters.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,8 @@ The parameters related to 3rd-party libraries are described here for convenience
69
69
| consumer-FairMQChannel-*| memoryPoolNumberOfPages | int | 100 | c.f. same parameter in bank-*. |
70
70
| consumer-FairMQChannel-*| memoryPoolPageSize | bytes | 128k | c.f. same parameter in bank-*. |
71
71
| consumer-FairMQChannel-*| sessionName | string | default | Name of the FMQ session. c.f. FairMQ::FairMQChannel.h |
72
-
| consumer-FairMQChannel-*| threads | int | 0 | If set, a pool of thread is created for the data processing. |
72
+
| consumer-FairMQChannel-*| threads | int | 0 | If set, a pool of threads is created for the data processing. |
73
+
| consumer-FairMQChannel-*| threadsFifoSize | int | 0 | Incoming FIFO size for processing threads. By default, value is guessed. |
73
74
| consumer-FairMQChannel-*| unmanagedMemorySize | bytes || Size of the memory region to be created. c.f. FairMQ::FairMQUnmanagedRegion.h. If not set, no special FMQ memory region is created. |
74
75
| consumer-fileRecorder-*| bytesMax | bytes | 0 | Maximum number of bytes to write to each file. Data pages are never truncated, so if writing the full page would exceed this limit, no data from that page is written at all and file is closed. If zero (default), no maximum size set.|
75
76
| consumer-fileRecorder-*| dataBlockHeaderEnabled | int | 0 | Enable (1) or disable (0) the writing to file of the internal readout header (Readout DataBlock.h) between the data pages, to easily navigate through the file without RDH decoding. If disabled, the raw data pages received from CRU are written without further formatting. |
theLog.log(LogInfoDevel_(3008), "Using %d threads for DD formatting", nwThreads);
430
-
}
431
-
if (nwThreads) {
432
-
wThreadFifoSize = 88 / nwThreads; // 1s of buffer
429
+
// configuration parameter: | consumer-FairMQChannel-* | threadsFifoSize | int | 0 | Incoming FIFO size for processing threads. By default, value is guessed. |
430
+
wThreadFifoSize = memoryPoolNumberOfPages / nwThreads; // by default, enough slots to store all pages from this pool
Copy file name to clipboardExpand all lines: src/readoutConfigEditor.tcl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,8 @@ set configurationParametersDescriptor {
45
45
| consumer-FairMQChannel-* | memoryPoolNumberOfPages | int | 100 | c.f. same parameter in bank-*. |
46
46
| consumer-FairMQChannel-* | memoryPoolPageSize | bytes | 128k | c.f. same parameter in bank-*. |
47
47
| consumer-FairMQChannel-* | sessionName | string | default | Name of the FMQ session. c.f. FairMQ::FairMQChannel.h |
48
-
| consumer-FairMQChannel-* | threads | int | 0 | If set, a pool of thread is created for the data processing. |
48
+
| consumer-FairMQChannel-* | threads | int | 0 | If set, a pool of threads is created for the data processing. |
49
+
| consumer-FairMQChannel-* | threadsFifoSize | int | 0 | Incoming FIFO size for processing threads. By default, value is guessed. |
49
50
| consumer-FairMQChannel-* | unmanagedMemorySize | bytes | | Size of the memory region to be created. c.f. FairMQ::FairMQUnmanagedRegion.h. If not set, no special FMQ memory region is created. |
50
51
| consumer-fileRecorder-* | bytesMax | bytes | 0 | Maximum number of bytes to write to each file. Data pages are never truncated, so if writing the full page would exceed this limit, no data from that page is written at all and file is closed. If zero (default), no maximum size set.|
51
52
| consumer-fileRecorder-* | dataBlockHeaderEnabled | int | 0 | Enable (1) or disable (0) the writing to file of the internal readout header (Readout DataBlock.h) between the data pages, to easily navigate through the file without RDH decoding. If disabled, the raw data pages received from CRU are written without further formatting. |
0 commit comments