I was seeing ~5% packet loss with my existing cable modem/router because (I presume) I was pumping a ton of data across the pipe. This is meant to be an asynchronous cable setup with 60d/20u, but with only 20/5 guaranteed. After switching the upstream provider router to modem/switch-only and moving all routing to the EdgeRouter, my smokeping graphs immediately cleared up to 0% loss. However, that was at night, now that we're back in the day, I'm back up around 2-3% loss-an improvement, but still unacceptable. I've adjusted the QoS settings to reflect my guaranteed amounts, and that did work somewhat, but I still get unacceptable amounts of loss randomly (up to 20% at times). I am seeing errors in my log file that read:
Jul 28 13:16:51 vitae kernel: HTB: quantum of class 10010 is big. Consider r2q change.
And my output of sudo tc qdic show is:
qdisc htb 1: dev eth0 root refcnt 2 r2q 10 default 10 direct_packets_stat 109 direct_qlen 2
qdisc fq_codel 100: dev eth0 parent 1:10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
qdisc pfifo_fast 0: dev imq0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc htb 1: dev ifb_eth0 root refcnt 2 r2q 10 default 10 direct_packets_stat 0 direct_qlen 32
qdisc fq_codel 100: dev ifb_eth0 parent 1:10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn
Anyone have any ideas on how best to tweak my settings to get this to work better?
Thanks!