OpenWRT Cake=Awesome

Discussion in 'Other Firmware Projects' started by Jason Woringen, Feb 18, 2017.

  1. Jason Woringen

    Jason Woringen Network Newbie Member

    My ISP is Charter Cable and my provisioned speeds are 60/4. Actually test show 66.4+/- 5.8+- average. Speed tests direct to the modem and using 2 different routers. The R7000 Nighthawk and WNDR3800CH N600 series from charter. OpenWRT doesn't support wifi on the R7000 because of broadcomm proprietary drivers, but that's ok for now. I have CAKE, and it's a beast at beating down bufferbloat like Mike Tyson in his prime against Marvis Frazier. The best I can achieve with many night of curiosity and tinkering is about 38ms Ingress and 33ms Egress. Very Awesome considering without any AQM I get anywhere from 300ms-2000ms for both directions. I'm using LEDE and some minor tweaks.



    root@LEDE:~# cat /etc/sysctl.conf

    kernel.panic=3

    kernel.core_pattern=/tmp/%e.%t.%p.%s.core


    net.ipv4.conf.default.arp_ignore=1

    net.ipv4.conf.all.arp_ignore=1

    net.ipv4.ip_forward=1

    net.ipv4.icmp_echo_ignore_broadcasts=1

    net.ipv4.icmp_ignore_bogus_error_responses=1

    net.ipv4.igmp_max_memberships=100

    net.ipv4.tcp_fin_timeout=30

    net.ipv4.tcp_keepalive_time=120

    net.ipv4.tcp_syncookies=1

    net.ipv4.tcp_timestamps=1

    net.ipv4.tcp_sack=1

    net.ipv4.tcp_dsack=1

    net.ipv6.conf.default.forwarding=1

    net.ipv6.conf.all.forwarding=1


    net.netfilter.nf_conntrack_acct=1

    net.netfilter.nf_conntrack_checksum=0

    net.netfilter.nf_conntrack_max=16384

    net.netfilter.nf_conntrack_tcp_timeout_established=7440

    net.netfilter.nf_conntrack_udp_timeout=60

    net.netfilter.nf_conntrack_udp_timeout_stream=180


    # disable bridge firewalling by default

    net.bridge.bridge-nf-call-arptables=0

    net.bridge.bridge-nf-call-ip6tables=0

    net.bridge.bridge-nf-call-iptables=0


    # tweaks added by me for low latency

    net.ipv4.tcp_fastopen = 3

    net.ipv4.tcp_low_latency=1

    net.ipv4.tcp_mtu_probing=1

    ________________________________________________________________

    root@LEDE:~# cat /etc/rc.local

    # Put your custom commands here that should be executed once

    # the system init finished. By default this file does nothing.



    # Personal Tweaks

    ethtool -K eth0 gro off

    ethtool -K eth1 gro off

    ethtool -K br-lan gro off

    ethttol -K wlan0 gro off

    ethtool -K wlan1 gro off

    exit 0

    ________________________________________________________________

    What do you guys think?
     

    Attached Files:

  2. Jason Woringen

    Jason Woringen Network Newbie Member

    dslreports.com/speedtest results @ 95% Down/UP (66000/5000)
     

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice