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
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ The parameters related to 3rd-party libraries are described here for convenience
50
50
| consumer-*| filterLinksInclude | string || Defines a filter based on link ids. Only data belonging to the links in this list (coma separated values) are accepted. If empty, all link ids are fine. |
51
51
| consumer-*| stopOnError | int | 0 | If 1, readout will stop automatically on consumer error. |
52
52
| consumer-data-sampling-*| address | string | ipc:///tmp/readout-pipe-1 | Address of the data sampling. |
53
+
| consumer-FairMQChannel-*| checkResources | string || Check beforehand if unmanaged region would fit in given list of resources. Comma-separated list of items to be checked: eg /dev/shm, MemFree, MemAvailable. (any filesystem path, and any /proc/meminfo entry).|
53
54
| consumer-FairMQChannel-*| disableSending | int | 0 | If set, no data is output to FMQ channel. Used for performance test to create FMQ shared memory segment without pushing the data. |
54
55
| consumer-FairMQChannel-*| enableRawFormat | int | 0 | If 0, data is pushed 1 STF header + 1 part per HBF. If 1, data is pushed in raw format without STF headers, 1 FMQ message per data page. If 2, format is 1 STF header + 1 part per data page.|
55
56
| consumer-FairMQChannel-*| fmq-address | string | ipc:///tmp/pipe-readout | Address of the FMQ channel. Depends on transportType. c.f. FairMQ::FairMQChannel.h |
@@ -87,6 +88,7 @@ The parameters related to 3rd-party libraries are described here for convenience
87
88
| consumer-zmq-*| address | string| tcp://127.0.0.1:50001 | ZMQ address where to publish (PUB) data pages, eg ipc://@readout-eventDump|
88
89
| consumer-zmq-*| maxRate | int| 0 | Maximum number of pages to publish per second. The associated memory copy has an impact on cpu load, so this should be limited when one does not use all the data (eg for eventDump). |
89
90
| consumer-zmq-*| pagesPerBurst | int | 1 | Number of consecutive pages guaranteed to be part of each publish sequence. The maxRate limit is checked at the end of each burst. |
91
+
| consumer-zmq-*| zmqOptions | string || Additional ZMQ options, as a comma-separated list of key=value pairs. Possible keys: ZMQ_CONFLATE, ZMQ_IO_THREADS, ZMQ_LINGER, ZMQ_SNDBUF, ZMQ_SNDHWM, ZMQ_SNDTIMEO. |
90
92
| equipment-*| blockAlign | bytes | 2M | Alignment of the beginning of the big memory block from which the pool is created. Pool will start at a multiple of this value. Each page will then begin at a multiple of memoryPoolPageSize from the beginning of big block. |
91
93
| equipment-*| consoleStatsUpdateTime | double | 0 | If set, number of seconds between printing statistics on console. |
92
94
| equipment-*| debugFirstPages | int | 0 | If set, print debug information for first (given number of) data pages readout. |
@@ -104,10 +106,10 @@ The parameters related to 3rd-party libraries are described here for convenience
104
106
| equipment-*| rdhCheckEnabled | int | 0 | If set, data pages are parsed and RDH headers checked. Errors are reported in logs. |
105
107
| equipment-*| rdhDumpEnabled | int | 0 | If set, data pages are parsed and RDH headers summary printed. Setting a negative number will print only the first N RDH.|
106
108
| equipment-*| rdhDumpErrorEnabled | int | 1 | If set, a log message is printed for each RDH header error found.|
107
-
| equipment-*| rdhDumpWarningEnabled | int |0| If set, a log message is printed for each RDH header warning found.|
108
-
| equipment-*| rdhUseFirstInPageEnabled | int | 0 | If set, the first RDH in each data page is used to populate readout headers (e.g. linkId).|
109
-
| equipment-*| saveErrorPagesMax | int | 0 | If set, pages found with data error are saved to disk up to given maximum. |
110
-
| equipment-*| saveErrorPagesPath | string || Path where to save data pages with errors (when feature enabled). |
109
+
| equipment-*| rdhDumpWarningEnabled | int |1| If set, a log message is printed for each RDH header warning found.|
110
+
| equipment-*| rdhUseFirstInPageEnabled | int | 0 or 1 | If set, the first RDH in each data page is used to populate readout headers (e.g. linkId). Default is 1 for equipments generating data with RDH, 0 otherwsise. |
111
+
| equipment-*| saveErrorPagesMax | int | 0 | If set, pages found with data error are saved to disk up to given maximum. |
112
+
| equipment-*| saveErrorPagesPath | string || Path where to save data pages with errors (when feature enabled). |
111
113
| equipment-*| stopOnError | int | 0 | If 1, readout will stop automatically on equipment error. |
112
114
| equipment-*| TFperiod | int | 256 | Duration of a timeframe, in number of LHC orbits. |
113
115
| equipment-cruemulator-*| cruBlockSize | int | 8192 | Size of a RDH block. |
@@ -136,10 +138,13 @@ The parameters related to 3rd-party libraries are described here for convenience
136
138
| equipment-rorc-*| debugStatsEnabled | int | 0 | If set, enable extra statistics about internal buffers status. (printed to stdout when stopping) |
137
139
| equipment-rorc-*| firmwareCheckEnabled | int | 1 | If set, RORC driver checks compatibility with detected firmware. Use 0 to bypass this check (eg new fw version not yet recognized by ReadoutCard version). |
138
140
| equipment-zmq-*| address | string || Address of remote server to connect, eg tcp://remoteHost:12345. |
141
+
| equipment-zmq-*| mode | string | stream | Possible values: stream (1 input ZMQ message = 1 output data page), snapshot (last ZMQ message = one output data page per TF). |
139
142
| equipment-zmq-*| timeframeClientUrl | string || The address to be used to retrieve current timeframe. When set, data is published only once for each TF id published by remote server. |
143
+
| equipment-zmq-*| type | string | SUB | Type of ZMQ socket to use to get data (PULL, SUB). |
140
144
| readout | aggregatorSliceTimeout | double | 0 | When set, slices (groups) of pages are flushed if not updated after given timeout (otherwise closed only on beginning of next TF, or on stop). |
141
145
| readout | aggregatorStfTimeout | double | 0 | When set, subtimeframes are buffered until timeout (otherwise, sent immediately and independently for each data source). |
142
146
| readout | disableAggregatorSlicing | int | 0 | When set, the aggregator slicing is disabled, data pages are passed through without grouping/slicing. |
147
+
| readout | disableTimeframes | int | 0 | When set, all timeframe related features are disabled (this may supersede other config parameters). |
143
148
| readout | exitTimeout | double | -1 | Time in seconds after which the program exits automatically. -1 for unlimited. |
144
149
| readout | flushEquipmentTimeout | double | 1 | Time in seconds to wait for data once the equipments are stopped. 0 means stop immediately. |
145
150
| readout | logbookApiToken | string || The token to be used for the logbook API. |
Copy file name to clipboardExpand all lines: src/readoutConfigEditor.tcl
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ set configurationParametersDescriptor {
28
28
| consumer-* | filterLinksInclude | string | | Defines a filter based on link ids. Only data belonging to the links in this list (coma separated values) are accepted. If empty, all link ids are fine. |
29
29
| consumer-* | stopOnError | int | 0 | If 1, readout will stop automatically on consumer error. |
30
30
| consumer-data-sampling-* | address | string | ipc:///tmp/readout-pipe-1 | Address of the data sampling. |
31
+
| consumer-FairMQChannel-* | checkResources | string | | Check beforehand if unmanaged region would fit in given list of resources. Comma-separated list of items to be checked: eg /dev/shm, MemFree, MemAvailable. (any filesystem path, and any /proc/meminfo entry).|
31
32
| consumer-FairMQChannel-* | disableSending | int | 0 | If set, no data is output to FMQ channel. Used for performance test to create FMQ shared memory segment without pushing the data. |
32
33
| consumer-FairMQChannel-* | enableRawFormat | int | 0 | If 0, data is pushed 1 STF header + 1 part per HBF. If 1, data is pushed in raw format without STF headers, 1 FMQ message per data page. If 2, format is 1 STF header + 1 part per data page.|
33
34
| consumer-FairMQChannel-* | fmq-address | string | ipc:///tmp/pipe-readout | Address of the FMQ channel. Depends on transportType. c.f. FairMQ::FairMQChannel.h |
@@ -65,6 +66,7 @@ set configurationParametersDescriptor {
65
66
| consumer-zmq-* | address | string| tcp://127.0.0.1:50001 | ZMQ address where to publish (PUB) data pages, eg ipc://@readout-eventDump |
66
67
| consumer-zmq-* | maxRate | int| 0 | Maximum number of pages to publish per second. The associated memory copy has an impact on cpu load, so this should be limited when one does not use all the data (eg for eventDump). |
67
68
| consumer-zmq-* | pagesPerBurst | int | 1 | Number of consecutive pages guaranteed to be part of each publish sequence. The maxRate limit is checked at the end of each burst. |
69
+
| consumer-zmq-* | zmqOptions | string | | Additional ZMQ options, as a comma-separated list of key=value pairs. Possible keys: ZMQ_CONFLATE, ZMQ_IO_THREADS, ZMQ_LINGER, ZMQ_SNDBUF, ZMQ_SNDHWM, ZMQ_SNDTIMEO. |
68
70
| equipment-* | blockAlign | bytes | 2M | Alignment of the beginning of the big memory block from which the pool is created. Pool will start at a multiple of this value. Each page will then begin at a multiple of memoryPoolPageSize from the beginning of big block. |
69
71
| equipment-* | consoleStatsUpdateTime | double | 0 | If set, number of seconds between printing statistics on console. |
70
72
| equipment-* | debugFirstPages | int | 0 | If set, print debug information for first (given number of) data pages readout. |
@@ -82,10 +84,10 @@ set configurationParametersDescriptor {
82
84
| equipment-* | rdhCheckEnabled | int | 0 | If set, data pages are parsed and RDH headers checked. Errors are reported in logs. |
83
85
| equipment-* | rdhDumpEnabled | int | 0 | If set, data pages are parsed and RDH headers summary printed. Setting a negative number will print only the first N RDH.|
84
86
| equipment-* | rdhDumpErrorEnabled | int | 1 | If set, a log message is printed for each RDH header error found.|
85
-
| equipment-* | rdhDumpWarningEnabled | int | 0 | If set, a log message is printed for each RDH header warning found.|
86
-
| equipment-* | rdhUseFirstInPageEnabled | int | 0 | If set, the first RDH in each data page is used to populate readout headers (e.g. linkId).|
87
-
| equipment-* | saveErrorPagesMax | int | 0 | If set, pages found with data error are saved to disk up to given maximum. |
88
-
| equipment-* | saveErrorPagesPath | string | | Path where to save data pages with errors (when feature enabled). |
87
+
| equipment-* | rdhDumpWarningEnabled | int | 1 | If set, a log message is printed for each RDH header warning found.|
88
+
| equipment-* | rdhUseFirstInPageEnabled | int | 0 or 1 | If set, the first RDH in each data page is used to populate readout headers (e.g. linkId). Default is 1 for equipments generating data with RDH, 0 otherwsise. |
89
+
| equipment-* | saveErrorPagesMax | int | 0 | If set, pages found with data error are saved to disk up to given maximum. |
90
+
| equipment-* | saveErrorPagesPath | string | | Path where to save data pages with errors (when feature enabled). |
89
91
| equipment-* | stopOnError | int | 0 | If 1, readout will stop automatically on equipment error. |
90
92
| equipment-* | TFperiod | int | 256 | Duration of a timeframe, in number of LHC orbits. |
91
93
| equipment-cruemulator-* | cruBlockSize | int | 8192 | Size of a RDH block. |
@@ -114,10 +116,13 @@ set configurationParametersDescriptor {
114
116
| equipment-rorc-* | debugStatsEnabled | int | 0 | If set, enable extra statistics about internal buffers status. (printed to stdout when stopping) |
115
117
| equipment-rorc-* | firmwareCheckEnabled | int | 1 | If set, RORC driver checks compatibility with detected firmware. Use 0 to bypass this check (eg new fw version not yet recognized by ReadoutCard version). |
116
118
| equipment-zmq-* | address | string | | Address of remote server to connect, eg tcp://remoteHost:12345. |
119
+
| equipment-zmq-* | mode | string | stream | Possible values: stream (1 input ZMQ message = 1 output data page), snapshot (last ZMQ message = one output data page per TF). |
117
120
| equipment-zmq-* | timeframeClientUrl | string | | The address to be used to retrieve current timeframe. When set, data is published only once for each TF id published by remote server. |
121
+
| equipment-zmq-* | type | string | SUB | Type of ZMQ socket to use to get data (PULL, SUB). |
118
122
| readout | aggregatorSliceTimeout | double | 0 | When set, slices (groups) of pages are flushed if not updated after given timeout (otherwise closed only on beginning of next TF, or on stop). |
119
123
| readout | aggregatorStfTimeout | double | 0 | When set, subtimeframes are buffered until timeout (otherwise, sent immediately and independently for each data source). |
120
124
| readout | disableAggregatorSlicing | int | 0 | When set, the aggregator slicing is disabled, data pages are passed through without grouping/slicing. |
125
+
| readout | disableTimeframes | int | 0 | When set, all timeframe related features are disabled (this may supersede other config parameters). |
121
126
| readout | exitTimeout | double | -1 | Time in seconds after which the program exits automatically. -1 for unlimited. |
122
127
| readout | flushEquipmentTimeout | double | 1 | Time in seconds to wait for data once the equipments are stopped. 0 means stop immediately. |
123
128
| readout | logbookApiToken | string | | The token to be used for the logbook API. |
0 commit comments