3 # Max xseg ports supported by segment
5 SEGMENT_DYNPORTS = 1024
10 # Start port of xsegbd devices
12 # End port of xsegbd devices
15 # Start of port range that can be used by the vlmc tool
17 # End of port range that can be used by the vlmc tool
20 # (peer role, peer type)
21 # Mandatory peer roles:
27 # Available peer types:
33 # Order matters. Peers will be started with list order and stopped with reversed
36 roles = [('blockerb', 'file_blocker'),
37 ('blockerm', 'file_blocker'),
38 ('mapperd', 'mapperd'),
41 # Generic peer options
42 # portno_start: Start of port range that will be used by the peer
43 # portno_end: End of port range that will be used by the peer
44 # nr_ops: Max number of flying operations. Must be a power of 2.
45 # log_level: verbosity levels for each xseg peer
50 # Warning: debug level 3 logs A LOT!
51 # nr_threads: Number of threads of each peer. Currently only blockers supports
52 # threads with the following tricks:
53 # a) Threads in file_blocker are I/O threads that block.
54 # b) Threads in rados_blocker are processing threads. For lock
55 # congestion reasons, avoid setting them to a value larger than 4.
58 # file_blocker specific options:
60 # archip_dir: Where archipelago files will reside
61 # fdcache: Fd cache size
63 # rados_blocker specific options:
65 # pool: rados pool where objects will reside
73 'archip_dir': '/srv/archip/blocks',
84 'archip_dir': '/srv/archip/maps',
89 # mapperd specific options:
91 # blockerb_port: target port that will be used to communicate with the blockerb
92 # blockerm_port: target port that will be used to communicate with the blockerm
99 'blockerb_port': 1000,
100 'blockerm_port': 1002
103 # vlmcd specific options:
105 # blocker_port: target port that will be used to communicate with the blockerb
106 # mapper_port: target port that will be used to communicate with the mapper
113 'blocker_port': 1000,