* [Make-wifi-fast] Carrying the CoDel timestamp into the driver
@ 2016-08-10 13:00 Toke Høiland-Jørgensen
2016-08-10 15:27 ` Michal Kazior
0 siblings, 1 reply; 7+ messages in thread
From: Toke Høiland-Jørgensen @ 2016-08-10 13:00 UTC (permalink / raw)
To: Michal Kazior; +Cc: make-wifi-fast
Hi Michal
In your mac80211 FQ-CoDel patch, you put the CoDel timestamp into a
union with the vif pointer in struct ieee80211_tx_info. This means the
timestamp is not available in the driver. I'm experimenting with some
changes where having the enqueue time available would be useful.
Do you have any good ideas as to where else we could store the enqueue
time somewhere the driver can retrieve it?
-Toke
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Make-wifi-fast] Carrying the CoDel timestamp into the driver
2016-08-10 13:00 [Make-wifi-fast] Carrying the CoDel timestamp into the driver Toke Høiland-Jørgensen
@ 2016-08-10 15:27 ` Michal Kazior
2016-08-10 15:41 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 7+ messages in thread
From: Michal Kazior @ 2016-08-10 15:27 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: make-wifi-fast
On 10 August 2016 at 15:00, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Hi Michal
>
> In your mac80211 FQ-CoDel patch, you put the CoDel timestamp into a
> union with the vif pointer in struct ieee80211_tx_info. This means the
> timestamp is not available in the driver. I'm experimenting with some
> changes where having the enqueue time available would be useful.
>
> Do you have any good ideas as to where else we could store the enqueue
> time somewhere the driver can retrieve it?
I did explore this idea for different purposes though - to maintain
per-packet expected_duration. I think it should be in the
linux-wireless archives. It compacted band, ack_frame_id I think but
you get limited number of *bits*.
.. or you could remove the rate control stuff from tx_info and convert
all drivers to use mac80211 API to fetch it per-station on-demand only
I guess..
Michał
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Make-wifi-fast] Carrying the CoDel timestamp into the driver
2016-08-10 15:27 ` Michal Kazior
@ 2016-08-10 15:41 ` Toke Høiland-Jørgensen
2016-08-10 16:01 ` Michal Kazior
0 siblings, 1 reply; 7+ messages in thread
From: Toke Høiland-Jørgensen @ 2016-08-10 15:41 UTC (permalink / raw)
To: Michal Kazior; +Cc: make-wifi-fast
On 10 August 2016 17:27:16 CEST, Michal Kazior <michal.kazior@tieto.com> wrote:
>On 10 August 2016 at 15:00, Toke Høiland-Jørgensen <toke@toke.dk>
>wrote:
>> Hi Michal
>>
>> In your mac80211 FQ-CoDel patch, you put the CoDel timestamp into a
>> union with the vif pointer in struct ieee80211_tx_info. This means
>the
>> timestamp is not available in the driver. I'm experimenting with some
>> changes where having the enqueue time available would be useful.
>>
>> Do you have any good ideas as to where else we could store the
>enqueue
>> time somewhere the driver can retrieve it?
>
>I did explore this idea for different purposes though - to maintain
>per-packet expected_duration. I think it should be in the
>linux-wireless archives. It compacted band, ack_frame_id I think but
>you get limited number of *bits*.
>
>.. or you could remove the rate control stuff from tx_info and convert
>all drivers to use mac80211 API to fetch it per-station on-demand only
>I guess..
Right. Guess I'll put that on the "things to look into" list.
Exactly why is it we can't just grow tx_info by a couple of bytes?
-Toke
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Make-wifi-fast] Carrying the CoDel timestamp into the driver
2016-08-10 15:41 ` Toke Høiland-Jørgensen
@ 2016-08-10 16:01 ` Michal Kazior
2016-08-10 16:06 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 7+ messages in thread
From: Michal Kazior @ 2016-08-10 16:01 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: make-wifi-fast
On 10 August 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
> Exactly why is it we can't just grow tx_info by a couple of bytes?
Since it's stored in the inline buffer sk_buff->cb[] it's limited to its size.
Michał
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Make-wifi-fast] Carrying the CoDel timestamp into the driver
2016-08-10 16:01 ` Michal Kazior
@ 2016-08-10 16:06 ` Toke Høiland-Jørgensen
2016-08-10 17:06 ` Dave Taht
0 siblings, 1 reply; 7+ messages in thread
From: Toke Høiland-Jørgensen @ 2016-08-10 16:06 UTC (permalink / raw)
To: Michal Kazior; +Cc: make-wifi-fast
On 10 August 2016 18:01:51 CEST, Michal Kazior <michal.kazior@tieto.com> wrote:
>On 10 August 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk>
>wrote:
>> Exactly why is it we can't just grow tx_info by a couple of bytes?
>
>Since it's stored in the inline buffer sk_buff->cb[] it's limited to
>its size.
Right, noted. Thanks! :)
-Toke
>
>
>Michał
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Make-wifi-fast] Carrying the CoDel timestamp into the driver
2016-08-10 16:06 ` Toke Høiland-Jørgensen
@ 2016-08-10 17:06 ` Dave Taht
2016-08-10 17:41 ` Dave Taht
0 siblings, 1 reply; 7+ messages in thread
From: Dave Taht @ 2016-08-10 17:06 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Michal Kazior, make-wifi-fast
There is (and has always been) the underutilized skb->tstamp pointer
in the skb itself.
http://lxr.free-electrons.com/source/include/linux/skbuff.h#L416
On Wed, Aug 10, 2016 at 6:06 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>
>
> On 10 August 2016 18:01:51 CEST, Michal Kazior <michal.kazior@tieto.com> wrote:
>>On 10 August 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk>
>>wrote:
>>> Exactly why is it we can't just grow tx_info by a couple of bytes?
>>
>>Since it's stored in the inline buffer sk_buff->cb[] it's limited to
>>its size.
>
> Right, noted. Thanks! :)
>
> -Toke
>>
>>
>>Michał
> _______________________________________________
> Make-wifi-fast mailing list
> Make-wifi-fast@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/make-wifi-fast
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Make-wifi-fast] Carrying the CoDel timestamp into the driver
2016-08-10 17:06 ` Dave Taht
@ 2016-08-10 17:41 ` Dave Taht
0 siblings, 0 replies; 7+ messages in thread
From: Dave Taht @ 2016-08-10 17:41 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Michal Kazior, make-wifi-fast
On Wed, Aug 10, 2016 at 7:06 PM, Dave Taht <dave.taht@gmail.com> wrote:
> There is (and has always been) the underutilized skb->tstamp pointer
> in the skb itself.
>
> http://lxr.free-electrons.com/source/include/linux/skbuff.h#L416
Also another field that could possibly be munged on at this point in
the mac80211 layer is priority?
>
>
>
> On Wed, Aug 10, 2016 at 6:06 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>>
>>
>> On 10 August 2016 18:01:51 CEST, Michal Kazior <michal.kazior@tieto.com> wrote:
>>>On 10 August 2016 at 17:41, Toke Høiland-Jørgensen <toke@toke.dk>
>>>wrote:
>>>> Exactly why is it we can't just grow tx_info by a couple of bytes?
>>>
>>>Since it's stored in the inline buffer sk_buff->cb[] it's limited to
>>>its size.
>>
>> Right, noted. Thanks! :)
>>
>> -Toke
>>>
>>>
>>>Michał
>> _______________________________________________
>> Make-wifi-fast mailing list
>> Make-wifi-fast@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/make-wifi-fast
>
>
>
> --
> Dave Täht
> Let's go make home routers and wifi faster! With better software!
> http://blog.cerowrt.org
--
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-10 17:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-10 13:00 [Make-wifi-fast] Carrying the CoDel timestamp into the driver Toke Høiland-Jørgensen
2016-08-10 15:27 ` Michal Kazior
2016-08-10 15:41 ` Toke Høiland-Jørgensen
2016-08-10 16:01 ` Michal Kazior
2016-08-10 16:06 ` Toke Høiland-Jørgensen
2016-08-10 17:06 ` Dave Taht
2016-08-10 17:41 ` Dave Taht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox