From 81f92c855da78c0221f1190200690895f516b845 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 19 Apr 2017 12:43:24 -0700 Subject: Tighten BDP increase conditions, better fix target transport window sizing --- src/core/lib/transport/bdp_estimator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/lib') 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; -- cgit v1.2.3