Return-path: Received: from mail-pd0-f171.google.com ([209.85.192.171]:42329 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755677AbbBJNOo (ORCPT ); Tue, 10 Feb 2015 08:14:44 -0500 Message-ID: <1423574079.28434.21.camel@edumazet-glaptop2.roam.corp.google.com> (sfid-20150210_141453_435394_D2A2F9E5) Subject: Re: Throughput regression with `tcp: refine TSO autosizing` From: Eric Dumazet To: Michal Kazior Cc: Neal Cardwell , linux-wireless , Network Development , Eyal Perry Date: Tue, 10 Feb 2015 05:14:39 -0800 In-Reply-To: References: <1422537297.21689.15.camel@edumazet-glaptop2.roam.corp.google.com> <1422628835.21689.95.camel@edumazet-glaptop2.roam.corp.google.com> <1422903136.21689.114.camel@edumazet-glaptop2.roam.corp.google.com> <1422926330.21689.138.camel@edumazet-glaptop2.roam.corp.google.com> <1422973660.907.10.camel@edumazet-glaptop2.roam.corp.google.com> <1423051045.907.108.camel@edumazet-glaptop2.roam.corp.google.com> <1423053531.907.115.camel@edumazet-glaptop2.roam.corp.google.com> <1423055810.907.125.camel@edumazet-glaptop2.roam.corp.google.com> <1423056591.907.130.camel@edumazet-glaptop2.roam.corp.google.com> <1423084303.31870.15.camel@edumazet-glaptop2.roam.corp.google.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2015-02-10 at 11:33 +0100, Michal Kazior wrote: > ath10k_core_napi_dummy_poll, 64); > + ewma_init(&ar->tx_delay_us, 16384, 8); 1) 16384 factor might be too big. 2) a weight of 8 seems too low given aggregation values used in wifi. On 32bit arches, the max range for ewma value would be 262144 usec, a quarter of a second... You could use a factor of 64 instead, and a weight of 16.