[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131025.190409.1394476393722866643.davem@davemloft.net>
Date: Fri, 25 Oct 2013 19:04:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hagen@...u.net
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
edumazet@...gle.com, stefano.salsano@...roma2.it,
fabio.ludovici@...oo.it
Subject: Re: [PATCH net-next] netem: markov loss model transition fix
From: Hagen Paul Pfeifer <hagen@...u.net>
Date: Tue, 22 Oct 2013 23:27:06 +0200
> The transition from markov state "3 => lost packets within a burst
> period" to "1 => successfully transmitted packets within a gap period"
> has no *additional* loss event. The loss already happen for transition
> from 1 -> 3, this additional loss will make things go wild.
>
> E.g. transition probabilities:
>
> p13: 10%
> p31: 100%
>
> Expected:
>
> Ploss = p13 / (p13 + p31)
> Ploss = ~9.09%
>
> ... but it isn't. Even worse: we get a double loss - each time.
> So simple don't return true to indicate loss, rather break and return
> false.
>
> Signed-off-by: Hagen Paul Pfeifer <hagen@...u.net>
> Cc: Stephen Hemminger <stephen@...workplumber.org>
> Cc: Eric Dumazet <edumazet@...gle.com>
> Cc: Stefano Salsano <stefano.salsano@...roma2.it>
> Cc: Fabio Ludovici <fabio.ludovici@...oo.it>
> Signed-off-by: Hagen Paul Pfeifer <hagen@...u.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists