>
> It generates some slightly smaller code.
> if (bbr->lt_rtt_cnt < bbr_lt_intvl_min_rtts)
> - 3e7: 0f b6 c0movzbl %al,%eax
> - 3ea: 83 f8 03cmp$0x3,%eax
> - 3ed: 0f 86 d4 00 00 00 jbe4c7
> + 3e7: 3c 03 cmp$0x3,%al
>
On Mon, 19 Sep 2016 14:10:39 -0700
Eric Dumazet wrote:
> On Mon, Sep 19, 2016 at 1:57 PM, Stephen Hemminger
> wrote:
>
> > Looks good, but could I suggest a simple optimization.
> > All these parameters are immutable in the version of BBR you are submitting.
> > Why not make the values const? A
On Mon, Sep 19, 2016 at 2:17 PM, Rick Jones wrote:
>
> Are there better than epsilon odds of someone perhaps wanting to poke those
> values as it gets exposure beyond Google?
>
This does not matter.
A change would require patching net/ipv4/tcp_bbr.c , and the 'const'
attribute being there or no
On 09/19/2016 02:10 PM, Eric Dumazet wrote:
On Mon, Sep 19, 2016 at 1:57 PM, Stephen Hemminger
wrote:
Looks good, but could I suggest a simple optimization.
All these parameters are immutable in the version of BBR you are submitting.
Why not make the values const? And eliminate the always true
On Mon, Sep 19, 2016 at 1:57 PM, Stephen Hemminger
wrote:
> Looks good, but could I suggest a simple optimization.
> All these parameters are immutable in the version of BBR you are submitting.
> Why not make the values const? And eliminate the always true long-term bw
> estimate
> variable?
>
On Sun, 18 Sep 2016 18:03:53 -0400
Neal Cardwell wrote:
> +static int bbr_bw_rtts = CYCLE_LEN + 2; /* win len of bw filter (in
> rounds) */
> +static u32 bbr_min_rtt_win_sec = 10; /* min RTT filter window (in sec) */
> +static u32 bbr_probe_rtt_mode_ms = 200; /* min ms at cwnd=4 in
On Sun, Sep 18, 2016 at 9:18 PM, Kenneth Klette Jonassen
wrote:
>> +static u64 bbr_rate_kbps(struct sock *sk, u64 rate)
>> +{
>> + return bbr_rate_bytes_per_sec(sk, rate, BBR_UNIT) * 8 / 1000;
>
>
> Consider div_u64() here to keep all builds happy. :-) This adds __udivdi3()
> with the nxp po
This commit implements a new TCP congestion control algorithm: BBR
(Bottleneck Bandwidth and RTT). A detailed description of BBR will be
published in ACM Queue, Vol. 14 No. 5, September-October 2016, as
"BBR: Congestion-Based Congestion Control".
BBR has significantly increased throughput and redu