Ok, I just pushed a version that catches errors, and keeps the pingers running. I hope. Also it makes the trigger a little more aggressive as discussed above. Try it out.

Checking up on things: 1582484242
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 4035Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [41.6,42.0,43.8,44.1,48.7]
ping dns.google.com with results: [41.3,41.5,43.3,44.6,47.1]
ping gstatic.com with results: [41.6,44.0,44.7,44.7,46.9]
ping cloudflare.com with results: [41.4,41.5,42.1,44.2,45.4]
ping fbcdn.com with results: [41.0,42.1,42.4,42.5,42.7]
ping gstatic.com with results: [41.3,41.6,42.6,44.7,45.8]
ping dns.google.com with results: [41.4,41.5,41.6,42.1,43.4]
Checking up on things: 1582484272
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 4358Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [40.9,41.1,41.3,41.6,41.8]
ping cloudflare.com with results: [41.2,43.8,44.1,44.5,49.0]
ping gstatic.com with results: [41.5,41.5,42.0,44.0,46.7]
ping fbcdn.com with results: [40.8,41.0,41.2,42.6,45.4]
ping akamai.com with results: [41.3,41.3,42.0,43.2,43.5]
ping dns.google.com with results: [41.3,41.9,42.8,43.4,45.2]
ping cloudflare.com with results: [41.0,42.1,42.7,43.9,44.6]
Checking up on things: 1582484302
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 4572Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping gstatic.com with results: [41.1,42.5,43.3,45.3,52.7]
ping fbcdn.com with results: [41.0,44.4,44.9,45.3,48.2]
ping dns.google.com with results: [41.4,41.8,43.8,44.0,48.3]
ping akamai.com with results: [41.5,42.2,42.9,43.4,43.5]
ping cloudflare.com with results: [42.1,42.8,43.1,43.9,46.9]
=ERROR REPORT==== 23-Feb-2020::13:58:38.352307 ===
Error in process <0.82.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"113">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

ping gstatic.com with results: [41.5,41.8,42.0,54.7,64.3]
ping akamai.com with results: [43.9,45.2,48.8,53.1,54.0]
Checking up on things: 1582484332
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 4673Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping fbcdn.com with results: [41.5,44.9,45.9,49.2,51.4]
ping gstatic.com with results: [42.4,43.1,45.4,46.6,47.8]
ping cloudflare.com with results: [40.7,41.6,41.7,42.7,45.2]
ping akamai.com with results: [41.2,41.6,41.8,42.0,44.6]
ping fbcdn.com with results: [40.7,40.9,41.1,42.0,43.8]
ping gstatic.com with results: [41.2,41.6,41.7,43.8,45.5]
Checking up on things: 1582484362
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 5048Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping cloudflare.com with results: [42.4,42.9,44.3,45.8,54.6]
ping gstatic.com with results: [41.3,41.4,41.5,41.9,42.6]
ping akamai.com with results: [41.2,41.3,41.3,41.9,42.3]
ping fbcdn.com with results: [40.7,41.2,41.5,43.6,44.0]
ping cloudflare.com with results: [41.2,41.2,41.3,42.5,44.4]
ping fbcdn.com with results: [52.4,56.4,56.9,59.2,65.1]
ping gstatic.com with results: [42.7,57.7,58.8,60.0,63.4]
Checking up on things: 1582484392
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 5060Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [41.7,43.3,48.3,50.5,54.7]
ping cloudflare.com with results: [41.4,41.5,43.4,44.0,44.5]
ping fbcdn.com with results: [43.8,44.0,44.9,45.5,51.9]
ping akamai.com with results: [42.1,43.2,48.4,50.8,51.2]
ping gstatic.com with results: [42.1,55.8,65.1,70.0,76.4]
Checking up on things: 1582484422
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 5305Kbit diffserv4 dual-dsthost nat overhead 34 ingress
=ERROR REPORT==== 23-Feb-2020::14:00:22.794638 ===
Error in process <0.87.0> with exit value:
{badarg,[{erlang,binary_to_float,"-",[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

ping akamai.com with results: [40.8,41.3,44.0,44.1,44.3]
=ERROR REPORT==== 23-Feb-2020::14:00:32.269724 ===
Error in process <0.88.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"125">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

ping akamai.com with results: [41.1,41.7,41.8,44.0,44.5]
ping gstatic.com with results: [42.4,42.9,44.1,44.7,46.7]
Checking up on things: 1582484452
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6021Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [43.4,44.5,45.1,49.8,56.9]
ping gstatic.com with results: [49.9,56.7,66.2,71.4,72.8]
ping akamai.com with results: [54.7,63.4,63.8,83.3,83.8]
Checking up on things: 1582484482
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6747Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [41.4,42.7,44.3,46.4,48.1]
ping gstatic.com with results: [41.8,43.1,47.3,50.7,52.9]
ping akamai.com with results: [44.4,46.7,52.5,52.6,60.9]
ping gstatic.com with results: [40.9,42.0,43.3,44.1,44.3]
Checking up on things: 1582484512
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [42.5,52.6,53.8,55.1,58.7]
ping gstatic.com with results: [43.8,47.3,48.1,59.0,71.8]
Checking up on things: 1582484542
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
=ERROR REPORT==== 23-Feb-2020::14:02:27.441104 ===
Error in process <0.89.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"103">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

=ERROR REPORT==== 23-Feb-2020::14:02:27.781124 ===
Error in process <0.86.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"112">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

Checking up on things: 1582484572
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
Checking up on things: 1582484602
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress

I can't say how its working as far as adjusting at this point, but looks like I'm loosing ping threads again. Bandwidth is good as I started a download test which ran until I reached max bandwidth and at this point in the day I seem to have what I'm paying for.... so tonight I can test to see if it will adapt to changing ping :grin:

did you recompile before running?

yes, I have been deleting the .beam every update and recompiling.

Weird, maybe you're not seeing my latest version on github? Because all the calls to binary_to_float are wrapped in try/catch so they can't produce that kind of error...

https://raw.githubusercontent.com/dlakelan/routerperf/master/sqmfeedback.erl

I just did it again to make sure, but comparing them side-by-side they appear to be identical. Ill let it run again and see what happens.

Eshell V10.0  (abort with ^G)
1> c(sqmfeedback).
{ok,sqmfeedback}
2> sqmfeedback:main().
ping gstatic.com with results: [40.6,40.8,40.9,41.3,41.3]
ping fbcdn.com with results: [40.7,40.8,40.8,41.1,41.5]
ping cloudflare.com with results: [40.6,40.8,41.4,41.4,41.4]
ping dns.google.com with results: [40.9,40.9,41.1,41.2,41.4]
ping one.one.one.one with results: [41.2,41.2,41.4,41.6,42.4]
ping facebook.com with results: [40.5,40.7,41.0,41.1,41.6]
ping amazon.com with results: [41.0,41.2,41.3,41.3,42.0]
ping akamai.com with results: [41.0,41.0,41.2,41.2,42.1]
=ERROR REPORT==== 23-Feb-2020::14:24:20.002002 ===
Error in process <0.84.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"100">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,1,[{file,"sqmfeedback.erl"},{line,45}]}]}

ping dns.google.com with results: [41.2,41.5,41.5,41.7,41.9]
ping gstatic.com with results: [40.9,40.9,41.0,41.1,41.1]
ping fbcdn.com with results: [40.9,41.0,41.3,41.7,42.3]
ping akamai.com with results: [41.1,41.3,41.3,41.6,41.6]
ping facebook.com with results: [40.9,41.0,42.8,50.4,50.9]
ping amazon.com with results: [41.1,41.2,41.3,41.3,42.5]
ping cloudflare.com with results: [40.9,41.1,41.2,41.4,41.6]
Checking up on things: 1582485888
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 1277Kbit diffserv4 dual-dsthost nat overhead 34 ingress

edit yeah, same deal after starting a 1080p stream. This is on my desktop, so the laptop I'm using to SSH into the router isn't using any bandwidth. It seems with any packet loss this happens:

tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping amazon.com with results: [41.6,41.6,41.7,41.9,42.2]
ping gstatic.com with results: [40.8,40.8,40.9,40.9,41.2]
ping one.one.one.one with results: [41.0,41.2,41.3,41.4,41.5]
ping amazon.com with results: [42.8,42.8,43.0,43.2,43.4]
ping gstatic.com with results: [41.1,41.8,41.8,41.9,42.4]
ping facebook.com with results: [41.5,41.7,41.8,43.0,43.3]
ping dns.google.com with results: [41.9,42.0,42.0,42.1,42.3]
ping fbcdn.com with results: [41.2,41.5,41.8,42.0,43.2]
ping one.one.one.one with results: [41.6,41.7,41.9,41.9,42.2]
ping gstatic.com with results: [40.9,42.0,42.1,42.2,42.6]
Checking up on things: 1582486698
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
ping amazon.com with results: [41.1,41.5,41.6,41.7,41.9]
=ERROR REPORT==== 23-Feb-2020::14:38:30.742044 ===
Error in process <0.88.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"101">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

=ERROR REPORT==== 23-Feb-2020::14:38:31.903918 ===
Error in process <0.85.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"133">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

=ERROR REPORT==== 23-Feb-2020::14:38:36.508397 ===
Error in process <0.82.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"134">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

=ERROR REPORT==== 23-Feb-2020::14:38:44.429981 ===
Error in process <0.83.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"166">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

=ERROR REPORT==== 23-Feb-2020::14:38:45.854150 ===
Error in process <0.90.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"110">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

=ERROR REPORT==== 23-Feb-2020::14:38:48.060336 ===
Error in process <0.86.0> with exit value:
{badarg,[{erlang,binary_to_float,[<<"107">>],[]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,'-pingtimes_ms/3-lc$^1/1-1-',1,
                      [{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,pingtimes_ms,3,[{file,"sqmfeedback.erl"},{line,12}]},
         {sqmfeedback,monitor_a_site,5,[{file,"sqmfeedback.erl"},{line,25}]}]}

Checking up on things: 1582486728
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
Checking up on things: 1582486758
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress
Checking up on things: 1582486788
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit diffserv4 dual-srchost overhead 34 
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit diffserv4 dual-dsthost nat overhead 34 ingress

that's really weird. here is the lines I'm thinking of

    TT = lists:sublist(lists:flatten([re:replace(L,".*time=([0-9.]+) ms","\\1") || L <- Lines]),N),
    Times = lists:sort([try binary_to_float(T) catch _Reason -> float(binary_to_integer(T)) end || T <-TT]),
    io:format("ping ~s with results: ~w\n",[I,Times]),
    Times.

do you see the try ... catch line in your version?

Yes, that's what I have. :confused: does your system seem to work okay in the same situation? There must be some differences in the openwrt erlang which is causing this, but that's just my thought... its new territory for me xD

I can paste the script here that I compiled from if you want to have a look, just didn't want to fill the screen here on the forum if its not necessary

I'll figure it out later today the issue is you need to have ping return an integer time amount... so it's a weird thing to try to test. I'll see what I can do when I'm back at home. thanks!

Turns out there are three kinds of exceptions: error, exit, and throw, if you leave out the reason it assumes "throw", so it wasn't catching the "error"... erlang thing I guess... testing out fixes...
(useful discussion here: https://stackoverflow.com/questions/13618261/when-to-use-throw-1-vs-exit-1-vs-error-1-in-erlang)

Ok, I pushed a fix to make it catch errors instead of throws. which avoids the problem we were having with that bit at least.

I'm running it here. I can't reproduce the delays because I have a massive QoS system that keeps my pings rock solid, but I can tell you it does increase the bandwidth from the initial values when it goes through sufficient time with no delays. So in that sense the feedback works. We'll have to see it with your delayed congestion time of day.

added a bunch more error checking/handling/catching/respawning (7:17 Los Angeles time).

I just saw the update and am running that script now. I may have missed 'that time of day' as now I'm seeing ~42ms on everything but akamai(.)com which is 100-120ms, while downloading a file from my server @650kbps. This is close to the best I ever see. Tomorrow late afternoon and evening will be the test. Ill be sure to post any updates.

Thanks for the help so far!

edit


ping akamai.com with results: [42.0,73.2,96.2,148.0,158.0]
ping fbcdn.com with results: [92.0,118.0,132.0,152.0,156.0]
ping one.one.one.one with results: [100.0,132.0,137.0,143.0,164.0]
ping gstatic.com with results: [157.0,165.0,170.0,179.0,207.0]
ping cloudflare.com with results: [107.0,129.0,131.0,138.0,139.0]
ping dns.google.com with results: [105.0,126.0,131.0,133.0,141.0]
ping fbcdn.com with results: [78.8,112.0,128.0,130.0,132.0]
ping one.one.one.one with results: [112.0,116.0,117.0,125.0,132.0]
Checking up on things: 1582547823
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping facebook.com with results: [94.3,103.0,110.0,134.0,148.0]
ping quad9.net with results: [166.0,168.0,171.0,174.0,205.0]
ping akamai.com with results: [123.0,160.0,167.0,186.0,188.0]
ping dns.google.com with results: [127.0,134.0,142.0,200.0,204.0]
ping gstatic.com with results: [130.0,138.0,140.0,154.0,181.0]
ping amazon.com with results: [146.0,146.0,146.0,150.0,156.0]
ping cloudflare.com with results: [61.5,86.0,97.2,97.7]
ping fbcdn.com with results: [41.3,49.7,64.4,77.7,88.4]
ping quad9.net with results: [105.0,123.0,167.0,186.0,187.0]
ping one.one.one.one with results: [41.5,41.5,41.9,42.2,48.0]
ping gstatic.com with results: [41.5,41.8,46.4,63.8,65.7]
ping amazon.com with results: [58.8,62.0,64.1,65.8,68.5]
ping fbcdn.com with results: [102.0,126.0,129.0,130.0,131.0]
Checking up on things: 1582547853
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping akamai.com with results: [120.0,124.0,127.0,130.0,133.0]
ping cloudflare.com with results: [131.0,132.0,135.0,144.0,146.0]
ping facebook.com with results: [119.0,127.0,134.0,134.0,136.0]
ping dns.google.com with results: [60.7,70.1,84.5,101.0,110.0]
ping one.one.one.one with results: [44.5,50.6,57.8,65.2,82.0]
ping quad9.net with results: [112.0,116.0,118.0,125.0,137.0]
ping akamai.com with results: [54.2,56.9,57.9,58.0,59.0]
ping facebook.com with results: [40.9,41.6,63.2,80.7,82.0]
ping amazon.com with results: [60.9,65.5,92.1,105.0,112.0]
ping fbcdn.com with results: [45.0,45.5,45.5,48.1,64.0]
ping quad9.net with results: [122.0,123.0,124.0,128.0,132.0]
ping gstatic.com with results: [61.7,62.0,66.7,70.4,71.7]
ping cloudflare.com with results: [92.7,109.0,109.0,118.0,119.0]
Checking up on things: 1582547883
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping one.one.one.one with results: [73.2,78.4,78.5,82.1,85.7]
ping dns.google.com with results: [40.6,59.9,69.8,84.5,107.0]
ping quad9.net with results: [138.0,141.0,142.0,142.0,143.0]
ping gstatic.com with results: [74.2,75.7,76.6,76.8,78.9]
ping facebook.com with results: [60.8,67.6,75.2,78.2,81.8]
ping amazon.com with results: [83.5,84.5,87.7,116.0,131.0]
ping akamai.com with results: [129.0,166.0,168.0,176.0,194.0]
ping one.one.one.one with results: [62.4,70.1,89.8,90.8,97.8]
ping cloudflare.com with results: [59.1,86.5,106.0,106.0,141.0]
ping facebook.com with results: [59.9,76.0,91.9,109.0,111.0]
ping fbcdn.com with results: [78.9,82.2,88.5,89.6,92.3]
ping dns.google.com with results: [67.2,76.2,79.8,82.8,89.0]
ping amazon.com with results: [109.0,118.0,123.0,123.0,141.0]
Checking up on things: 1582547913
ping akamai.com with results: [131.0,150.0,163.0,166.0,166.0]
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping quad9.net with results: [148.0,155.0,165.0,169.0,170.0]
ping gstatic.com with results: [85.0,94.7,95.2,142.0,153.0]
ping facebook.com with results: [103.0,127.0,138.0,147.0,153.0]
ping one.one.one.one with results: [112.0,122.0,138.0,140.0,142.0]
ping dns.google.com with results: [105.0,116.0,120.0,152.0,171.0]
ping cloudflare.com with results: [109.0,115.0,126.0,128.0,132.0]
ping one.one.one.one with results: [150.0,150.0,180.0,183.0,186.0]
ping fbcdn.com with results: [171.0,175.0,176.0,180.0,184.0]
ping akamai.com with results: [118.0,162.0,166.0,175.0,179.0]
ping facebook.com with results: [152.0,158.0,166.0,175.0,196.0]
ping amazon.com with results: [129.0,132.0,133.0,134.0]
ping dns.google.com with results: [121.0,127.0,146.0,186.0,197.0]
ping gstatic.com with results: [110.0,132.0,146.0,152.0,152.0]
Checking up on things: 1582547943
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping quad9.net with results: [184.0,213.0,215.0,215.0,216.0]
ping cloudflare.com with results: [106.0,124.0,150.0,152.0,158.0]
ping fbcdn.com with results: [110.0,117.0,122.0,132.0,141.0]
ping one.one.one.one with results: [80.9,111.0,111.0,116.0,168.0]
ping amazon.com with results: [43.2,93.0,110.0,116.0,126.0]


no auto adjusting happening this morning, hopefully that won't take too much work to fix :smiley:

I'll add some code to print out which sites are listed as delayed, we can run for a while and see what it's doing...

@Bndwdthseekr, Ok, I pushed a small change that includes 2 formatted print statements that will show us what it thinks the delayed sites are at any given check.


ping gstatic.com with results: [41.2,42.1,42.2,42.2,42.4]
ping facebook.com with results: [41.3,41.4,41.4,41.5,41.8]
Checking up on things: 1582580759
=CRASH REPORT==== 24-Feb-2020::16:45:59.038583 ===
FORMAT ERROR: "  crasher:~n    initial call: sqmfeedback:monitor_delays/2\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n    exception error: bad argument\n      in function  io:format/3\n         called as io:format(<0.63.0>,\"Full Delayed Site List: ~w\\n\",[])\n      in call from sqmfeedback:monitor_delays/2 (sqmfeedback.erl, line 96)\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n~s~p: ~80.18tp\n  neighbours:~n" - ["    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           pid,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           <0.87.0>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           registered_name,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           [],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ancestors,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           [<0.75.0>],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           message_queue_len,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           0,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           messages,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           [],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           links,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           [<0.75.0>],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           dictionary,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           [],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           trap_exit,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           false,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           status,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           running,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           heap_size,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           376,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           stack_size,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           27,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           "    ",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           reductions,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           241]
ping cloudflare.com with results: [41.2,41.3,41.6,42.3,43.0]
ping dns.google.com with results: [41.0,41.0,41.7,42.0,42.4]

Here's what I got

Yep. I just diagnosed and fixed that actually... pushed.

Cool, running it now. Do you have any experience with bridged PPPoE vs PPPoE over ATM, bridged AAL5MUX PVC? I'm thinking of switching over tonight after the fam goes to bed, looks like it will give me a little more throughput due to less overhead if it works.

edit hmm, thought this would trigger it:

ping gstatic.com with results: [41.5,41.7,41.7,41.8,42.1]
ping facebook.com with results: [41.4,41.5,41.5,41.8,42.7]
ping one.one.one.one with results: [41.6,42.3,42.6,42.6,43.1]
ping fbcdn.com with results: [41.5,41.6,41.6,41.8,42.4]
ping cloudflare.com with results: [41.1,41.4,41.5,41.7,42.1]
ping akamai.com with results: [42.0,42.3,42.4,42.4,43.4]
ping dns.google.com with results: [40.9,41.3,41.9,42.0,42.9]
ping amazon.com with results: [41.5,41.9,41.9,42.2,42.6]
ping fbcdn.com with results: [41.8,42.0,42.2,42.6,43.0]
ping facebook.com with results: [41.3,42.0,42.0,42.3,42.6]
ping one.one.one.one with results: [41.2,41.3,42.1,42.1,42.5]
ping quad9.net with results: [96.2,96.2,97.6,97.7,99.3]
ping fbcdn.com with results: [40.7,41.8,41.9,42.2,42.2]
ping gstatic.com with results: [42.1,42.2,42.4,42.5,43.0]
ping akamai.com with results: [42.1,42.3,42.7,43.3,44.1]
ping one.one.one.one with results: [41.8,42.2,43.2,43.5,43.8]
ping dns.google.com with results: [41.4,42.1,42.3,42.5,43.9]
Checking up on things: 1582582091
Full Delayed Site List: []
Recent Delayed Site List: []
ping cloudflare.com with results: [41.6,42.4,42.7,43.9,43.9]
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6024Kbit dual-dsthost nat overhead 34 ingress
ping facebook.com with results: [40.9,41.6,41.7,41.8,43.0]
ping fbcdn.com with results: [41.3,41.4,41.6,42.1,42.2]
ping quad9.net with results: [96.1,96.5,96.9,97.0,97.6]
ping gstatic.com with results: [41.7,41.7,42.1,42.4,42.9]
ping amazon.com with results: [42.1,42.1,44.2,44.3,45.0]
ping quad9.net with results: [96.5,96.6,97.0,97.3,97.6]
ping amazon.com with results: [41.4,41.7,42.2,42.7,42.8]
ping cloudflare.com with results: [40.9,41.7,42.6,42.7,43.3]
ping gstatic.com with results: [42.0,42.1,42.6,50.2,56.6]
ping fbcdn.com with results: [41.5,41.6,42.0,42.3,44.3]
ping one.one.one.one with results: [41.6,41.6,41.8,41.8,42.4]
ping dns.google.com with results: [41.5,41.5,41.8,42.0,42.0]
ping akamai.com with results: [41.4,41.5,42.0,42.1,42.5]
ping facebook.com with results: [42.1,42.3,42.3,42.5,43.0]
ping cloudflare.com with results: [41.8,42.0,42.1,42.2,42.3]
ping gstatic.com with results: [41.8,42.1,42.4,42.8,43.1]
ping fbcdn.com with results: [41.9,42.2,42.5,42.6,42.7]
ping one.one.one.one with results: [41.8,42.0,42.5,43.3,44.0]
ping dns.google.com with results: [40.8,41.4,41.6,41.9,42.2]
Checking up on things: 1582582131
Full Delayed Site List: []
Recent Delayed Site List: []
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6603Kbit dual-dsthost nat overhead 34 ingress
ping quad9.net with results: [95.8,96.4,96.5,96.5,96.9]
ping amazon.com with results: [42.5,42.6,42.9,43.3,43.5]
ping akamai.com with results: [163.0,194.0,200.0,200.0,208.0]
ping one.one.one.one with results: [101.0,109.0,112.0,150.0,158.0]
ping cloudflare.com with results: [116.0,121.0,150.0,160.0,177.0]
ping facebook.com with results: [87.6,103.0,125.0,129.0]
ping dns.google.com with results: [85.8,86.6,93.2,118.0,121.0]
ping fbcdn.com with results: [68.9,114.0,120.0,121.0,124.0]
ping gstatic.com with results: [108.0,124.0,127.0,131.0,133.0]
ping quad9.net with results: [138.0,169.0,194.0,198.0]
ping one.one.one.one with results: [64.0,66.8,92.6,158.0,158.0]
ping akamai.com with results: [60.0,71.7,74.2,99.7,153.0]
ping cloudflare.com with results: [152.0,154.0,157.0,160.0,165.0]
ping amazon.com with results: [152.0,159.0,175.0,176.0,177.0]
ping dns.google.com with results: [132.0,137.0,150.0,193.0]
Checking up on things: 1582582171
Full Delayed Site List: []
Recent Delayed Site List: []
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping fbcdn.com with results: [95.6,100.0,113.0,121.0,136.0]
ping akamai.com with results: [97.7,102.0,125.0,128.0,152.0]
ping facebook.com with results: [141.0,141.0,151.0,181.0,184.0]
ping quad9.net with results: [172.0,176.0,180.0,184.0,195.0]
ping one.one.one.one with results: [102.0,103.0,112.0,122.0,165.0]
ping gstatic.com with results: [86.2,110.0,122.0,126.0]
ping akamai.com with results: [127.0,142.0,153.0,174.0,192.0]
ping dns.google.com with results: [127.0,129.0,136.0,139.0,139.0]
ping amazon.com with results: [121.0,131.0,144.0,157.0,162.0]
ping fbcdn.com with results: [104.0,113.0,125.0,125.0,128.0]
ping cloudflare.com with results: [121.0,121.0,135.0,153.0,157.0]
ping facebook.com with results: [124.0,129.0,136.0,137.0,142.0]
ping one.one.one.one with results: [130.0,132.0,146.0,155.0,158.0]
ping gstatic.com with results: [106.0,107.0,115.0,138.0,141.0]
ping quad9.net with results: [173.0,176.0,182.0,215.0,217.0]
ping fbcdn.com with results: [123.0,126.0,128.0,129.0,139.0]
ping akamai.com with results: [92.9,98.4,103.0,107.0,119.0]
Checking up on things: 1582582211
Full Delayed Site List: []
Recent Delayed Site List: []
tc qdisc change root dev pppoe-wan cake bandwidth 1024Kbit dual-srchost overhead 34
tc qdisc change root dev ifb4pppoe-wan cake bandwidth 6944Kbit dual-dsthost nat overhead 34 ingress
ping gstatic.com with results: [98.2,100.0,110.0,150.0]
ping dns.google.com with results: [96.4,108.0,119.0,143.0,151.0]
ping facebook.com with results: [132.0,135.0,137.0,147.0,150.0]
ping cloudflare.com with results: [129.0,132.0,137.0,152.0,153.0]
ping amazon.com with results: [131.0,133.0,152.0,155.0,161.0]

My entire experience with ADSL is that about 20 years ago I had it at my previous residence, and it was slow but it felt sooo fast because before that I had 56k dialup :rofl:

Great. It certainly SHOULD have triggered things to have ping times jump up like that. So Let me figure out why it didn't.

Ok, found, and it was relatively easy. The site pingers were reporting to the wrong thread, who was throwing away the result. Hopefully fixed.

May I plug https://github.com/moeller0/ATM_overhead_detector as a method to heuristically deduce the actual overhead on ATM/AAL5 encapsulated links?

Also back then 20 years ago I could get 5 IP addresses free with an upgraded small business class DSL service, and I ran my own mail server, VOIP server, DNS server, and web server out of my home off of one of the first Shuttle mini pcs :slight_smile:

These days, everything is crap with ipv4 and I can't wait until we can all jump ship and get ipv6. We need some laws requiring all ISPs to have IPv6 by end of 2020, and to assign a minimum of a /56 to each customer, and a /48 to any customer that opts in, and all prefixes to remain static for a minimum duration of 90 days at a time. ;-). The internet would become a much better place very quickly, and at this point it's totally doable.

I agree, but seeing as Frontier always takes the cash from the govt. for upgrading under served areas, yet never actually DOES anything, it may be a while. Well... unless starlink takes off :smiley: I'm for sure no tinfoil hat wearing 5g naysayer LOL get me dat bandwidth! Unless the uh... cheap beer sickness takes us all out :rofl: