On 17/06/19(Mon) 21:43, Claudio Jeker wrote: > I noticed that by default the send and recv socket buffers for > socketpair(2) is rather low (4k IIRC). The result is a fairly inefficent > write/read behaviour on the imsg sockets. Increasing SO_SNDBUF and > SO_RCVBUF seems to help increase the data sent and received per syscall. > > Another option would be to make the default socketbuffer watermarks for > socketpair(2) a bit less limited. Then all imsg users would benefit at the > same time.
What's the downside of making the default socketbuffer watermarks bigger? Wasting resources? How did you figure out that the socket buffers were too small? Is that something we could apply to other daemons?
