I will check that later, still unsure.

First guess: the quantum component should influence only how close to a fluid bit-wise approximation you are.
So cake gets closer by automatic adjustment.

The computation of the correction factor should be done by computing the probability that a packet
of a sparse flow loses priority because of the quantum. Bad setting, higher probability, ideal setting 0 probability.

So your formula seems still wrong to me... 


On Tue, Apr 17, 2018 at 4:25 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
Luca Muscariello <luca.muscariello@gmail.com> writes:

> I'm not sure that the quantum correction factor is correct.

No, you're right, there's an off-by-one error. It should be:

R_s < R / ((L/L_s)(N+1) + 1)

-Toke