Qualcomm Fast Path For LEDE

The problem is that I have already downloaded all sources, and with "-j8" the build is spawned on gdb.
EDIT:
Now I used another method: toolchain and host I built without "-j8" ... the rest of the structure (target- *) is under construction with "-j8" ... so far without error.
EDIT2: Anyway still asking for step-by-step instructions because I think I'm doing something wrong - I want to download FP sources for 74kc (WNDR4300)?

The github has the step by step.
It is exactly the same I used to build except the part about keeping the source packages and linking it during build time.
I am using Centos 7 with a older GCC, another person posted the fix about the new GCC and the fix required.

@gwlim : 24* or 74* sources to WNDR4300v1 ?
I use ubuntu-16.04.2-x64...

EDIT:
Using 74* sources. Build properly only if build toolchain/host without -j. Workin fine.
My first test in speedtest.net (ISP: max. 300/30 Mb/s):
default firmware without FP (only WIFI sta): ~130 Mb/s
this firmware (with FP and identical: only sta WIFI): ~192-210 Mb/s.

root@WNDR4300:~# logread | grep fast
Sun Jul  2 17:48:55 2017 kern.alert kernel: [   38.095720] fast-classifier: starting up
Sun Jul  2 17:48:55 2017 kern.alert kernel: [   38.099955] fast-classifier: registered

Generally FP working properly and "speed effect to WIFI client" to my WNDR4300v1.

Thx @gwlim - great job !

Pleas add support to ppc* - my router is WNDR4700...
:smiley:

I tried to Your build.
I tested it with PPPoE (pppoe-server on CentOS6.9).

I tested it in the following environment.
Win10PC ---- [ Router ] ---- CentOS6.9 (on VMware ESXi6.0u3)

iperf3 -c 192.168.2.1 -P 36 -d -t 65 -O 5

Device is Buffalo WZR-900DHP.(SoC: BCM47081A0)

FastPath OFF
[SUM] 0.00-65.00 sec 2.08 GBytes 275 Mbits/sec sender
[SUM] 0.00-65.00 sec 2.09 GBytes 276 Mbits/sec receiver

FastPath ON
[SUM] 0.00-64.97 sec 2.31 GBytes 306 Mbits/sec sender
[SUM] 0.00-64.97 sec 2.32 GBytes 307 Mbits/sec receiver

MTU=1454

I also tried it. Device is Buffalo BHR-4GRV2.(SoC: Qualcomm QCA9558, 720MHz)

iperf3 -c 192.168.2.1 -P 36 -d -t 65 -O 5

FastPath OFF
[SUM] 0.00-65.00 sec 2.80 GBytes 370 Mbits/sec sender
[SUM] 0.00-65.00 sec 2.80 GBytes 370 Mbits/sec receiver

FastPath ON
[SUM] 0.00-65.00 sec 6.95 GBytes 919 Mbits/sec sender
[SUM] 0.00-65.00 sec 6.95 GBytes 919 Mbits/sec receiver

with PPPoE / MTU1454

Sun Jul  2 18:58:51 2017 kern.err kernel: [   21.246886] wireguard: The xt_hashlimit module for IPv4 is required
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.336654] xt_time: kernel timezone is -0000
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.358986] usbcore: registered new interface driver cdc_ether
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.552364] PPP generic driver version 2.4.2
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.561729] PPP MPPE Compression module registered
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.568603] NET: Registered protocol family 24
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.575054] PPTP driver version 0.8.5
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.582758] usbcore: registered new interface driver rndis_host
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.596714] wireguard: WireGuard 0.0.20170115 loaded. See www.wireguard.io for information.
Sun Jul  2 18:58:51 2017 kern.info kernel: [   21.605250] wireguard: Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.

Probably bug or "make menuconfig" required add package iptables-mod-hashlimit... ???
Added and any effect (by wireguard start without errors).

EDIT:
Generally re-download/config/compile - using "-j8" (ubuntu-16.04.2-x64) switch and...build properly (no any errors to toolchain/tools) - probably first time my compilation from old sources missing some files/etc.

EDIT2:
WOW ! (its the same WIFI sta - relayd and the same ISP: 300/30 Mbps, and the same distance: ~5 m) - ISP modem/router Funbox3: 4x4 MIMO AC,i use only 5 GHz; max. 23dbm; WIFI default Europe settings :wink:

WNDR4300 - using hardware mod antenna 5 GHz: 3 x dual band 5 GHz/2.4 GHz 8 dbi RP-SMA external antenna (low cost "Chinese invention") - only 3 x 5 GHz antenna.
Generally very decent performance for such an airy router using this Fast Path.

Will look at wireguard issue later.
I think that VPN is going to be more important as more surveillance going on.

Just built it for TEW-692 (RT3883 based), but SQM doesn't seem to work. I'm using old configs (because I have to minimize the down time at my home).

I don't know if it's because of that (I'm using Cake+Piece of Cake)

Also, netperf/iperf performance seems to go down when I test it against the router. Any idea why would that be?

so I made a build from the github repo only with what I need
at first I had 2 reboots without any output on the serial interface but now is working well even with pppoe ~450 mb/s up/down
wireguard speed is max 50 mb/s (but something is wrong with routing on the VPN, VoIP is not working)

regards

@gwlim: can you build an image for Archer C5 v1.2 as well? It has the same hardware as C7 v.2. Thanks

@chros Just cross-flash your Router to a C7 (Google it...). It's the same model anyway.

Archer C7 with PPPoE. Cannot load websites such as lede-project.org, speedtest.net. Changed DNS settings already and still not possible.

On 1043ND I had the same problems,but I made a custom build from @gwlim github, only with the services I needed and now is working fine, except wireguard who is having some problems (but I don't need it right now on this system)

Thank you @lucize. Could you explain how you made your own build?

follow the instructions from here


I think that is the right architecture for C7
regards

If you are on PPoE DO NOT USE the June build I forgot to remove the broken HW-NAT integration patches
I was under the impression then when pple see June Build vs July Build they will automatically choose July build but I was wrong
Anyway I am going to Refresh all July builds soon because of the old wireguard dmesg error messages
You will not have the message after the wireguard is updated

I used the July build and it PPPoE does not work either.

Is it because of multiwan?

@gwlim they attempt to load for a minute or so and then don't load at all.

Is it because of multiwan?
@lucize which services did you omit?