diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-19 12:43:24 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-04-19 12:43:24 -0700 |
commit | 81f92c855da78c0221f1190200690895f516b845 (patch) | |
tree | 5be8d8cb3a76daa01df28e58de4dbf6355059f22 /src/core/lib/transport | |
parent | 42ab2b17536c3493d3d35817758e7606884dcbc5 (diff) |
Tighten BDP increase conditions, better fix target transport window sizing
Diffstat (limited to 'src/core/lib/transport')
-rw-r--r-- | src/core/lib/transport/bdp_estimator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/transport/bdp_estimator.c b/src/core/lib/transport/bdp_estimator.c index 7dd5db022f..9eecf7d415 100644 --- a/src/core/lib/transport/bdp_estimator.c +++ b/src/core/lib/transport/bdp_estimator.c @@ -100,7 +100,7 @@ void grpc_bdp_estimator_complete_ping(grpc_bdp_estimator *estimator) { bw / 125000.0, estimator->bw_est / 125000.0); } GPR_ASSERT(estimator->ping_state == GRPC_BDP_PING_STARTED); - if (estimator->accumulator > 2 * estimator->estimate / 3 && + if (estimator->accumulator > 7 * estimator->estimate / 8 && bw > estimator->bw_est) { estimator->estimate *= 2; estimator->bw_est = bw; |