How to use this parameter and why should we use it?
in config.ini there is a experimental parameter for
socket read watermark optimization
use-socket-read-watermark = 0
in net_plugin.cpp under plugin
bool use_socket_read_watermark = false;
EOS.IO Stack Exchange is a question and answer site for users and developers of distributed applications built on top of the blockchain operating system, EOS.IO. It only takes a minute to sign up.Sign up to join this community
The option appears to have been introduced in v1.0.4, and it enables low-water marks for socket communication to minimise the number of send calls required to get a minimum number of bytes (i.e. enable faster communication.) However, this is not widely supported;
poll(2) in Linux ignores SO_RCVLOWAT, but OS X may support it.