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
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,13 @@ The parameters related to 3rd-party libraries are described here for convenience
48
48
| consumer-*| filterEquipmentIdsInclude | string || Defines a filter based on equipment ids. Only data belonging to the equipments in this list (coma separated values) are accepted. If empty, all equipment ids are fine. |
49
49
| consumer-*| filterLinksExclude | string || Defines a filter based on link ids. All data belonging to the links in this list (coma separated values) are rejected. |
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
+
| consumer-*| name | string|| Name used to identify this consumer (in logs). By default, it takes the name of the configuration section, consumer-xxx |
52
+
| consumer-*| numaNode | int | -1 | If set (>=0), memory / thread will try to use given NUMA node. |
51
53
| consumer-*| stopOnError | int | 0 | If 1, readout will stop automatically on consumer error. |
52
54
| consumer-data-sampling-*| address | string | ipc:///tmp/readout-pipe-1 | Address of the data sampling. |
53
55
| 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).|
54
56
| 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. |
55
-
| consumer-FairMQChannel-*| enablePackedCopy | int |0| If set, the same superpage may be reused (space allowing) for the copy of multiple HBF (instead of a separate one for each copy). This allows a reduced memoryPoolNumberOfPages. |
57
+
| consumer-FairMQChannel-*| enablePackedCopy | int |1| If set, the same superpage may be reused (space allowing) for the copy of multiple HBF (instead of a separate one for each copy). This allows a reduced memoryPoolNumberOfPages. |
56
58
| 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.|
57
59
| consumer-FairMQChannel-*| fmq-address | string | ipc:///tmp/pipe-readout | Address of the FMQ channel. Depends on transportType. c.f. FairMQ::FairMQChannel.h |
58
60
| consumer-FairMQChannel-*| fmq-name | string | readout | Name of the FMQ channel. c.f. FairMQ::FairMQChannel.h |
@@ -63,6 +65,7 @@ The parameters related to 3rd-party libraries are described here for convenience
63
65
| consumer-FairMQChannel-*| memoryPoolNumberOfPages | int | 100 | c.f. same parameter in bank-*. |
64
66
| consumer-FairMQChannel-*| memoryPoolPageSize | bytes | 128k | c.f. same parameter in bank-*. |
65
67
| consumer-FairMQChannel-*| sessionName | string | default | Name of the FMQ session. c.f. FairMQ::FairMQChannel.h |
68
+
| consumer-FairMQChannel-*| threads | int | 0 | If set, a pool of thread is created for the data processing. |
66
69
| 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. |
67
70
| 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.|
68
71
| 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. |
Copy file name to clipboardExpand all lines: doc/releaseNotes.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -484,3 +484,9 @@ This file describes the main feature changes for each readout.exe released versi
484
484
## v2.14.1 - 22/08/2022
485
485
- Updated configuration parameters:
486
486
- added consumer-FairMQChannel-*.threads. If set, a pool of threads is used for FMQ message formatting. Needed at high rates when a single CPU core is not enough to prepare data for DataDistribution (including overlapping HBF copy).
487
+
488
+
## v2.14.2 - 01/09/2022
489
+
- Updated configuration parameters:
490
+
- consumer-FairMQChannel-*.enablePackedCopy default changed to 1.
491
+
- Fix for running without packed copy (was crashing).
492
+
- In auto mode, get ROC numa node from /sys/bus/pci/devices because ROC library reports wrong value.
int enablePackedCopy = 0; // default mode for repacking of page overlapping HBF. 0 = one page per copy, 1 = change page on TF only
126
+
int enablePackedCopy = 1; // default mode for repacking of page overlapping HBF. 0 = one page per copy, 1 = change page on TF only
127
127
128
128
std::shared_ptr<MemoryBank> memBank; // a dedicated memory bank allocated by FMQ mechanism
129
129
std::shared_ptr<MemoryPagesPool> mp; // a memory pool from which to allocate data pages
@@ -364,7 +364,7 @@ class ConsumerFMQchannel : public Consumer
364
364
}
365
365
theLog.log(LogInfoDevel_(3008), "Using memory pool [%d]: %d pages x %d bytes", mp->getId(), memoryPoolNumberOfPages, memoryPoolPageSize);
366
366
367
-
// configuration parameter: | consumer-FairMQChannel-* | enablePackedCopy | int | 0 | If set, the same superpage may be reused (space allowing) for the copy of multiple HBF (instead of a separate one for each copy). This allows a reduced memoryPoolNumberOfPages. |
367
+
// configuration parameter: | consumer-FairMQChannel-* | enablePackedCopy | int | 1 | If set, the same superpage may be reused (space allowing) for the copy of multiple HBF (instead of a separate one for each copy). This allows a reduced memoryPoolNumberOfPages. |
0 commit comments