@@ -172,8 +172,7 @@ These elements allow the user to define the DomainParticipant configuration.
172172 -
173173 * - ``<allocation> ``
174174 - Configuration regarding allocation behavior. |br |
175- It expects a |br |
176- |PartAlloc |.
175+ It expects a |PartAlloc |.
177176 - |PartAlloc |
178177 -
179178 * - ``<userData> ``
@@ -570,53 +569,44 @@ configuration.
570569 * - Name
571570 - Description
572571 - Values
573- - Default
574572 * - ``<remote_locators> ``
575573 - Defines the limits for the remote locators' collections. |br |
576574 See :ref: `remotelocatorsallocationattributes `.
577575 - :ref: `remote_locators_allocations `
578- -
579576 * - ``<total_participants> ``
580577 - DomainParticipant :ref: `CommonAlloc ` to specify the |br |
581578 total number of DomainParticipants in the domain |br |
582579 (local and remote). See |br |
583580 :ref: `ResourceLimitedContainerConfig `.
584581 - :ref: `CommonAlloc `
585- -
586582 * - ``<total_readers> ``
587583 - DomainParticipant :ref: `CommonAlloc ` to specify the |br |
588584 total number of DataReader on each DomainParticipant |br |
589585 (local and remote). See |br |
590586 :ref: `ResourceLimitedContainerConfig `.
591587 - :ref: `CommonAlloc `
592- -
593588 * - ``<total_writers> ``
594589 - DomainParticipant :ref: `CommonAlloc ` related to the |br |
595590 total number of DataWriters on each DomainParticipant |br |
596591 (local and remote).
597592 See :ref: `resourcelimitedcontainerconfig `.
598593 - :ref: `CommonAlloc `
599- -
600594 * - ``<max_partitions> ``
601595 - Maximum size of the partitions submessage. |br |
602596 Set to zero for no limit.
603597 - ``uint32_t ``
604- -
605598 * - ``<max_user_data> ``
606599 - Maximum size of the user data submessage. |br |
607600 Set to zero for no limit.
608601 - ``uint32_t ``
609- -
610602 * - ``<max_properties> ``
611603 - Maximum size of the properties submessage. |br |
612604 Set to zero for no limit.
613605 - ``uint32_t ``
614- -
615606 * - ``<send_buffers> ``
616607 - Allocation behaviour for the send buffer |br |
617608 manager.
618609 - :ref: `SendBuffers `
619- -
620610
621611**Example **
622612
@@ -672,12 +662,22 @@ Send buffers
672662 - ``uint32_t ``
673663 - 0
674664 * - ``<dynamic> ``
675- - Whether the number of send buffers is allowed to grow. |br |
676- See :ref: `sendbuffersallocationattributes `.
665+ - Whether the number of send buffers is allowed to |br |
666+ grow. See :ref: `sendbuffersallocationattributes `.
677667 - ``bool ``
678668 - false
669+ * - ``<network_buffers_config> ``
670+ - Network buffer :ref: `CommonAlloc ` to specify the |br |
671+ number of network buffers to be allocated for each |br |
672+ send buffer. See :ref: `ResourceLimitedContainerConfig `.
673+ - :ref: `CommonAlloc `
674+ - (16, inf, 16)
679675
680676.. note ::
681677 The default value ``0 `` of ``<preallocated_number> `` will perform an initial guess of the number of buffers
682678 required, based on the number of threads from which a send operation could be started.
683679 So it does not mean there are no buffers, instead it would use the maximum amount of buffers available.
680+ On the contrary, ``<network_buffers_config> `` will default to an initial number of 16 buffers, with an infinite
681+ maximum and an increment of 16 buffers per send buffer.
682+ An initial value of ``0 `` will imply more dynamic allocations, especially at the beginning of the execution.
683+ In case of doubt, it should be left to the default values.
0 commit comments