Linksys E2000 Slow LAN throughput with DD-WRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3
Author Message
irmas
DD-WRT Novice


Joined: 22 Oct 2016
Posts: 8

PostPosted: Sun Dec 25, 2016 17:23    Post subject: Reply with quote
slobodan wrote:
You can get a high speed with DD-WRT saving this in your startup script:
Code:
# echo 262144 > /proc/sys/net/core/rmem_max
# echo 262144 > /proc/sys/net/core/wmem_max
# echo "4096 16384 262144" > /proc/sys/net/ipv4/tcp_wmem
# echo "4096 87380 262144" > /proc/sys/net/ipv4/tcp_rmem
echo 1000 > /proc/sys/net/core/netdev_max_backlog

The commented stuff is optional, last line should do it for most users.


I am sorry for this noob question, but how to add this to start up script? thanks
Sponsor
jjwatmyself
DD-WRT User


Joined: 19 Mar 2016
Posts: 55

PostPosted: Sun Dec 25, 2016 17:26    Post subject: Reply with quote
Administration, Commands
irmas
DD-WRT Novice


Joined: 22 Oct 2016
Posts: 8

PostPosted: Sun Dec 25, 2016 18:52    Post subject: Reply with quote
jjwatmyself wrote:
Administration, Commands

Oh, thanks.
Rudy64
DD-WRT Novice


Joined: 21 Dec 2010
Posts: 35

PostPosted: Tue Sep 12, 2017 13:50    Post subject: Reply with quote
I just bumped my Internet speeds with my provider up to 110/10 from 50/5, and found I was seeing a bottleneck with the E2000. I could do no better than about 68 Mbps. I entered the startup commands but they only added about 10% to the speed (up to about 80 Mbps). CPU load averages were exceeding 1.00 (as high as 1.60) while running a speed test.

I ended up overclocking to 450 MHz and speeds increased to where I am now up at 102 Mbps. I tried overclocking up to 500 MHz but saw no improvement, so I knocked it back a bit. Load averages now stay below 1.00.

Curiously, loads do not spike nearly as much when doing a speedtest via wireless. But, wireless was still restricted to the same speeds, and had the same improvement, after I made these changes.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Tue Sep 12, 2017 14:36    Post subject: Reply with quote
Rudy64 wrote:
I just bumped my Internet speeds with my provider up to 110/10 from 50/5, and found I was seeing a bottleneck with the E2000. I could do no better than about 68 Mbps. I entered the startup commands but they only added about 10% to the speed (up to about 80 Mbps). CPU load averages were exceeding 1.00 (as high as 1.60) while running a speed test.

I ended up overclocking to 450 MHz and speeds increased to where I am now up at 102 Mbps.
Interesting benchmarks; what build are you using? Are you aware DD has SFE now in kernel 3.10+ (accelerated NAT; see my footer for details); 33006 and 33215 are working for most but see their "New Build" threads. 33006 worked for the E1500 and E2500, so the average should ok too, right? Razz If you flash DD, be sure to also read the Peacock announcement, router model thread(s), and it's wiki. For builds, see Builds in my footer (many wikis now reference defunct links).

Oh, egc put the k3.10 33215 on a E2000:
egc (from 33215 build thread) wrote:
Status: working as AP, basic settings 2,4GHz and 5Ghz are working, uptime 24H

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
Rudy64
DD-WRT Novice


Joined: 21 Dec 2010
Posts: 35

PostPosted: Tue Sep 12, 2017 15:50    Post subject: Reply with quote
jwh7 wrote:
Interesting benchmarks; what build are you using?


I am using an older build on this E2000 (DD-WRT v24-sp2 (05/27/13) mega - build 21676), but it has proven to be incredibly stable for me. (I do remote server admin work remotely from my office at home, so I do not want to try anything that might be unstable or brick it.) It has worked so well that I never gave any further thought to attempting any upgrades. Smile

In one of your links, I found a thread with a post by Kong, saying to try this:

nvram set et_dispatch_mode=1

I just gave that a try, and now I am getting my full speed. I also notice the download speed in the speedtest does not fluctuate wildly like it did before--it appears to be a lot more solid. My speeds now are 121/10 (I'm paying for 110/10). Pings have degraded slightly as expected (18-20ms before, 27-30ms after) but I can live with that. I've had worse ping times over the years and never noticed any ill effects.

Thanks for the reply!
silentseven
DD-WRT Novice


Joined: 16 Oct 2017
Posts: 6

PostPosted: Mon Oct 16, 2017 16:36    Post subject: Reply with quote
Thanks for the thread. Just went through this and wanted to share results. I fixed my throughput issue by disabling QoS settings.

- HW: e3000
- Build: v24-sp2 std 14929

Download throughput with
- QoS enabled: ~ 11 Mbps
- QoS disabled ~ 91 Mbps
- Speed at modem ~ 140 Mbps
- Pre/post ping same ~ 11 ms

No overclocking,
echo 4096 > /proc/sys/net/core/netdev_max_backlog was added to startup.

Command nvram set et_dispatch_mode=1 did not impact my throughput.

Is there any benefit to going to a newer build? This one has been very stable.
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1557
Location: Zwolle

PostPosted: Mon Oct 16, 2017 17:21    Post subject: Reply with quote
Go for 33215 K3.x for now, it has SFE so it is very fast.
_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


silentseven
DD-WRT Novice


Joined: 16 Oct 2017
Posts: 6

PostPosted: Mon Oct 16, 2017 21:18    Post subject: Reply with quote
Thanks. Trying not to be a nOOb but also not wanting to brick anything. Quick confirmation of the following would be highly appreciated.

Correct FTP source?
- ftp://ftp.dd-wrt.com/betas/2017/08-25-2017-r33215/broadcom_K3X/

correct bin?
- k3.x_mega_e3000.bin

Can this be directly applied via the firmware update screen on my current 14929 build or do I need to follow additional steps?

Will post results once flashed.
silentseven
DD-WRT Novice


Joined: 16 Oct 2017
Posts: 6

PostPosted: Tue Oct 17, 2017 14:30    Post subject: Reply with quote
silentseven wrote:


Can this be directly applied via the firmware update screen on my current 14929 build or do I need to follow additional steps?



OK, this is solved, I read the upgrade docs. Understand what is needed. Still would like to verify the version above is the right bin file.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12885
Location: Netherlands

PostPosted: Tue Oct 17, 2017 16:16    Post subject: Reply with quote
Stick to 33215 more recent builds are probably to big.

Always reset to default and put your settings in manually.

You can use the Gui to update.

You come from a very old build, some people advice to take intermediate steps.
If you are on a k2.6 build, first upload k2.6 mini build 21676, then load k3.x 21676, then k3.x 33215.

Probably this is a bit overdone and you can flash 33215 directly, but you never know until you tried Sad

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
silentseven
DD-WRT Novice


Joined: 16 Oct 2017
Posts: 6

PostPosted: Tue Oct 17, 2017 16:23    Post subject: Reply with quote
OK. This is doable. I did poke around on the FTP site and looks like I can find those builds under different years.

Just out of curiosity more than anything...what's the potential issue of going straight to the new build?

Yes - understood on wiping the settings and manually applying. Appreciate the reminder.
Goto page Previous  1, 2, 3 Display posts from previous:    Page 3 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum