The following parameters defined in the configuration file publisher.xml affect the publisher performance.
Parameter |
Description |
---|---|
LogLevel |
This parameter controls how much information is logged during system operation. Logging information is an expensive operation, and this level should be adjusted to log as little information as possible for effective operation of the system in your operational environment. For optimal performance this value should be set to error or warning. |
NumPacketBuffers |
This parameter controls the ability of the system to respond to a loss of information over the network. Specifically, this setting controls the number of packets to cache, on a per data stream basis, for use in responding to resend requests by a subscriber. Higher values of this setting will cause the system to allocate more memory to store previously sent information, and will increase the reliability of the system. This parameter should be tuned in conjunction with the MTU size of the host interface on which this publisher is operating. If the MTU size of the host interface is large, a much lower number of packet buffers will be required to achieve overall system reliability. It will also improve overall system performance. |
DataStreamChannelList |
The data stream channel is an independent pipeline through which messages are transmitted. Each data stream channel has its own set of packet, and network buffers. Adding multiple data streams to a publisher increases the amount of data that can be sent across the network reliably. This parameter should be increased in situations where the subscribers are not receiving the data sent by the publishers over the network, and when the subscribers themselves cannot keep up with the data sent by the publisher. Any changes made to the data channels in a publisher, must also be made to the subscribers who are subscribed to the publisher and may affect the performance of the subscribers. |