Hi
How to get same vpn speed on Netgear r7800 as on Linksys wrt3200?
Running Express vpn.
Is it possible?
Regards
Peter
I was looking for buy another router and I was actually looked at those but didn’t buy it for the following reason. While looking at the specs & reviews it appears the R7800 does “CPU frequency scaling” which basically means (for lack of a better term) the CPU speed is dynamic and not static. The r7800 could run anywhere from 384 MHz on idle to 1700 MHz under a load. Again I only looked into Netgear r7800 specs online but I have the Linksys EA8500 and it also does CPU frequency scaling which sucks when configured as an ovpn client. I’m too lazy to look up the specs right now but IIRC think the EA8500 is suppose to max out at 1400 MHZ but it doesn’t matter, Linksys could have labeled 1 GHz CPU because I rarely ever see it go over 1000MHZ which is the root cause for these not being able to reach your ISP’s max speed while you running ovpn.
I tried my EA8500 as an ovpn client and the best is could do was something like 30 upload and 30 download on speedtest. I’m provisioned at 115/37 and the wrt3200acm has NO problem doing 110/35 (or higher) with AES 256 enabled. So if you have the WRT3200ACM running at 1866 MHZ and a EA8500 or R7800 floating between 384 MHz on idle to 1700 MHz it’s not hard to see why the wrt3200 is going to win that battle every time. I don’t know if it is possible otherwise it someone would have asked by now but it would be nice if the Devs could figure out a way to hard card the cpu speeds. Say if they made the new bottom 600mhz and then a 100 or 200mhz increments from the 600mhz up, sort of like the overclocking option in some of the old Broadcom dd-wrt routers.
Hi
How to get same vpn speed on Netgear r7800 as on Linksys wrt3200?
Running Express vpn.
Is it possible?
Regards
Peter
I was looking for buy another router and I was actually looked at those but didn’t buy it for the following reason. While looking at the specs & reviews it appears the R7800 does “CPU frequency scaling” which basically means (for lack of a better term) the CPU speed is dynamic and not static. The r7800 could run anywhere from 384 MHz on idle to 1700 MHz under a load. Again I only looked into Netgear r7800 specs online but I have the Linksys EA8500 and it also does CPU frequency scaling which sucks when configured as an ovpn client. I’m too lazy to look up the specs right now but IIRC think the EA8500 is suppose to max out at 1400 MHZ but it doesn’t matter, Linksys could have labeled 1 GHz CPU because I rarely ever see it go over 1000MHZ which is the root cause for these not being able to reach your ISP’s max speed while you running ovpn.
I tried my EA8500 as an ovpn client and the best is could do was something like 30 upload and 30 download on speedtest. I’m provisioned at 115/37 and the wrt3200acm has NO problem doing 110/35 (or higher) with AES 256 enabled. So if you have the WRT3200ACM running at 1866 MHZ and a EA8500 or R7800 floating between 384 MHz on idle to 1700 MHz it’s not hard to see why the wrt3200 is going to win that battle every time. I don’t know if it is possible otherwise it someone would have asked by now but it would be nice if the Devs could figure out a way to hard card the cpu speeds. Say if they made the new bottom 600mhz and then a 100 or 200mhz increments from the 600mhz up, sort of like the overclocking option in some of the old Broadcom dd-wrt routers.
put this (exactly the whole thing thats highlighted in bold) in commands tab, click save startup then reboot once, done. take it out then reboot once again to restore default krait scaling
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
put this (exactly the whole thing thats highlighted in bold) in commands tab, click save startup then reboot once, done. take it out then reboot once again to restore default krait scaling
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
Nice, thanks!!!! Now I have to setup one as an ovpn client and test my theory...
EDIT: here's the before and after speed test results, in my case still not as good as the wrt3200 but 100% better than it was prior your hack
Joined: 16 Apr 2016 Posts: 307 Location: California
Posted: Thu Sep 14, 2017 4:53 Post subject: Nice
@ tatsuya46
This fix is great, Thanks... there are a few other routers that do this speed governor also.
I had noticed this awhile back and commented on it
Maybe @ brainslayer can build a toggle into the interface?
(ENABLE MAX CPU ACCELERATION)
Also, there is another problem on the EA8500 that needs to be added to the startup as well, which I had to put together.
Basically, the WAN interface will not start sometimes properly. I have to bring it down 60 seconds into boot and then bring it back up. I just added it to the Startup as a delayed boot scripting but it will cause OpenVPN to not connect on a restart if I don't use it on certain VPN providers.
Simple Below fixes the issue (ADMINISTRATION...COMMANDS...SAVE STARTUP)
#!/bin/sh
sleep 60
stopservice wan
sleep 5
startservice wan _________________ My Karma ran over your Dogma
SploitWorks Custom Flashed Routers
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Thu Sep 14, 2017 5:25 Post subject:
05dyna wrote:
tatsuya46 wrote:
put this (exactly the whole thing thats highlighted in bold) in commands tab, click save startup then reboot once, done. take it out then reboot once again to restore default krait scaling
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
Nice, thanks!!!! Now I have to setup one as an ovpn client and test my theory...
EDIT: here's the before and after speed test results, in my case still not as good as the wrt3200 but 100% better than it was prior your hack
before
after
the rest is cause ea8500 is 1.4ghz & wrt3200acm is 1.8ghz its simply got a speed advantage, r7800 would keep up. if i remember correctly krait used in ipq806x is slightly better per 1 mhz than that used in wrt3200acm but only barely, ea8500's speed gap is too much behind for it to compensate. sfe is a problematic buggy feature, dont know if it even works with openvpn at all. u can modify min core idle speeds as well, but cant modify the steps it takes, have to use existing steps, 384, 600, 800, 1000, 1400, 1725 (ipq8065 r7800). eg: set 600mhz or 800mhz etc as minimum idle speed is doable but mbps will still probably drop.
ddwrt current values are found by "cat /sys/etc/here" without ", eg: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq gives current value of min idle freq for core 0. when checking some, they report no such file or dir, i dont know why.
i think the changes needed to have clock scaling with minimal throughput decreases are tweaks in the following, especially in load thresholds & sampling rates, but ive never tested non ddwrt defaults as i have no need, would need to disable performance governor first & go back to ondemand before testing these, these should be netgear's defaults as of 1.0.0.40. enter in the same format as seen in telnet, ssh, or gui command window.
# The impact on idle-state power with this change is about ~40-45mW.
echo "800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "800000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
this one above is for setting minimum idle freq
# Change sampling rate for frequency scaling decisions to 1s, from 10 ms
echo "1000000" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
# Change sampling rate for frequency down scaling decision to 10s
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
# Change the CPU load threshold above which frequency is up-scaled to turbo frequency,to 50%
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core
# Change the CPU load threshold below which frequency is down-scaled to 10% (down_threshold = up_threshold - down_differential)
echo 40 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
# Set sync_freq and optimal_freq used for multicore scenarios to max freq
echo "1000000" > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq
echo "1000000" > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
aes128 would probably help too, aes256 is heavy & is questionable if its even as secure, or less than that of aes128 _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
@ tatsuya46 Thanks again for both your original reply and taking the time to document the additional information. As far as my test I did have to disable SFE on the EA8500 to achieve the fastest u/l & d/l results. With regards to the wrt3200 and SFE & encryption the wrt3200 doesn’t seem to be impacted with AES 256 or if SFE is enabled or disabled. Evidently the 1.8GHz CPU does have the advantage there. I didn’t try the 128 encryption with the EA8500 but next time I test it I’ll be sure to give it a try. Had I known about this prior I may have held off on the 3200 purchase and just kept the EA8500 since your hack is doing above and beyond what other previous routers I tried were able to accomplish and I tried a few...
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Thu Sep 14, 2017 23:38 Post subject:
can still sell the wrt3200acm, its still an overpriced unit (here anyway) so ull get a decent penny for it, or maybe try trading for a r7800 _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
Joined: 16 Apr 2016 Posts: 307 Location: California
Posted: Fri Sep 15, 2017 1:48 Post subject: wrt320acm
The WRT3200ACM can be purchased at low prices and the VPN speeds are incredible fast.
I hit 170+ Mbps on AES-128-CBC
I would like to see the 7800 try to get near that.
I ordered a 7800 today to test it out.
What I really want to see is OpenVPN use both Processor cores... Then we are talkin _________________ My Karma ran over your Dogma
SploitWorks Custom Flashed Routers
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Fri Sep 15, 2017 5:42 Post subject: Re: wrt320acm
sploit wrote:
What I really want to see is OpenVPN use both Processor cores... Then we are talkin
might want to address the openvpn devs on that..
and that router isnt low here, even the wrt1900ac(s), even the wrt1200ac, are expensive as HELL, STILL. i dont know why but they are here, r7500 v2, ea8500, r7800 are all far better deals here. _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
Posted: Sun Sep 17, 2017 3:41 Post subject: Re: NETGEAR R7800 X4S VPN SPEED
tatsuya46 wrote:
05dyna wrote:
Westpro wrote:
Hi
How to get same vpn speed on Netgear r7800 as on Linksys wrt3200?
Running Express vpn.
Is it possible?
Regards
Peter
I was looking for buy another router and I was actually looked at those but didn’t buy it for the following reason. While looking at the specs & reviews it appears the R7800 does “CPU frequency scaling” which basically means (for lack of a better term) the CPU speed is dynamic and not static. The r7800 could run anywhere from 384 MHz on idle to 1700 MHz under a load. Again I only looked into Netgear r7800 specs online but I have the Linksys EA8500 and it also does CPU frequency scaling which sucks when configured as an ovpn client. I’m too lazy to look up the specs right now but IIRC think the EA8500 is suppose to max out at 1400 MHZ but it doesn’t matter, Linksys could have labeled 1 GHz CPU because I rarely ever see it go over 1000MHZ which is the root cause for these not being able to reach your ISP’s max speed while you running ovpn.
I tried my EA8500 as an ovpn client and the best is could do was something like 30 upload and 30 download on speedtest. I’m provisioned at 115/37 and the wrt3200acm has NO problem doing 110/35 (or higher) with AES 256 enabled. So if you have the WRT3200ACM running at 1866 MHZ and a EA8500 or R7800 floating between 384 MHz on idle to 1700 MHz it’s not hard to see why the wrt3200 is going to win that battle every time. I don’t know if it is possible otherwise it someone would have asked by now but it would be nice if the Devs could figure out a way to hard card the cpu speeds. Say if they made the new bottom 600mhz and then a 100 or 200mhz increments from the 600mhz up, sort of like the overclocking option in some of the old Broadcom dd-wrt routers.
put this (exactly the whole thing thats highlighted in bold) in commands tab, click save startup then reboot once, done. take it out then reboot once again to restore default krait scaling
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done
Joined: 16 Nov 2015 Posts: 6439 Location: UK, London, just across the river..
Posted: Sun Sep 17, 2017 12:10 Post subject:
yep i can confirm those lines from tatsuya46 are working well i was sceptic to try them as they can cause overheating, but since i implemented those lines in my set up i can see R7800 is more responsive and fast the toll is +3-4 C more CPU temp but this is nothing... _________________ 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