* timestamping at the mac80211 layer before it hits tc?
@ 2011-11-27 9:48 Dave Taht
0 siblings, 0 replies; only message in thread
From: Dave Taht @ 2011-11-27 9:48 UTC (permalink / raw)
To: linux-wireless, bloat-devel, netdev
My crazy idea at the moment is that since things can spend inordinate
amounts of time in the txqueue in wireless in particular, that moving
(tcp and packet) timestamping to where it enters the queue rather than
hits the wireless device would make a difference. Unless that's
already how it works.
http://www.bufferbloat.net/issues/304#change-1186
The secondary fallout of that is an easier way to expire (probably
rescheduled) packets that have spent too much time in queue.
Eric had put up a (rfc) tc filter a while back that dumped a timestamp
into the private block of the skb...
but...
I kind of like the idea of reusing the existing hwtstamps concept for
the period "queue entrance to queue exit", as a queue is a 'device',
IMHO.
from linux/skbuff.h
* hwtstamps can only be compared against other hwtstamps from
* the same device.
*
* This structure is attached to packets as part of the
* &skb_shared_info. Use skb_hwtstamps() to get a pointer.
*/
struct skb_shared_hwtstamps {
ktime_t hwtstamp;
ktime_t syststamp;
};
Sign me,
lost in a myriad of data paths on a sunday afternoon, wearing an asbestos suit
--
Dave Täht
SKYPE: davetaht
http://www.bufferbloat.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-27 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-27 9:48 timestamping at the mac80211 layer before it hits tc? Dave Taht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox