[GCC 7.2 BUILD] Optimized TP-Link Archer C7 V2 AC1750 LEDE Firmware

I dont know why, but throughput using vanilla or your build at 5Gb wifi is inestable.
Can you repeat you test using latest lede build?
Regards,

what do you mean? just with the basic lede snapshot? or an updated snapshot with bbr patch and fast class?

how did you disable nat? and what image are you using? Also whats your wifi performance look like, ill try iperf on another gigabit adapter.

raspiiperf
windiperf

A post was split to a new topic: SQM still beneficial?

any ideas?

hey i fixed the softirq issue, because of what i read here:

so i added this to my sysctl.conf:

net.ipv4.tcp_rmem = 10240 87380 12582912
net.ipv4.tcp_wmem = 10240 87280 12582912
net.core.rmem_max = 12582912
net.core.wmem_max = 12582912

let me know what you think! i also added irqbalancer to the kernel image, but didnt notice anything until the sysctl change.

https://github.com/sycohexor/Archer-c7-v2-4.9.91-DhcpDns/blob/master/sysctl.conf

How did you calculate those values?

Also in the link you provided there is this quote:

I doubled the values of net.ipv4.tcp_mem and that didn't seem to make any impact. Seeing about 40K dropped packets every second.

And the solution is this:

The way to fix this is to set an explicit TCP buffer size when using rate control to prevent this aberrant behavior.

Too bad I have no idea what he's talking about.

This has been said a lot of times before, SQM and Fast Classifier are mutually exclusive, you must choose one but not both, you can find a technical explanation in the forum (I don't want to repeat it here).
Flow offload seems that is compatible with SQM (or the developers are making efforts to make it work) so that's the future.

Hi I really like your build and have been using it as a daily driver for the past 5 months.
I recently switched over to Cloudflare DNS (1.1.1.1) by inputing it into DNS forwarding via LuCI web interface.
Cloudflare DNS mentions that it supports DNS over HTTPS. Is this the same as DNSCrypt? if so how would I make sure it is being used with Cloudflare DNS and if not how can I enable DNS over HTTPS (DoH) on this build? Im kind of a noob to this but I am comfortable with SSHing into the router and using the terminal.

Cloudflare themselves have instructions for how to do it over TLS.

Seeing this I have enabled it on my pfSense router as that already was using Unbound for full resolution so just adding the bit to forward to Cloudflare instead was trivial.

Hi there. I am currently running December (or maybe even November?) stable build by @r00t . I now have 500/100Mbit internet connection and I can only get around 300Mbps (wired obviously). I can get full speed by connecting my PC directly to the modem, however running everything through my router seems like a better option.
I know such speeds are hard to reach without NW NAT, yet there seem to have been some developments recently. I am referring mainly to Fast Path and some users reporting significantly better speeds with it. I found builds supposedly including it here. I was wondering if I can just sysupgrade to that and what my other options are. What about @sycohexor's builds?
Btw, I want to skip breed BL for now.

Thanks

Ok, nice im not sure how I missed that, ill try it out right now. Im guessing that DNSCrypt specifically is only supported by OpenDNS

This is an interesting read https://tenta.com/blog/post/2017/12/dns-over-tls-vs-dnscrypt

1 Like

i dont think you really need breed for my build, when i was at normal clock speeds i still got the extra boost, even with fast classifier disabled i think my builds still get the same speeds.

Thanks for the info. Will install once I have more time and report back in your thread.

Having flashed my router with this build (thnx, root and others), I'm finally getting to use a usb hdd. I've plugged the drive in, but it doesn't show in at the terminal output:

mount

nor do I see it in the webgui at mountpoints. Syslog shows it as there.

root@c7main:/# uname -r
4.9.67
root@c7main:/# cat /etc/openwrt_*
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r5464-5a8e9846af'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r5464-5a8e9846af'
DISTRIB_TAINTS=''
r5464-5a8e9846af

what does the command df show?

This is a stock, [GCC 7.2] build. Other than adding VPN ware, nothing is altered.

After opkg update

root@c7main:~# opkg install kmod-fs-ext4
Upgrading kmod-fs-ext4 on root from 4.9.67-1 to 4.9.91-1...
Downloading http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/kmod-fs-ext4_4.9.91-1_mips_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
 * 	kernel (= 4.9.91-1-32f977e15ddea593ee4fcb1dca2e5862) * 
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.
root@c7main:~# opkg install kmod-usb-storage-extras
Upgrading kmod-usb-storage-extras on root from 4.9.67-1 to 4.9.91-1...
Downloading http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/kmod-usb-storage-extras_4.9.91-1_mips_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras:
 * 	kernel (= 4.9.91-1-32f977e15ddea593ee4fcb1dca2e5862) * 
 * opkg_install_cmd: Cannot install package kmod-usb-storage-extras.

Hey everyone. For those wanting to use cloudflare DNS encrypted, you can also use stubby. (Package is in master, so you may need to adjust your package feeds.)

opkg update
opkg install stubby

Note: the default package config uses quad9, but this can be changed to use cloudflare.

1 Like