3 # Max xseg ports supported by segment
8 # Start port of xsegbd devices
10 # End port of xsegbd devices
13 # Start of port range that can be used by the vlmc tool
15 # End of port range that can be used by the vlmc tool
18 # (peer role, peer type)
19 # Mandatory peer roles:
25 # Available peer types:
31 # Order matters. Peers will be started with list order and stopped with reversed
34 roles = [('blockerb', 'file_blocker'),
35 ('blockerm', 'file_blocker'),
36 ('mapperd', 'mapperd'),
39 # Generic peer options
40 # portno_start: Start of port range that will be used by the peer
41 # portno_end: End of port range that will be used by the peer
42 # nr_ops: Max number of flying operations. Must be a power of 2.
43 # log_level: verbosity levels for each xseg peer
48 # Warning: debug level 3 logs A LOT!
49 # nr_threads: Number of threads of each peer. Currently only blockers supports
50 # threads with the following tricks:
51 # a) Threads in file_blocker are I/O threads that block.
52 # b) Threads in rados_blocker are processing threads. For lock
53 # congestion reasons, avoid setting them to a value larger than 4.
56 # file_blocker specific options:
58 # archip_dir: Where archipelago files will reside
59 # fdcache: Fd cache size
61 # rados_blocker specific options:
63 # pool: rados pool where objects will reside
71 'archip_dir': '/srv/archip/blocks',
81 'archip_dir': '/srv/archip/maps',
85 # mapperd specific options:
87 # blockerb_port: target port that will be used to communicate with the blockerb
88 # blockerm_port: target port that will be used to communicate with the blockerm
95 'blockerb_port': 1000,
99 # vlmcd specific options:
101 # blocker_port: target port that will be used to communicate with the blockerb
102 # mapper_port: target port that will be used to communicate with the mapper
109 'blocker_port': 1000,