10MB/s speeds on LAN ports

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page 1, 2  Next
Author Message
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 2:54    Post subject: 10MB/s speeds on LAN ports Reply with quote
I'm running DD-WRT v3.0-r41686 std (12/10/19) on my Linksys WRT1900ACS. When I plug directly into any of the lan ports and run a speedtest from the laptop directly to the router I only get about 11MB/s. I've tried all ports and multiple different cables.

Am I missing some setting in DDWRT or is this a bug in the build I'm running?

Btw this is the command I'm running for the speedtest
Code:
yes | pv | ssh root@192.168.1.1 "cat > /dev/null"


I just want to make it clear. This is not an issue with an external speedtest. This is purely machine to router speeds

Also, the LED on the router indicates a 100MB/s link
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Apr 04, 2020 4:14    Post subject: Reply with quote
A better test would be to use iperf. FWIW, I averaged about 5.22MB/s from a dinosaur 13" macbook running Debian 10 to my R7000 running FreshTomato. I don't see how you're connected at 100MB/s unless there is an issue with the cable, or the NIC is configured for that speed, etc., or the NIC is not gigabit.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 4:43    Post subject: Reply with quote
I'm not concerned with the test. Using the same command I'm able to get 100MB/s from machine to machine. It's not a problem with the nic on the laptop. It's capable of 100MB/s and has been tested. The LAN port on the router IS 100MB/s.

It is very clearly an issue with DDWRT.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Apr 04, 2020 5:42    Post subject: Reply with quote
Yes, a router is a PC. Most definitely. Yes, I am being sarcastic. I presume your machine NICs are 100MB/s fast ethernet and not gigabit. That junk macbook is gigabit. FWIW, average for the same test on my E4200v1 running the latest public beta of DD-WRT was around 850-900KB/s. I still suggest to try setting up an iperf client or server on the router or a machine and then client on the other and test throughput that way for giggles. You have nothing to lose.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Apr 04, 2020 8:17    Post subject: Reply with quote
twiclo wrote:
I'm not concerned with the test. Using the same command I'm able to get 100MB/s from machine to machine. It's not a problem with the nic on the laptop. It's capable of 100MB/s and has been tested. The LAN port on the router IS 100MB/s.

It is very clearly an issue with DDWRT.


the test is shit Laughing

in the best case, this is used to measure the ssh / scp transfer speed and nothing else

Code:
yes | pv | ssh root@192.168.1.1 "cat > /dev/null"
DD-WRT v3.0-r42617 std (c) 2020 NewMedia-NET GmbH
Release: 03/05/20
Board: Netgear R7800
^C,7MiB 0:00:05 [16,5MiB/s] [    <=> 



Code:
 iperf3 -Rc 192.168.1.1 -P 12 -t 30
[SUM]   0.00-4.05   sec   454 MBytes   941 Mbits/sec                  receiver
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Apr 04, 2020 16:50    Post subject: Reply with quote
ho1Aetoo wrote:
twiclo wrote:
I'm not concerned with the test. Using the same command I'm able to get 100MB/s from machine to machine. It's not a problem with the nic on the laptop. It's capable of 100MB/s and has been tested. The LAN port on the router IS 100MB/s.

It is very clearly an issue with DDWRT.


the test is shit Laughing

in the best case, this is used to measure the ssh / scp transfer speed and nothing else

Code:
yes | pv | ssh root@192.168.1.1 "cat > /dev/null"
DD-WRT v3.0-r42617 std (c) 2020 NewMedia-NET GmbH
Release: 03/05/20
Board: Netgear R7800
^C,7MiB 0:00:05 [16,5MiB/s] [    <=> 



Code:
 iperf3 -Rc 192.168.1.1 -P 12 -t 30
[SUM]   0.00-4.05   sec   454 MBytes   941 Mbits/sec                  receiver


Thank you for that. Maybe that will drive the point home.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Apr 04, 2020 20:42    Post subject: Reply with quote
he can also easily measure the transferrate with iperf3
that's what it is intended for and it is definitely installed on the router Wink
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 20:49    Post subject: Reply with quote
Devices that are hardwired get worse transfer speeds than those on the wifi

Whatever slow down speed may happen over ssh (even though I'm sure that's not a thing) it absolutely wouldn't slow things down by a factor of 10

Computer to computer tests show 100Mb/s but computer to computer through the router are 11MB/s

Please, for the love of God, stop trying to blame something I've already ruled out. What's the next thing I need to look at?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Apr 04, 2020 20:57    Post subject: Reply with quote
i'm not sure if you understand it but the test is "bullshit" so you measure the ssh transmission rate
what are you doing over ssh? any permanent tunnels running?
as I said, you can measure the real transfer rate between two devices with iperf3
I won't go into the worse ssh performance now, but ssh is encrypted and is usually only used for administration
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 21:11    Post subject: Reply with quote
I already have measured transfer rates that's what lead me to also try the ssh test. I've done file transfers from computer to computer and router to computer both wired and over WiFi

I promise you there is a problem with ddwrt
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 21:13    Post subject: Reply with quote
At the end of the day this is what I know

Transfer speeds are normal when plugging two computers into a switch

Transfer speeds are 1/10th what they should be when plugging two computers into the router
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Apr 04, 2020 21:17    Post subject: Reply with quote
OK

Where is the problem then?
Such an iperf3 test is done in 5min

start the server on the router

iperf3 -s

start the client on the PC

iperf3 -Rc 192.168.1.1 -P 12 -t 30

this takes a few minutes and then you can see the actual transferrate between router and PC (100/1000Mbit)

Smile
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 21:31    Post subject: Reply with quote
I won't be able to do this for another 12 hours and I'd rather have us look into other issues in the mean time. Not only have I ran multiple different tests using different methods I've proven that there's nothing wrong with the SSH test. But the most important thing is this argument couldn't be farther from relevant

If you can't get off this topic just stop posting. You're being incredibly unhelpful
twiclo
DD-WRT Novice


Joined: 04 Apr 2020
Posts: 7

PostPosted: Sat Apr 04, 2020 21:39    Post subject: Reply with quote
Forgot I could just do this over SSH. Here you go. Still showing the same speeds the ssh test did

Code:
[twiclo@toph ~]$ iperf3 -Rc 192.168.1.1 -P 12 -t 30
Connecting to host 192.168.1.1, port 5201
Reverse mode, remote host 192.168.1.1 is sending
[  4] local 192.168.1.3 port 57094 connected to 192.168.1.1 port 5201
[  6] local 192.168.1.3 port 57096 connected to 192.168.1.1 port 5201
[  8] local 192.168.1.3 port 57098 connected to 192.168.1.1 port 5201
[ 10] local 192.168.1.3 port 57100 connected to 192.168.1.1 port 5201
[ 12] local 192.168.1.3 port 57102 connected to 192.168.1.1 port 5201
[ 14] local 192.168.1.3 port 57104 connected to 192.168.1.1 port 5201
[ 16] local 192.168.1.3 port 57106 connected to 192.168.1.1 port 5201
[ 18] local 192.168.1.3 port 57108 connected to 192.168.1.1 port 5201
[ 20] local 192.168.1.3 port 57110 connected to 192.168.1.1 port 5201
[ 22] local 192.168.1.3 port 57112 connected to 192.168.1.1 port 5201
[ 24] local 192.168.1.3 port 57114 connected to 192.168.1.1 port 5201
[ 26] local 192.168.1.3 port 57116 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  9.53 MBytes  79.9 Mbits/sec
[  6]   0.00-1.00   sec  9.54 MBytes  80.0 Mbits/sec
[  8]   0.00-1.00   sec  9.66 MBytes  81.0 Mbits/sec
[ 10]   0.00-1.00   sec  9.46 MBytes  79.4 Mbits/sec
[ 12]   0.00-1.00   sec  9.51 MBytes  79.8 Mbits/sec
[ 14]   0.00-1.00   sec  9.54 MBytes  80.0 Mbits/sec
[ 16]   0.00-1.00   sec  9.72 MBytes  81.5 Mbits/sec
[ 18]   0.00-1.00   sec  9.84 MBytes  82.6 Mbits/sec
[ 20]   0.00-1.00   sec  9.16 MBytes  76.8 Mbits/sec
[ 22]   0.00-1.00   sec  9.53 MBytes  79.9 Mbits/sec
[ 24]   0.00-1.00   sec  9.78 MBytes  82.0 Mbits/sec
[ 26]   0.00-1.00   sec  8.85 MBytes  74.2 Mbits/sec
[SUM]   0.00-1.00   sec   114 MBytes   957 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[  6]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[  8]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 10]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 12]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 14]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 16]   1.00-2.00   sec  9.76 MBytes  81.8 Mbits/sec
[ 18]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 20]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 22]   1.00-2.00   sec  9.31 MBytes  78.1 Mbits/sec
[ 24]   1.00-2.00   sec  9.32 MBytes  78.2 Mbits/sec
[ 26]   1.00-2.00   sec  9.27 MBytes  77.8 Mbits/sec
[SUM]   1.00-2.00   sec   112 MBytes   941 Mbits/sec
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Sat Apr 04, 2020 21:41    Post subject: Reply with quote
it shows 941Mbit throughput = linkspeed 1Gbit
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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