* [Make-wifi-fast] codel params in net-next
@ 2019-08-05 22:47 Dave Taht
2019-08-08 18:30 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 2+ messages in thread
From: Dave Taht @ 2019-08-05 22:47 UTC (permalink / raw)
To: Make-Wifi-fast
I remember that this bit in sta_info.c was hacky. But in testing today
I'd seen drops
where I'd expected ecn, and didn't know it turned it off!
I was also thinking this triggered a bit too often with multiple
stations, and perhaps sta->local->num_sta should be an ewma of the
most recently transmitted stations or some other value. Am I
misunderstanding what num_sta is?
static void sta_update_codel_params(struct sta_info *sta, u32 thr)
{
if (!sta->sdata->local->ops->wake_tx_queue)
return;
if (thr && thr < STA_SLOW_THRESHOLD * sta->local->num_sta) {
--
Dave Täht
CTO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-831-205-9740
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Make-wifi-fast] codel params in net-next
2019-08-05 22:47 [Make-wifi-fast] codel params in net-next Dave Taht
@ 2019-08-08 18:30 ` Toke Høiland-Jørgensen
0 siblings, 0 replies; 2+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-08-08 18:30 UTC (permalink / raw)
To: Dave Taht, Make-Wifi-fast
Dave Taht <dave.taht@gmail.com> writes:
> I remember that this bit in sta_info.c was hacky.
Heh, a tiny bit, maybe? ;)
> But in testing today I'd seen drops where I'd expected ecn, and didn't
> know it turned it off!
>
> I was also thinking this triggered a bit too often with multiple
> stations, and perhaps sta->local->num_sta should be an ewma of the
> most recently transmitted stations or some other value. Am I
> misunderstanding what num_sta is?
No, I don't think you are. For the airtime policy stuff in hostapd I use
queue length as a proxy for activity (any station which was backlogged
within the last N msecs is considered active). This is all tracked from
userspace through polling, though, so there's no counter for this in the
kernel. Should be possible to add it, though...
-Toke
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-08 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05 22:47 [Make-wifi-fast] codel params in net-next Dave Taht
2019-08-08 18:30 ` Toke Høiland-Jørgensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox