0

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;

1 Answer 1

2

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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