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;


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.

  • so did it give any improvement in the performance ?
    – NaN
    Oct 5 '18 at 7:40
  • I'm not aware of any testing performed to answer this unfortunately
    – confused00
    Oct 5 '18 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.