How TIBCO Rendezvous® (RV)sets the UDP send/receive buffers values?
book
Article ID: KB0088620
calendar_today
Updated On:
Products
Versions
TIBCO Rendezvous
-
Not Applicable
-
Description
Resolution: Description: ========== TIBCO Rendezvous® (RV) 7.x daemons set UDP send/receive buffers to a maximum of 1MByte on all OS platforms which support configuration of large send/receive buffers. When an RV daemon starts, it tries to set the UDP buffer to 1 MB. If the daemon does not succeed in setting this buffer, it cuts that amount of memory in half (512) and then in half again (256) and then in half again (128) until it can get the buffer size it needs.
RV 8.x daemons increase the default UDP buffer size to 16 MB from 1 MB in RV 7.x. . Also there is a change in the algorithm “divide by 2” when the daemon does not succeed in setting the buffer size to 16 MB. A divide-and-conquer algorithm is used to optimize the buffer size relative to what the OS is able to provide.
The buffers are not configurable programmatically or otherwise; the maximum values of 1Mbyte for RV 7.x and of 16 Mbytes for RV 8.x were chosen as the best compromise between performance and latency. The values we have chosen are based on years of experience which has shown them to be the best trade off between overall system performance and timely delivery of data to the network.
If you want to change the UDP buffer size, you should consider changing it at the OS level in case the values set at the OS level are lower than 1MB for RV 7.x and 16MB for RV 8.x
To summarize the values of UDP send/receive buffers are:
-RV 7.x -> buffer size is the minimum of -> (OS max value or 1MB) -RV 8.x -> buffer size is the minimum of -> (OS max value or 16MB)
Environment: ========== Operative System: All.
Issue/Introduction
How TIBCO Rendezvous® (RV)sets the UDP send/receive buffers values?