From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1-ext.rs.github.com (smtp1-ext.rs.github.com [207.97.227.250]) by huchra.bufferbloat.net (Postfix) with ESMTP id 524B821F0B6 for ; Wed, 15 Aug 2012 20:01:18 -0700 (PDT) Received: from github.com (sh3.rs.github.com [108.171.174.178]) by smtp1-ext.rs.github.com (Postfix) with ESMTP id 4E400436DD for ; Wed, 15 Aug 2012 20:01:17 -0700 (PDT) Date: Wed, 15 Aug 2012 20:01:17 -0700 From: GitHub To: cerowrt-commits@lists.bufferbloat.net Message-ID: <502c627d41a10_68bc1131af4944c2@sh3.rs.github.com.mail> Subject: [dtaht/ns-3-dev] c90461: Implement patch from linux: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_502c627d3f726_68bc1131af4942fd"; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: cerowrt-commits@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list Reply-To: GitHub List-Id: Development commits for the cerowrt project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 03:01:18 -0000 ----==_mimepart_502c627d3f726_68bc1131af4942fd Date: Wed, 15 Aug 2012 20:01:17 -0700 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-ID: <502c627d40b11_68bc1131af4943b6@sh3.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/dtaht/ns-3-dev Commit: c904617aeb639ea55975fe391f2a59fa91b0dd66 https://github.com/dtaht/ns-3-dev/commit/c904617aeb639ea55975fe391f2a59fa91b0dd66 Author: Andrew McGregor Date: 2012-08-15 (Wed, 15 Aug 2012) Changed paths: M src/network/utils/codel-queue.cc Log Message: ----------- Implement patch from linux: From: Eric Dumazet One condition before codel_Newton_step() was not good if we never left the dropping state for a flow. As a result rec_inv_sqrt was 0, instead of the ~0 initial value. codel control law was then set to a very aggressive mode, dropping many packets before reaching 'target' and recovering from this problem. To keep codel_vars_init() as efficient as possible, refine the condition to make sure rec_inv_sqrt initial value is correct Many thanks to Anton Mich for discovering the issue and suggesting a fix. ----==_mimepart_502c627d3f726_68bc1131af4942fd--