Hi Francis,
Thanks for the BBR packet trace! Yes, this seems to be this known
issue ("where the current upstream BBR parameters for provisioning
cwnd need to be more generous for paths like wifi LAN paths, which
have ACKs that are often delayed much longer than the minimum RTT
observed over the path").
The attached graph shows an excerpt of a time/sequence plot of your
trace generated by tcptrace and xplot. The white vertical line
segments represent transmitted packets, and the green stair case
represents the sequence numbers that have been cumulatively
acknowledged. You can see that the RTT is often less than 2ms but then
sometimes a *lot* higher; here there is a highlighted example where
the RTT is 20ms, or more than 10x higher than the min_rtt.
The current cwnd_gain parameter for BBR allows a cwnd of 2 * BtlBw *
RTProp; given the 10x divergence between min RTT and typical RTT, this
particular path might require an in-flight as high as 10 * BtlBw *
RTProp.
We are working on a scheme to dynamically scale the amount of
in-flight data allowed for situations like this.
Thanks!
neal
On Tue, Apr 25, 2017 at 11:39 AM, Francis Rammeloo