[RFC v2] mac80211: implement eBDP algorithm to fight bufferbloat

Nathaniel Smith njs at pobox.com
Fri Feb 18 22:44:30 EST 2011


On Fri, Feb 18, 2011 at 1:21 PM, John W. Linville
<linville at tuxdriver.com> wrote:
> +       /* grab timestamp info for buffer control estimates */
> +       tserv = ktime_sub(ktime_get(), skb->tstamp);
[...]
> +               ewma_add(&sta->sdata->qdata[q].tserv_ns_avg,
> +                        ktime_to_ns(tserv));

I think you're still measuring how long it takes one packet to get
from the end of the queue to the beginning, rather than measuring how
long it takes each packet to go out?

-- Nathaniel



More information about the Bloat-devel mailing list