(Unresolved) WRT1900ACSV2 r30880 slow LAN-to-WAN via iperf

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
Kadigan
DD-WRT Novice


Joined: 19 May 2017
Posts: 12

PostPosted: Wed May 24, 2017 14:03    Post subject: (Unresolved) WRT1900ACSV2 r30880 slow LAN-to-WAN via iperf Reply with quote
I have the Linksys WRT1900ACSV2 (named on the box as WRT1900ACS-EU). After some research on the forums, I've found release r30880 to seem fair.

In general it works well - no restarts that I'm aware of, and WiFi seems to be available. But there is a LAN-to-WAN speed problem.

My test setup:

a) a test machine w/ 10gbit port (addressed 192.168.1.1) connected to Router's WAN
b) my NAS w/ 1gbit port (addressed as 10.20.0.102) connected to any of the Router's LAN ports (checked all 4)
c) secondary computer for monitoring via 10/100 USB dongle


My test software:

iperf1 + iperf2, iperf3


Prep:

a) hook up NAS to one of the Router's LAN port
b) hook up the PC to Router's WAN port
c) configure PC with 192.168.1.1/24
d) configure Router WAN w/ static 192.168.1.9/24
e) configure NAS with DHCP from router (received 10.20.0.102/24)
f) forward port 5678 to 10.20.0.102:5678
g) connect a "monitoring PC" via a 10/100-to-USB dongle, assign DHCP (got 10.20.0.92)
h) start iperf (1/2/3) on NAS w/ port 5678
i) start iperf (matching) on PC w/ port 8765

Complete iptables:

Code:
#!/bin/sh
iptables -F
iptables -t nat -F

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

iptables -t nat -A PREROUTING -p tcp -i `get_wanface` --dport 5678 -j DNAT --to-destination 10.20.0.102:5678

# working with /22 because I later intend to assign 10.20.1.0/24 and 10.20.2.0/24 for Guest-WiFi and VPN, respectively
iptables -t nat -A POSTROUTING -s 10.20.0.0/22 -j MASQUERADE




Tests:

1) PC (10gbit) to NAS (1gbit) via Router:WAN-to-LAN (PC: `iperf -c 192.168.1.9 -p 5678`) -- sustained 780Mbps
2) monitoring PC (10/100) to NAS (1gbit) via Router:LAN (monitoring: `iperf -c 10.20.0.102 -p 5678`) -- sustained 95Mbps
3) NAS (1gbit) to PC (10gbit) via Router:LAN-to-WAN (NAS: `iperfc -c 192.168.1.1 -p 8765`) -- sustained 80Mbps

The last bit is my problem. WAN-to-LAN is 780Mbps, while LAN-to-WAN is around 80Mbps (average 76.5Mbps) and refuses to go up much (standard jitter allows for momentaty 90Mbps). I find it weird that it'll go ten times as fast from WAN - I'd expect a 2:1 ratio, but a 10:1?

I disconnected the NAS from the router (1900ACSv2) and hooked it back up to my main router (RT-N18U), then tried iperf between it and my personal PC (1gbit) LAN-to-LAN -- seeing around 420Mbps sustained throughput both ways, so it doesn't seem to be a misconfiguration problem on the NAS.

Ideas?


(ad.2 -- 95Mbps, or about as much as I could reasonably expect from a 10/100 dongle - and slightly more than I realistically expected from the TP-Link gizmo)

(I tried browsing the subforum but found it difficult w/ non-obvious topics; I then did a search for my model to see if anyone else reported this problem -- doesn't seem like it, and I checked every found thread)
Sponsor
Kadigan
DD-WRT Novice


Joined: 19 May 2017
Posts: 12

PostPosted: Wed May 31, 2017 6:42    Post subject: Reply with quote
I have passed the device onto the intended recipient. Upon installation in the target network, it showed improvement in LAN-to-WAN transfer (consistent 100Mbps), and I don't understand why. I assume my testing methodology was flawed.

Flagging as "Unresolved" because I no longer have the device.

It could be useful if anyone could point out to me why my testing showed an issue where there apparently wasn't any.


**Edit**

It's been pointed out to me that I have, in all likelihood, used iperf improperly while testing.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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