Systematic measurements have shown that an emulated MTU of 14k for UDP bearers is the optimal value for maximal throughput. Accordingly, the default MTU of UDP bearers is changed to 14k.
We also provide users with a fallback option from this value, by providing support to configure MTU for UDP bearers. The following options are introduced which are symmetrical to the design of confguring link tolerance. - Configure media with new MTU value, which will take effect on links going up after the moment it was configured. Alternatively, the bearer has to be disabled and re-enabled, for existing links to reflect the configured value. - Configure bearer with new MTU value, which take effect on running links dynamically. Please note: - User has to change MTU at both endpoints, otherwise the link will fall back to smallest MTU after a reset. - Failover from a link with higher MTU to a link with lower MTU GhantaKrishnamurthy MohanKrishna (3): tipc: set default MTU for UDP media tipc: implement configuration of UDP media MTU tipc: confgiure and apply UDP bearer MTU on running links include/uapi/linux/tipc_config.h | 5 +++++ include/uapi/linux/tipc_netlink.h | 1 + net/tipc/bearer.c | 29 ++++++++++++++++++++++++++++- net/tipc/bearer.h | 3 +++ net/tipc/node.c | 12 +++++++++--- net/tipc/node.h | 2 +- net/tipc/udp_media.c | 4 ++-- net/tipc/udp_media.h | 14 ++++++++++++++ 8 files changed, 63 insertions(+), 7 deletions(-) -- 2.1.4