Netgear R7800 much slower WAN->LAN than Linksys 1900ACS

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
p4p4
DD-WRT Novice


Joined: 17 May 2007
Posts: 34

PostPosted: Tue Nov 28, 2017 20:36    Post subject: Netgear R7800 much slower WAN->LAN than Linksys 1900ACS Reply with quote
I own a Netgear R7800 running Kong's DD-WRt 33770 and a Linksys 1900ACS (V1) with BS DD-WRT 33772. On both "Shortcut Forwarding Engine" is disabled because I use policy based routing in the VPN client. My internet connection is a fiber 1 Gigabit line.

In speedtests (not going over the VPN tunnel!) connected by LAN I get constant speeds of 800 Mbit up and 900 Mbit down on the Linksys 1900ACS, but the Netgear R7800 "only" gets 550 MbIt up/down. And this even though the specs of the 7800 are better. Same problem with all DD-WRT firmware versions on both routers in the last 6 months.

Does anybody have an explanation why the linksys outperforms the R7800 that much?
Sponsor
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Tue Nov 28, 2017 21:21    Post subject: Reply with quote
issue the command to the r7800 exactly as is without the "

"echo 2 > /proc/irq/255/smp_affinity"


will it magically make it take gigabit? probably not, but itll be closer. as for this whole "with ddwrt or x 3rd party firmware i cant get gigabit anymore etc" its not new, it should be expected, & its everywhere.. 4 second search i already find posts on it..

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6436
Location: UK, London, just across the river..

PostPosted: Tue Nov 28, 2017 22:01    Post subject: Reply with quote
well, tatsuya46 are this 2 lines are obsolete:
echo 2 > /proc/irq/67/smp_affinity
echo 2 > /proc/irq/89/smp_affinity

and replaced by
echo 2 > /proc/irq/255/smp_affinity

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
p4p4
DD-WRT Novice


Joined: 17 May 2007
Posts: 34

PostPosted: Tue Nov 28, 2017 22:09    Post subject: Reply with quote
tatsuya46 wrote:
issue the command to the r7800 exactly as is without the "

"echo 2 > /proc/irq/255/smp_affinity"


will it magically make it take gigabit? probably not, but itll be closer. as for this whole "with ddwrt or x 3rd party firmware i cant get gigabit anymore etc" its not new, it should be expected, & its everywhere.. 4 second search i already find posts on it..


Thanks for your quick reply! I ran the command and its a bit faster (630 up/580 down compared to 550/550 before). I'll do another test in the morning, maybe I can't max out the line now because there is more traffic in the evening.

When I save this as "Save startup", the command will be run automatically at reboot?
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Tue Nov 28, 2017 22:45    Post subject: Reply with quote
Alozaros wrote:
well, tatsuya46 are this 2 lines are obsolete:
echo 2 > /proc/irq/67/smp_affinity
echo 2 > /proc/irq/89/smp_affinity

and replaced by
echo 2 > /proc/irq/255/smp_affinity


no those are for each wifi radio, 255 is for the wan interface, wan generates more interrupts, but anything in the list of cat /proc/interrupts can be shuffled around to whatever u want

p4p4 wrote:
tatsuya46 wrote:
issue the command to the r7800 exactly as is without the "

"echo 2 > /proc/irq/255/smp_affinity"


will it magically make it take gigabit? probably not, but itll be closer. as for this whole "with ddwrt or x 3rd party firmware i cant get gigabit anymore etc" its not new, it should be expected, & its everywhere.. 4 second search i already find posts on it..


Thanks for your quick reply! I ran the command and its a bit faster (630 up/580 down compared to 550/550 before). I'll do another test in the morning, maybe I can't max out the line now because there is more traffic in the evening.

When I save this as "Save startup", the command will be run automatically at reboot?


yes & u can also try adding "for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done" without " to startup on a separate line from the first command, to disable cpu scaling, always at 1.7ghz (unlike the affinity change, this one needs a reboot to have effect), but the scaling logic is better now so maybe only a few more mbps at best

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

p4p4
DD-WRT Novice


Joined: 17 May 2007
Posts: 34

PostPosted: Wed Nov 29, 2017 9:34    Post subject: Reply with quote
I just tested again on the R7800 using the "echo 2 > /proc/irq/255/smp_affinity" command and now I get constant 650up/650down speeds over LAN. That is 100MBit faster than without the command.

Still wondering why the Linkssys 1900ACS manages to get 800/900MBit with DD-WRT. Maybe its the 4.4 Kernel versus the 3.18 Kernel?
Rudder2
DD-WRT Novice


Joined: 31 May 2019
Posts: 2

PostPosted: Fri May 31, 2019 3:37    Post subject: Reply with quote
You ROCK tatsuya46!! Using these 2 commands fixed my slow download speed on my Nighthawk R7800 Router!! The first helped a little but the second made it work like on the stock firmware!! THANK YOU!!

echo 2 > /proc/irq/255/smp_affinity

for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
scope2
DD-WRT User


Joined: 12 Jul 2017
Posts: 181

PostPosted: Fri Jan 15, 2021 22:12    Post subject: Reply with quote
Are the 2 commands in @Rudder2 still needed to improve performance? Im on one of the later builds.

Im barely seeing 400+, so might be internet issues, rather than R7800 problem as you guys are talking about issues over 600+.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum