[dtaht/ns-3-dev] c90461: Implement patch from linux:

GitHub noreply at github.com
Wed Aug 15 23:01:17 EDT 2012


  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 <andrew.mcgregor at alliedtelesis.co.nz>
  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 <edumazet at google.com>

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.





More information about the Cerowrt-commits mailing list