go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

quic: increase flow control windows

Open marten-seemann opened this issue 2 years ago • 2 comments
trafficstars

The stream flow control window is currently limited to 10 MB. This limits transfer performance on connections with BDPs higher than that. We should use a significantly higher value than that. 50 MB seems like a better choice for well-connected servers.

This should be ok since window increases are limited by the resource manager.

marten-seemann avatar May 15 '23 09:05 marten-seemann

Why is a limit needed in the first place ? Couldn't you let the algorithm take as much as resource manager will allow to ?

Jorropo avatar May 16 '23 12:05 Jorropo

Use rcmgr's per connection memory limit to set this (inc flow control without over commitment)

p-shahi avatar May 30 '23 17:05 p-shahi