Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
@ 2014-03-17 14:42 Dave Taht
  2014-03-20  1:29 ` Jim Reisert AD1C
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Taht @ 2014-03-17 14:42 UTC (permalink / raw)
  To: cerowrt-devel

I tested netflix through a  sony BDP-S185 blue-ray player this morning.

It doesn't appear to be using  upnp,  and aside  from  one  glitch on
startup, streamed  a dr  who episode fine through  a 7mbit
down,768Mbit up SQM'd DSL system during a set of rrul tests, falling
back to 900kbit/sec.

ECN was enabled in both directions. I did something a little unusual
(by accident) on the test, running qfq+codel on the rrul client. I later
repeated the test with sch_fq to no ill effect.

(Linux puck 3.13.1-pie-4 #1 SMP PREEMPT Fri Jan 31 17:44:17 PST 2014
x86_64 x86_64 x86_64 GNU/Linux)

It is unclear to me how much buffering netflix clients have.

Later on I restarted sqm (with ecn disabled), which interrupted
playback briefly during the restart,
but was otherwise fine.

Plots & screenshots

http://snapon.lab.bufferbloat.net/~d/netflix/


config queue 'ge00'
    option interface 'ge00'
    option script 'simple.qos'
    option qdisc_advanced '1'
    option ingress_ecn 'ECN'
    option qdisc_really_really_advanced '1'
    option etarget 'auto'
    option linklayer 'atm'
    option overhead '40'
    option enabled '1'
    option download '6400'
    option upload '684'
    option qdisc 'fq_codel'
    option egress_ecn 'ECN'

root@lorna-gw:/etc/config# tc -s qdisc show dev ifb0
qdisc htb 1: root refcnt 2 r2q 10 default 12 direct_packets_stat 0
 Sent 2167186854 bytes 1564144 pkt (dropped 0, overlimits 1574115 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 110: parent 1:11 limit 1001p flows 1024 quantum 500
target 5.0ms interval 100.0ms ecn
 Sent 636 bytes 4 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 256 drop_overlimit 0 new_flow_count 1 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 120: parent 1:12 limit 1001p flows 1024 quantum 1500
target 5.0ms interval 100.0ms ecn
 Sent 2167186218 bytes 1564140 pkt (dropped 1858, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1749 drop_overlimit 0 new_flow_count 211883 ecn_mark 1443
  new_flows_len 1 old_flows_len 9
qdisc fq_codel 130: parent 1:13 limit 1001p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0

root@lorna-gw:/etc/config# tc -s qdisc show dev ge00
qdisc htb 1: root refcnt 2 r2q 10 default 12 direct_packets_stat 0
 Sent 195266734 bytes 760801 pkt (dropped 0, overlimits 431552 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 110: parent 1:11 limit 1001p flows 1024 quantum 300
target 18.0ms interval 113.0ms ecn
 Sent 19141745 bytes 91385 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 742 drop_overlimit 0 new_flow_count 35799 ecn_mark 0
  new_flows_len 1 old_flows_len 2
qdisc fq_codel 120: parent 1:12 limit 1001p flows 1024 quantum 300
target 18.0ms interval 113.0ms ecn
 Sent 176124989 bytes 669416 pkt (dropped 4835, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1749 drop_overlimit 0 new_flow_count 84298 ecn_mark 9065
  new_flows_len 1 old_flows_len 5
qdisc fq_codel 130: parent 1:13 limit 1001p flows 1024 quantum 300
target 18.0ms interval 113.0ms ecn
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc ingress ffff: parent ffff:fff1 ----------------
 Sent 1867078978 bytes 1591897 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0


-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
@ 2014-03-20 16:30 Jim Reisert AD1C
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2014-03-20 16:30 UTC (permalink / raw)
  To: cerowrt-devel

Dave spent a lot of time on E-mail with me last night (I can't think
him enough).  We finally got the Sony Blu-ray player to connect to the
'net.  Here's his theory (explanation) and the cure.  I can't imagine
the average consumer trying to deal with this, but I guess anyone
running CeroWRT on their router is probably not the average consumer.

I still have the old player, will try to get it going sometime over
the weekend, to see if was the same problem/cure.

Dave Taht:

"What I think was happening was that it was getting a DHCP response
with the 224 netmask, and ignoring it, setting it to 255.255.255.0
internally, which meant that TCP requests outside your network would
not [come] back in. The [Sony] GUI rejected your attempt to set it."

> OK, I'm going to buy into the idea it doesn't like the default netmask.
>
> I don't see any traffic making it back to .85 from the outside world,
> notably the attempt to get the firmware in the screenshot below.
>
> Since upnp isn't a problem, try changing the guest wireless
>
> /etc/config/network entry here to:
>
> config 'interface' 'gw00'
>         option 'type' 'none'
>         option 'proto' 'static'
>         option 'ipaddr' '172.30.43.1'
>         option 'netmask' '255.255.255.0'
>         option 'ip6assign' '64'
>
> reboot the router, go back to dhcp for sony.


-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

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

end of thread, other threads:[~2014-03-20 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-17 14:42 [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player Dave Taht
2014-03-20  1:29 ` Jim Reisert AD1C
2014-03-20  1:32   ` Jim Reisert AD1C
2014-03-20  2:17     ` Dave Taht
2014-03-20  2:26       ` Jim Reisert AD1C
2014-03-20 16:30 Jim Reisert AD1C

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