General list for discussing Bufferbloat
 help / color / mirror / Atom feed
* Re: [Bloat] Steam In Home Streaming on ath9k wifi
@ 2017-11-21 19:08 Hal Murray
  2017-11-22 10:31 ` Neil Davies
  0 siblings, 1 reply; 25+ messages in thread
From: Hal Murray @ 2017-11-21 19:08 UTC (permalink / raw)
  To: bloat; +Cc: Hal Murray

> Right, no idea how Windows drivers behave. But odds are that the bottleneck
> is at the client, since that often has worse antennas than the AP. If you're
> in a position to take packet captures at both clients and AP you may be able
> to figure it out; may require tightly synchronised clocks to do properly,
> though. 

It should be reasonable to synchronize the clocks at both ends well enough.

If that doesn't work and/or is inconvient, you could post process one trace 
to adjust the time stamps.  The idea is to scan both traces in parallel to 
find the minimum transit times in each direction, then adjust the time stamps 
on one end to allocate half the total time to each direction.  It would 
obviously be handy to have a few pings during a period of low traffic for 
calibration.

-------

There are two dimensions to clocks.  One is the current time.  The other is 
the frequency.  If the frequency is off, the clock will drift.  (ntpd's drift 
correction is usually stored in someplace like /var/lib/ntp/ntp.drift)

Unless you are interested in long runs, the clock will not drift far enough 
to be a serious problem, so all you have to do is get the time right before 
starting a run.

You might want to kill ntpd on the wifi end so it doesn't get confused and yank the clock around.


-- 
These are my opinions.  I hate spam.




^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Bloat] Steam In Home Streaming on ath9k wifi
@ 2017-11-18 22:14 Caleb Cushing
  2017-11-19 16:28 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 25+ messages in thread
From: Caleb Cushing @ 2017-11-18 22:14 UTC (permalink / raw)
  To: bloat

[-- Attachment #1: Type: text/plain, Size: 2009 bytes --]

In home streaming is basically a high bandwidth low latency way of
streaming a game so you can play it on another machine. I'm not sure if
this is the best list to talk about this on, but since it involves wifi,
fq-codel, and cake, this seems like the best place maybe, I did start by
talking about this on the forums, but I think I've basically reached the
end of what documented configuration can do on the current LEDE, and
perhaps what can be done currently period. That said maybe I can offer up
this use case and help things improve in the future.

https://forum.lede-project.org/t/sqm-for-video-streaming-and-steam-in-home-streaming-over-wifi/8494/23


I've actually managed to get game streaming mostly smooth, but there's
still an occasional stutter (latency increase from ~5ms to around 100ms,
then it goes away again) that I haven't figured out. happy to provide more
information if it'll help this use case. note, the additional options
mentioned in the forum on src/desthost seem to actually make things worse.

config queue
        option debug_logging '0'
        option verbosity '5'
        option enabled '1'
        option interface 'eth0.2'
        option upload '5500'
        option linklayer 'ethernet'
        option overhead '18'
        option qdisc_advanced '0'
        option qdisc 'cake'
        option script 'layer_cake.qos'
        option download '38000'

config queue
        option enabled '1'
        option interface 'wlan1'
        option qdisc_advanced '1'
        option squash_dscp '1'
        option squash_ingress '1'
        option ingress_ecn 'ECN'
        option egress_ecn 'NOECN'
        option qdisc_really_really_advanced '1'
        option itarget '1ms'
        option etarget '1ms'
        option download '260000'
        option upload '260000'
        option linklayer 'none'
        option debug_logging '1'
        option verbosity '10'
        option qdisc 'fq_codel'
        option script 'simplest.qos'



-- 
Caleb Cushing

http://xenoterracide.com

[-- Attachment #2: Type: text/html, Size: 3061 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2017-12-04  7:25 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21 19:08 [Bloat] Steam In Home Streaming on ath9k wifi Hal Murray
2017-11-22 10:31 ` Neil Davies
2017-11-23 17:48   ` Caleb Cushing
2017-11-24  9:20   ` Hal Murray
2017-11-24  9:34     ` Neil Davies
2017-11-26  7:25       ` Caleb Cushing
2017-11-26  7:29         ` Caleb Cushing
2017-11-26  7:55           ` Jan Ceuleers
2017-11-26 10:05             ` Jonathan Morton
2017-11-26 10:53               ` Jan Ceuleers
2017-11-26 10:55                 ` Jonathan Morton
2017-11-26 11:54                 ` Steinar H. Gunderson
2017-11-26 13:03                   ` Jan Ceuleers
2017-11-26 13:05                     ` Jan Ceuleers
2017-11-26 13:13                       ` Steinar H. Gunderson
2017-11-26 17:53               ` Dave Taht
2017-11-26 18:43                 ` Jan Ceuleers
2017-11-26 23:11                   ` Dave Taht
2017-12-04  7:24                     ` Caleb Cushing
  -- strict thread matches above, loose matches on Subject: below --
2017-11-18 22:14 Caleb Cushing
2017-11-19 16:28 ` Toke Høiland-Jørgensen
2017-11-19 21:18   ` Caleb Cushing
2017-11-19 21:27     ` Toke Høiland-Jørgensen
2017-11-19 22:03       ` Caleb Cushing
2017-11-19 22:13         ` Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox