padavanfirmware / rt-n56u

Padavan Firmware
http://padavanfw.net/
6 stars 4 forks source link

n56u - cannot get enough speed on lan (nor wifi) #1066

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

has anyone tried the router on gigabit ports?
i recently got a gigabit internet, and i cannot get the router to work over 
140mb/s on cable. while when i try the cable directly into the pc, i get 
680mb/s. on a stock firmware i was able to get 380. but these are far from the 
gigabit speed.

can anyone help me? maybe it's a setting? the ports are set to 1000mb/s.
also on wifi, when i'm near the router, i cannot get more than 110mb/s.

thanks,
Levi

Original issue reported on code.google.com by pop.leve...@gmail.com on 12 Nov 2013 at 7:49

GoogleCodeExporter commented 9 years ago
note : yes, i have a gigabit eth port on the pc and yes, i have a fast ssd.

Original comment by pop.leve...@gmail.com on 12 Nov 2013 at 7:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
nope, i'm sure. i'm using the same speedtest from my local provider. on the 
wire directly goes with 680-700, but with the router only 380.

what firmware do you have? also maybe you could post the settings? I also have 
an edimax gigabit router and interesting, i have the same situation, around 350 
max.

Original comment by pop.leve...@gmail.com on 25 Nov 2013 at 9:01

GoogleCodeExporter commented 9 years ago
sorry, i mean the settings from the WAN/LAN menu tabs.

Original comment by pop.leve...@gmail.com on 25 Nov 2013 at 9:02

GoogleCodeExporter commented 9 years ago
Shit sorry accidentally deleted my comment. I build my own from source, pretty 
lean though. Its basically stock 3.4.3.7-072 w.o. QoS-support. I have to ssh to 
my buildbox, i'll post my settings here in a bit.

What speeds are you getting if you're just transferring through the Edimax 
router?

***org post***

Sure you aren't mixing up byte and bit?

I'm getting approx 117 MB/s which equals to 981 Mbps. Pretty darn near wire 
speed.

/Kitch

Original comment by kitch2400 on 25 Nov 2013 at 9:11

GoogleCodeExporter commented 9 years ago
Also, what output do you get if you issue "rtl8367 20" from Administration -> 
Console?

Original comment by kitch2400 on 25 Nov 2013 at 9:29

GoogleCodeExporter commented 9 years ago
thx. i appreciate the help. i really like this router, it's stable (with this 
firmware) and have very good wireless signal strength.

to answer you question, i get similar speed with the edimax router. 350 mb.
i've tried multiple cables (stock from asus and edimax) both cat5e. don't think 
it's that. 

and the output from "rtl8367 20" - i got "WAN port link: 1000 FD"
(i have also the latest firmware : 3.4.3.7-072)

Original comment by pop.leve...@gmail.com on 25 Nov 2013 at 9:37

GoogleCodeExporter commented 9 years ago
ok that's 1000 Mbps @ full duplex.

Settings wise, I wont bore you with everything but rather what might be 
performance related.

LAN - IPTV:
Multicast routing: Disabled. Everything IGMP-snooping/MC-related is disabled in 
my LAN.
Multicast Traffic - Ethernet Switch: Disabled.
Multicast Traffic - WiFi 2.4GHz: Disabled.
Multicast Traffic - WiFi 5GHz: Disabled.

Ethernet Switch:
Accept Jumbo frames Between Ports: 16000 bytes
Enable Green Ethernet: No. Derp.
 WAN
 Flow Control: Disabled.
 Speed and Duplex: Auto
 For all LAN-ports I've enabled flow control, RX/TX with auto negotiation.

WAN - Internet Connection:
Enable NAT: Yes.
Hardware offload NAT/Routing IPv4: Offload TCP/UDP for LAN/WAN.

You might also wanna check Firewall - Netfilter. Just make sure it's HW 
accelerated (HW_NAT FoE Max), shouldn't affect performance _THAT_ much, but 
still.

/Kitch

Original comment by kitch2400 on 25 Nov 2013 at 10:02

GoogleCodeExporter commented 9 years ago
thx. i will check/try these and give a feedback tomorrow.

Original comment by pop.leve...@gmail.com on 25 Nov 2013 at 10:04

GoogleCodeExporter commented 9 years ago
tried these tonight. unfortunately it's the same. actually i was writing things 
wrong.
i can get 380 speed with the stock asus firmware. with this custom firmware 
around 300 only.

all the settings you've wrote are set. but cannot get the desired speed :(

Original comment by pop.leve...@gmail.com on 25 Nov 2013 at 11:14

GoogleCodeExporter commented 9 years ago
is there a way to test the speed directly on the router? (from console?)

Original comment by pop.leve...@gmail.com on 26 Nov 2013 at 6:34

GoogleCodeExporter commented 9 years ago
Well, i wouldn't recommend it since I don't think this poor guy could handle 
the I/O..

I suppose you could try something like "wget -O /dev/null  
http://ftp.ds.karen.hj.se/ubuntu-releases//precise/ubuntu-12.04.3-desktop-amd64.
iso".

I'll get back to you on this one.

/Kitch

Original comment by kitch2400 on 26 Nov 2013 at 9:30

GoogleCodeExporter commented 9 years ago
Where the above gives me my announced speed (SE server), perhaps you have 
something more suitable in your country/region.

Original comment by kitch2400 on 26 Nov 2013 at 9:32

GoogleCodeExporter commented 9 years ago
thx for the help so far.

Original comment by pop.leve...@gmail.com on 26 Nov 2013 at 10:29

GoogleCodeExporter commented 9 years ago
OK so I've been fiddling with this for some time now, but you wont get sane 
values with this method (speedtest performed on device).

Just for the laughs I've set up an external (yes I have access to some hefty 
networks) server (dd if=/dev/zero of=my_large_file bs=1 count=0 seek=1024M) on 
a 10GE NIC and the results were kinda disappointing.

/home/root # time -v wget -O /dev/null http://************/1GB.zip
Connecting to *****************
null                 100% 
|**************************************************************|  1024M  
0:00:00 ETA
        Command being timed: "wget -O /dev/null http://************/1GB.zip"
        User time (seconds): 0.85
        System time (seconds): 31.64
        Percent of CPU this job got: 99%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 32.71s
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 1744
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 118
        Voluntary context switches: 18
        Involuntary context switches: 475
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

TL;DR 268.4 Mbps.

What server are you running your speedtest against?

/Kitch

Original comment by kitch2400 on 26 Nov 2013 at 4:06

GoogleCodeExporter commented 9 years ago
hey. i'm from romania, so i test with the local providers(RDS) test page : 
http://www.rcs-rds.ro/internet-digi-net/testeaza-ti-viteza

i think the host is : speedtest1.rcs-rds.ro:8080
(taken from the network requests)

Original comment by pop.leve...@gmail.com on 26 Nov 2013 at 8:32

GoogleCodeExporter commented 9 years ago
also i'm connecting to the internet via pppoe, maybe that counts as well?

Original comment by pop.leve...@gmail.com on 26 Nov 2013 at 8:38

GoogleCodeExporter commented 9 years ago
Hmm. There are some ISPs that provision certain services/speeds using dhcp 
option 60 (vendor ID -> MAC). Are you perhaps required to use a router/CPE 
provided by your ISP? 

If so you could change the MAC of our beloved asus to match the MAC provided to 
you by your ISP.

Also, you could try lowering your MRU & MTU somewhat, some older or odd 
switches prefer a MTU of 1400.

What kind of speeds are you getting if you only run through the edimax-device?

/Kitch

Original comment by kitch2400 on 26 Nov 2013 at 9:38

GoogleCodeExporter commented 9 years ago
no, it was back in time (5,6 years ago), but not nowadays as far as i know. I 
will check the other settings. i also got a new system, will test with that as 
well.

thx again for your answers! :)

Original comment by pop.leve...@gmail.com on 27 Nov 2013 at 4:29

GoogleCodeExporter commented 9 years ago
No worries mate. If youre sure that your system is ok, check ur cables.

I have a feeling that youre zeroing in on the fault all by yourself .]

/Kitch

Original comment by kitch2400 on 28 Nov 2013 at 10:01

GoogleCodeExporter commented 9 years ago
i was sad that couldn't get the desired speed, so i decided to sell my n56u and 
buy a new ac66u. i need a faster wifi anyway. hopefully that will work better. 
i'm sad to sell the n56u, because it's very stable with this firmware ... is 
there a similar nice firmware for the ac66u?
i will test the new router on sunday :)

Original comment by pop.leve...@gmail.com on 6 Dec 2013 at 10:46

GoogleCodeExporter commented 9 years ago
sorry for not getting back yet. so here i am ...
i had the exact same issue with my AC66U, same low speed. then i found 1 
firmware which did the trick, which is the rmerlin beta firmware (nr 29 - 
didn't try the new one).
https://www.mediafire.com/folder/lt9d2blv8a9uh/#vv78zn861np36

apparently the asus routers don't like PPPOE and does not perform at their tops 
with this setting. most people say it's the broadcom chip. not sure the n56u 
what chip has, but probably it's the same issue. Though it can be fixed within 
the firmware, as my current one works good and i can achieve 8-900 on my 
gigabit wan.

Original comment by pop.leve...@gmail.com on 2 Jan 2014 at 10:44