2012-09-24 04:55:53 +00:00
|
|
|
===========
|
|
|
|
Messaging
|
|
|
|
===========
|
|
|
|
|
2016-11-22 11:04:27 +00:00
|
|
|
General Settings
|
|
|
|
================
|
2012-09-24 04:55:53 +00:00
|
|
|
|
|
|
|
``ms tcp nodelay``
|
|
|
|
|
2012-12-04 22:48:35 +00:00
|
|
|
:Description: Disables nagle's algorithm on messenger tcp sessions.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: Boolean
|
|
|
|
:Required: No
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
|
|
|
``ms initial backoff``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: The initial time to wait before reconnecting on a fault.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: Double
|
|
|
|
:Required: No
|
|
|
|
:Default: ``.2``
|
|
|
|
|
|
|
|
|
|
|
|
``ms max backoff``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: The maximum time to wait before reconnecting on a fault.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: Double
|
|
|
|
:Required: No
|
|
|
|
:Default: ``15.0``
|
|
|
|
|
|
|
|
|
|
|
|
``ms nocrc``
|
|
|
|
|
2012-12-04 22:48:35 +00:00
|
|
|
:Description: Disables crc on network messages. May increase performance if cpu limited.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: Boolean
|
|
|
|
:Required: No
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
|
|
|
``ms die on bad msg``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: Debug option; do not configure.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: Boolean
|
|
|
|
:Required: No
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
|
|
|
``ms dispatch throttle bytes``
|
|
|
|
|
2012-12-04 22:48:35 +00:00
|
|
|
:Description: Throttles total size of messages waiting to be dispatched.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: 64-bit Unsigned Integer
|
|
|
|
:Required: No
|
|
|
|
:Default: ``100 << 20``
|
|
|
|
|
|
|
|
|
|
|
|
``ms bind ipv6``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: Enable if you want your daemons to bind to IPv6 address instead of IPv4 ones. (Not required if you specify a daemon or cluster IP.)
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: Boolean
|
|
|
|
:Required: No
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
|
|
|
``ms rwthread stack bytes``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: Debug option for stack size; do not configure.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: 64-bit Unsigned Integer
|
|
|
|
:Required: No
|
|
|
|
:Default: ``1024 << 10``
|
|
|
|
|
|
|
|
|
|
|
|
``ms tcp read timeout``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: Controls how long (in seconds) the messenger will wait before closing an idle connection.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: 64-bit Unsigned Integer
|
|
|
|
:Required: No
|
|
|
|
:Default: ``900``
|
|
|
|
|
|
|
|
|
|
|
|
``ms inject socket failures``
|
|
|
|
|
2012-12-04 22:43:45 +00:00
|
|
|
:Description: Debug option; do not configure.
|
2012-09-24 04:55:53 +00:00
|
|
|
:Type: 64-bit Unsigned Integer
|
|
|
|
:Required: No
|
|
|
|
:Default: ``0``
|
2016-11-22 11:04:27 +00:00
|
|
|
|
|
|
|
Async messenger options
|
|
|
|
=======================
|
|
|
|
|
|
|
|
|
|
|
|
``ms async transport type``
|
|
|
|
|
|
|
|
:Description: Transport type used by Async Messenger. Can be ``posix``, ``dpdk``
|
|
|
|
or ``rdma``. Posix uses standard TCP/IP networking and is default.
|
|
|
|
Other transports may be experimental and support may be limited.
|
|
|
|
:Type: String
|
|
|
|
:Required: No
|
|
|
|
:Default: ``posix``
|
|
|
|
|
|
|
|
|
|
|
|
``ms async op threads``
|
|
|
|
|
|
|
|
:Description: Initial number of worker threads used by each Async Messenger instance.
|
|
|
|
Should be at least equal to highest number of replicas, but you can
|
2017-07-27 16:46:53 +00:00
|
|
|
decrease it if you are low on CPU core count and/or you host a lot of
|
2016-11-22 11:04:27 +00:00
|
|
|
OSDs on single server.
|
|
|
|
:Type: 64-bit Unsigned Integer
|
|
|
|
:Required: No
|
|
|
|
:Default: ``3``
|
|
|
|
|
|
|
|
|
|
|
|
``ms async max op threads``
|
|
|
|
|
|
|
|
:Description: Maximum number of worker threads used by each Async Messenger instance.
|
|
|
|
Set to lower values when your machine has limited CPU count, and increase
|
|
|
|
when your CPUs are underutilized (i. e. one or more of CPUs are
|
|
|
|
constantly on 100% load during I/O operations).
|
|
|
|
:Type: 64-bit Unsigned Integer
|
|
|
|
:Required: No
|
|
|
|
:Default: ``5``
|
|
|
|
|
|
|
|
|
|
|
|
``ms async set affinity``
|
|
|
|
|
|
|
|
:Description: Set to true to bind Async Messenger workers to particular CPU cores.
|
|
|
|
:Type: Boolean
|
|
|
|
:Required: No
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
|
|
|
``ms async affinity cores``
|
|
|
|
|
|
|
|
:Description: When ``ms async set affinity`` is true, this string specifies how Async
|
|
|
|
Messenger workers are bound to CPU cores. For example, "0,2" will bind
|
|
|
|
workers #1 and #2 to CPU cores #0 and #2, respectively.
|
|
|
|
NOTE: when manually setting affinity, make sure to not assign workers to
|
|
|
|
processors that are virtual CPUs created as an effect of Hyperthreading
|
2017-07-27 16:46:53 +00:00
|
|
|
or similar technology, because they are slower than regular CPU cores.
|
2016-11-22 11:04:27 +00:00
|
|
|
:Type: String
|
|
|
|
:Required: No
|
|
|
|
:Default: ``(empty)``
|
|
|
|
|
|
|
|
|
|
|
|
``ms async send inline``
|
|
|
|
|
|
|
|
:Description: Send messages directly from the thread that generated them instead of
|
|
|
|
queuing and sending from Async Messenger thread. This option is known
|
|
|
|
to decrease performance on systems with a lot of CPU cores, so it's
|
|
|
|
disabled by default.
|
|
|
|
:Type: Boolean
|
|
|
|
:Required: No
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|