Skip to content

Commit 43582c8

Browse files
committed
added memory banks and monitoring to local infologger
1 parent c3b09df commit 43582c8

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

readout.cfg

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,21 @@ enabled=0
3434
class=MockInjector
3535

3636

37+
###################################
38+
# memory banks
39+
###################################
40+
# All section names should start with 'bank-' to be taken into account.
41+
# They define memory to be allocated to readout
42+
# If bank name not specified in each equipment, the first available bank (created first) will be used.
43+
# Types of memory banks include: malloc, MemoryMappedFile
44+
# NB: the FairMQChannel consumers may also create some banks, which will not be
45+
# listed here, and created before them.
46+
47+
[bank-default]
48+
type=malloc
49+
size=128M
50+
51+
3752

3853
###################################
3954
# equipments
@@ -53,13 +68,18 @@ equipmentType=dummy
5368
enabled=1
5469
eventMaxSize=20000
5570
eventMinSize=10000
71+
memoryPoolNumberOfPages=100
72+
memoryPoolPageSize=128k
5673

5774
[equipment-dummy-2]
5875
name=dummy-2
5976
equipmentType=dummy
6077
enabled=1
6178
eventMaxSize=30000
6279
eventMinSize=20000
80+
memoryPoolNumberOfPages=100
81+
memoryPoolPageSize=128k
82+
6383

6484

6585

@@ -103,10 +123,9 @@ cardId=86:00.0
103123
consumerType=stats
104124
enabled=1
105125
# this publishes stats, if enabled, to O2 monitoring system
106-
monitoringEnabled=0
126+
monitoringEnabled=1
107127
monitoringUpdatePeriod=5
108-
monitoringConfig=file:/etc/monitoring.cfg
109-
128+
monitoringURI=infologger://
110129

111130

112131
# recording to file

0 commit comments

Comments
 (0)