On Sun, Sep 30, 2018 at 11:33 AM Mathias Weiersmüller <[email protected]> wrote: > Sorry for the extremly brief answer: > - you mentioned you have 160 ms latency.
Yes, I have mentioned this because I've read somewhere (not remembering now where), that the `SO_SNDBUF` socket option also impacts the TCP window size. > - tune.sndbuf.client 16384 allows you to have 16384 bytes "on-the-fly", > meaning unacknowlegded. 16384 / 0.16 sec = roughly 128 KB/s.... > - do the math with your value of 131072 and you will have get your ~800 KB/s. > - no hidden voodoo happening here: read about BDP (Bandwidth Delay Product) Please don't get me wrong: I didn't imply any "voodoo". :) When I asked if there is some "hidden" consequence I didn't meant it as "magic", but as a question for what other (unknown to me) consequences there are. And it seems that the `tune.sndbuf.client` also limits the TCP window size. So my question is how can I (if at all possible) configure the buffer size witout "breaking" the TCP window size? Thanks, Ciprian.

