DD-WRT wired network speed with WDR4300 only 5.5MBit/s

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Sat Jan 24, 2015 11:51    Post subject: DD-WRT wired network speed with WDR4300 only 5.5MBit/s Reply with quote
Here is my setup:
- Router: wdr4300 with DD-WRT v24-sp2 (12/22/14) std
- PC Win8 wired to router
- CuBox (XBIAN) wired to router
- Router is at factory defaults, nothing changed

I test with iperf.
Pc (Server) - CuBox (Client) - TCP - 280 MBit/s
Pc (Client) - CuBox (Server) - TCP - 5.5 MBit/s
PC (Client) - CuBox (Server) - UDP - 115 MBit/s
PC (Server) - CuBox (Client) - UDP - 335 MBit/s

My Test with original tplink firmware (TL-WDR4300_V1_141113)
Pc (Client) - CuBox (Server) - TCP - 290 MBit/s
PC (Client) - CuBox (Server) - UDP - 352 MBit/s
PC (Server) - CuBox (Client) - UDP - not tested
Pc (Server) - CuBox (Client) - TCP - not tested

So i really have no clue whats up with the DD-WRT firmware. For both setups the original firmware and the dd-wrt firmware were with factory defaults. nothing changed at all.

One strange thing i saw was that the connection with tcp and PC (Server) - CuBox (Client) is slowly ramping up. In the first 5 seconds i do not even get 1 MBit/s.

The 5.5MBit/s are horrible for network streaming Sad

Does anyone have an advice?
I don't want to use tplink firmware Sad
Sponsor
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Sat Jan 24, 2015 15:45    Post subject: Reply with quote
I did some testing again and found out that using wireless connection there is no issue at all. Got around 40-50 Mbit which seems fine. Unfortunately i cannot use wireless with my nas.
I cannot imagine why a wired connection has such big issues.

I even logged some wireshark traffic comparing tplink firmware with ddwrt and couldn't find any info.

Could it be some mysterious block of tcp traffic?
I don't know.
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Sat Jan 24, 2015 16:03    Post subject: Reply with quote
upgrade and try to disable QoS...
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Sat Jan 24, 2015 17:11    Post subject: Reply with quote
Mile-Lile wrote:
upgrade and try to disable QoS...


Upgrade to which fw?
I am using the newest released version 2014-12-22
QoS is disabled
tatsuya46
DD-WRT Guru


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

PostPosted: Sun Jan 25, 2015 9:12    Post subject: Reply with quote
check if ur link rates are at 10M ethernet instead of 100/1000
_________________
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 ------> r55488 std
[QUALCOMM] DIR-862L --------------------------------> r55460 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..

p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Sun Jan 25, 2015 10:36    Post subject: Reply with quote
tatsuya46 wrote:
check if ur link rates are at 10M ethernet instead of 100/1000

Link Connection is at 1GBit.
When the PC is the server the speeds are ok.

Pc (Server) - CuBox (Client) - TCP - 280 MBit/s
Pc (Client) - CuBox (Server) - TCP - 5.5 MBit/s
PC (Client) - CuBox (Server) - UDP - 115 MBit/s
PC (Server) - CuBox (Client) - UDP - 335 MBit/s

With original tplink firmware the speeds are fine.
The test setup is 100% the same except the firmware (original/ddwrt)
The speed goes from very slow <100kb to 3-5MBit after 3-4 seconds. It is slowly ramping up.
linuxhacker
DD-WRT Novice


Joined: 08 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 20:38    Post subject: Reply with quote
Is this something that other people are experiencing? My 4300 gets delivered today and posts like this make me wonder if I should do it.
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 21:17    Post subject: Reply with quote
Just try it out if you can send it back.
I have no issues with copy data from my nas to my pc or the other way around on windows by adding the nas like a network storage (its the common way)
But i do have this issues when i copy data from my pc/nas to my openelec/xbian(debian) device when the storage is cifs mounted. There is simply no way to speed it up and data will stutter alot.

I have uploaded my wireshark log:

First 1000 Packets with ddwrt firmware
http://www.file-upload.net/download-10211380/ddwrt_tcp_1000.pcapng.html

First 1000 Packets with tplink firmware
http://www.file-upload.net/download-10211381/tplink_tcp_1000.pcapng.html

I can provide more if needed. The tplink firmware is nearly 50 times faster than ddwrt!
Are there any possibilities to provide more debug info? I dont know what i can do else.
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 21:43    Post subject: Reply with quote
I have hecked the io graphs of both transmissions:




The first one with tplink firmware the second one with ddwrt.
In both setups the test conditions are exactly the same!
Both firmwares were with stock configurations. I did not use WAN port and only 2 devices were connected to my router. The pc and the debian device (openelec).

After some wireshark magic i saw the followig stuff:
- lots of TCP Dup ACK from my debian with ddwrt - none with tplink firmware
- some hiccups with ddwrt, nearly 300ms! to the next tcp [ACK] after [TCP Window Update]
- calculated window size of ddwrt 1019392 (1f1c), 417808 (d8c0) on tplink


Last edited by p00chie on Mon Jan 26, 2015 21:58; edited 1 time in total
linuxhacker
DD-WRT Novice


Joined: 08 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 21:53    Post subject: Reply with quote
p00chie wrote:
I have hecked the io graphs of both transmissions:




The first one with tplink firmware the second one with ddwrt.
In both setups the test conditions are exactly the same!
Both firmwares were with stock configurations. I did not use WAN port and only 2 devices were connected to my router. The pc and the debian device (openelec).


So, is that the only issue you are having? FTP/NAT/SAMBA, anything like that seems to be doing well?
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 22:03    Post subject: Reply with quote
linuxhacker wrote:
p00chie wrote:
I have hecked the io graphs of both transmissions:




The first one with tplink firmware the second one with ddwrt.
In both setups the test conditions are exactly the same!
Both firmwares were with stock configurations. I did not use WAN port and only 2 devices were connected to my router. The pc and the debian device (openelec).


So, is that the only issue you are having? FTP/NAT/SAMBA, anything like that seems to be doing well?


The issue is that i cannot stream movies to my cubox:
http://www.solid-run.com/products/cubox-i-mini-computer/
When i mount the nas of my network as cifs (samba). I didn't see any other issues. But this one is realy hard.
I love ddwrt so much i don't want to use anything else so i am pretty desperate to get behind this issue and to get it fixed. If the mistake is on my end i want to bang my head into the desk.
tatsuya46
DD-WRT Guru


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

PostPosted: Mon Jan 26, 2015 22:23    Post subject: Reply with quote
the next build will have switch changes maybe that will solve it (wdr4300 has ar8327 switch)

see changes as theyre done to the fw http://svn.dd-wrt.com/timeline

_________________
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 ------> r55488 std
[QUALCOMM] DIR-862L --------------------------------> r55460 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..

p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 22:52    Post subject: Reply with quote
I have finally 'fixed' the problem.

I have found this thread:
https://discussions.apple.com/thread/271903?start=0&tstart=0

No one answered to it but he found a workaround.

I switched my network connection from 1GBit/s to 100MBit/s full duplex.

After that the speed wen't 'crazy'
With iperf 100MBit
[ 3] 0.0-10.0 sec 112 MBytes 94.2 Mbits/sec
With iperf 1GBit/s
[ 3] 0.0-12.7 sec 1.25 MBytes 824 Kbits/sec

The strange thing is that the guy in the thread had also ddwrt firmware! So i would suggest this issue is there for ages and no one realy found the reason.
tatsuya46
DD-WRT Guru


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

PostPosted: Mon Jan 26, 2015 23:26    Post subject: Reply with quote
but going back to gigabit fd drops it down again?
_________________
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 ------> r55488 std
[QUALCOMM] DIR-862L --------------------------------> r55460 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..



Last edited by tatsuya46 on Tue Jan 27, 2015 0:04; edited 1 time in total
p00chie
DD-WRT Novice


Joined: 24 Jan 2015
Posts: 21

PostPosted: Mon Jan 26, 2015 23:36    Post subject: Reply with quote
tatsuya46 wrote:
but going back to gigabit fp drops it down again?


Thats correct!

I couldn't find the setting for forced 100MBit fp in my nas or ddwrt so i made a hardware hack and cut wire 8 of the patch cable. 2 min of work and i was done. i got enough cables so i dont mind.

Now my pc and my nas are on a 100mbit line and everything works fine Smile

I could live with that but i think we should get behind this issue. I can provide you with anything you want even teamviewer session if it helps.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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