Posted: Sat Jan 24, 2015 11:51 Post subject: DD-WRT wired network speed with WDR4300 only 5.5MBit/s
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
Does anyone have an advice?
I don't want to use tplink firmware
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.
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.
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 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.
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
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?
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.
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.
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
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.