Help/Advice for better performance?

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Goto page 1, 2  Next
Author Message
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Sat Mar 07, 2015 22:32    Post subject: Help/Advice for better performance? Reply with quote
Hey Guys,

Been using DD-WRT with a D-Link DIR-615 D4 for about three months now. The connection is rock solid no dropouts or connection issues of any kind however the performance is all over the place and fed up of having to constantly mess around with settings.

The problem is I am in a large house with around nine people each with laptops, tablets and phones all using this one connection. The ceilings are high and walls thick, router is in center of the house on second floor.

Most common use is: Streaming (movies, tv, youtube) Skype, Gaming and general Browsing. I am not sure if people are torrenting or file sharing.

We have a VirginMedia (UK) fibre line with around 30Mbps/4Mbps this comes from a SuperHub2 which is in modem mode connected to the DIR-615 D4. Before I used this method we constantly had dropouts on the Superhub2 many times a day resulting in having to flip the fuse box to the main supply to reset since the router is in a guys room who works late.

Monitoring the bandwidth from admin there are constant spikes and then normalization. I have been using a script generator setup as a firewall with limits per mac address from being generous to hard limiting. Currently trying QOS but still no good. I have all the settings based on my knowledge and posts from here to get the maximum out of my setup but I am losing my hair. Gaming is never pleasant with constant lag spikes, trying to watch films have buffer issues.

My chipset is: Qualcomm Atheros AR9485 I bought an Intel 7260 AC but that was unusable, terrible performance. I have 150.0Mbps on the adapter with my current settings. Using the latest Firmware DD-WRT v24-sp2 (03/05/15) std - build 26446 have also tried many previous builds and the original old one from Router Database.

What I am needing is to have the network speed distributed equally between each device for example: 1Mbps for each device.

I have attached screenshots of my current setup, can someone please help me out here to a possible cause or solution please?

Spike Problems: http://gfycat.com/UnequaledTanElk








Any help much appreciated.

Thanks.
Sponsor
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Sat Mar 07, 2015 23:49    Post subject: Reply with quote
Can you please post a dmesg result ? (connect with SSH or Telnet to the router and type dmesg)

Then, try these:
1. Wireless -> Advanced Settings -> CTS Protection Mode: Disable
2. Administration -> Maximum Ports : 8192 (instead of 4096, in case someone does heavy torrenting)
3. Physically set the router's 2 antennas so that they are almost perpendicular to each other (V shape, with 80-90 degrees angle)
4. Install latest drivers for the machines (this IS important)
For Atheros: download.drp.su/drivernews/WLAN_Atheros_10.0.0.308.7z

_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Sun Mar 08, 2015 0:31    Post subject: Reply with quote
Code:
<5>Linux version 3.2.67 (root@dd-wrt.buildserver) (gcc version 4.8.3 (OpenWrt/Li
naro GCC 4.8-2014.01 r39555) ) #14697 Thu Mar 5 07:09:50 CET 2015
<7>prom: fw_arg0=00000001, fw_arg1=01f5bfb0, fw_arg2=01f5c3b0, fw_arg3=00000000
<7>argv[0]=  (null) is invalid, skipping
<7>env[0]: memsize=32
<7>env[1]: initrd_start=0x00000000
<7>env[2]: initrd_size=0x0
<7>env[3]: flash_start=0xBF000000
<7>env[4]: flash_size=0x400000
<7>env[0]: memsize=32
<7>env[1]: initrd_start=0x00000000
<7>env[2]: initrd_size=0x0
<7>env[3]: flash_start=0xBF000000
<7>env[4]: flash_size=0x400000
<6>bootconsole [early0] enabled
<6>CPU revision is: 0001964c (MIPS 24KEc)
<6>Ralink RT3052 id:1 rev:3 running at 384.00 MHz
<6>Determined physical RAM map:
<6> memory: 02000000 @ 00000000 (usable)
<4>Zone PFN ranges:
<4>  Normal   0x00000000 -> 0x00002000
<4>Movable zone start PFN for each node
<4>early_node_map[1] active PFN ranges
<4>    0: 0x00000000 -> 0x00002000
<7>On node 0 totalpages: 8192
<7>free_area_init_node: node 0, pgdat 8022e6f0, node_mem_map 81000000
<7>  Normal zone: 64 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 8128 pages, LIFO batch:0
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>pcpu-alloc: [0] 0
<4>Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
<5>Kernel command line:  console=ttyS1,57600n8 root=/dev/mtdblock4 rootfstype=sq
uashfs noinitrd
<6>PID hash table entries: 128 (order: -3, 512 bytes)
<6>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<4>Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
<4>Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
<6>Writing ErrCtl register=0007e060
<6>Readback ErrCtl register=0007e060
<6>Memory: 29764k/32768k available (2001k kernel code, 3004k reserved, 287k data
, 156k init, 0k highmem)
<6>NR_IRQS:48
<6>console [ttyS1] enabled, bootconsole disabled
<6>Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>NET: Registered protocol family 16
<6>bio: create slab <bio-0> at 0
<6>Switching to clocksource MIPS
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP established hash table entries: 1024 (order: 1, 8192 bytes)
<6>TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>TCP: Hash tables configured (established 1024 bind 1024)
<6>TCP reno registered
<6>UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>NET: Registered protocol family 1
<6>squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>msgmni has been set to 58
<6>io scheduler noop registered
<6>io scheduler deadline registered (default)
<6>Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
<6>serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
<6>serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
<4>Ralink gpio driver initialized
<6>system type: RT3052
<6>boot type: 0
<5>ralink flash device: 0x1000000 at 0xbf000000
<6>Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
. Manufacturer ID 0x000001 Chip ID 0x0022f9
<7>Ralink SoC physically mapped flash: Found an alias at 0x400000 for the chip a
t 0x0
<7>Ralink SoC physically mapped flash: Found an alias at 0x800000 for the chip a
t 0x0
<7>Ralink SoC physically mapped flash: Found an alias at 0xc00000 for the chip a
t 0x0
<6>Amd/Fujitsu Extended Query Table at 0x0040
<6>  Amd/Fujitsu Extended Query version 1.1.
<5>number of CFI chips: 1
<0>
<0>found squashfs at 11D000
<5>Creating 6 MTD partitions on "Ralink SoC physically mapped flash":
<5>0x000000000000-0x000000030000 : "uboot"
<5>0x000000030000-0x000000040000 : "uboot-config"
<5>0x000000040000-0x000000050000 : "factory-defaults"
<5>0x000000050000-0x0000003f0000 : "linux"
<5>0x00000011d000-0x0000003f0000 : "rootfs"
<4>mtd: partition "rootfs" must either start or end on erase block boundary or b
e smaller than an erase block -- forcing read-only
<5>0x0000003f0000-0x000000400000 : "nvram"
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>PPP generic driver version 2.4.2
<6>PPP BSD Compression module registered
<6>PPP Deflate Compression module registered
<6>PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
<6>Ralink APSoC Hardware Watchdog Timer
<6>u32 classifier
<6>    Performance counters on
<6>    Actions configured
<6>Netfilter messages via NETLINK v0.30.
<6>nf_conntrack version 0.5.0 (465 buckets, 1860 max)
<6>ctnetlink v0.93: registering with nfnetlink.
<6>IPv4 over IPv4 tunneling driver
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>IPP2P v0.8.2 loading
<6>ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
<6>TCP bic registered
<6>TCP cubic registered
<6>TCP westwood registered
<6>TCP highspeed registered
<6>TCP hybla registered
<6>TCP htcp registered
<6>TCP vegas registered
<6>TCP scalable registered
<6>NET: Registered protocol family 17
<5>Bridge firewalling registered
<6>8021q: 802.1Q VLAN Support v1.8
<6>searching for nvram
<6>nvram size = 0
<4>MAC_ADRH -- : 0x0000000c
<4>MAC_ADRL -- : 0x43305277
<4>MAC_ADRH -- : 0x0000000c
<4>MAC_ADRL -- : 0x43305277
<4>Ralink APSoC Ethernet Driver Initilization. v2.0  256 rx/tx descriptors alloc
ated, mtu = 1500!
<4>NAPI enable, Tx Ring = 256, Rx Ring = 256
<4>MAC_ADRH -- : 0x0000000c
<4>MAC_ADRL -- : 0x43305277
<4>rt3052 access driver initialization.
<6>VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
<6>Freeing unused kernel memory: 156k freed
<6>Started WatchDog Timer.
<4>MAC_ADRH -- : 0x0000f07d
<4>MAC_ADRL -- : 0x684508c0
<4>
<4>phy_tx_ring = 0x01f82000, tx_ring = 0xa1f82000
<4>
<4>phy_rx_ring0 = 0x01f83000, rx_ring0 = 0xa1f83000
<4>RT305x_ESW: Link Status Changed
<4>CDMA_CSG_CFG = 81000007
<4>GDMA1_FWD_CFG = 710000
<6>device br0 entered promiscuous mode
<6>device vlan1 entered promiscuous mode
<6>device eth2 entered promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>br0: port 1(vlan1) entering forwarding state
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<4>rt2860v2_ap: module license 'unspecified' taints kernel.
<4>Disabling lock debugging due to kernel taint
<4>0x1300 = 00064380
<6>br0: port 1(vlan1) entering forwarding state
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>device br0 left promiscuous mode
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>device vlan2 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>device vlan2 left promiscuous mode
<6>IMQ driver unloaded successfully.
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>device vlan1 left promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>device ra0 left promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>device br0 entered promiscuous mode
<6>device vlan1 entered promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>br0: port 1(vlan1) entering forwarding state
<4>0x1300 = 00064380
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<4>RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
<6>device ra0 left promiscuous mode
<6>br0: port 2(ra0) entering disabled state
<4>0x1300 = 00064380
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>device br0 left promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>IMQ driver unloaded successfully.
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>IMQ driver unloaded successfully.
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>IMQ driver unloaded successfully.
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>Ebtables v2.0 registered
<6>IMQ driver unloaded successfully.
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>IMQ driver unloaded successfully.
<6>device vlan1 left promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>device ra0 left promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>device br0 entered promiscuous mode
<6>device vlan1 entered promiscuous mode
<6>br0: port 1(vlan1) entering forwarding state
<6>br0: port 1(vlan1) entering forwarding state
<4>0x1300 = 00064380
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 1(vlan1) entering forwarding state
<6>device br0 left promiscuous mode
<6>device br0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<4>RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
<6>device ra0 left promiscuous mode
<6>br0: port 2(ra0) entering disabled state
<4>0x1300 = 00064380
<4>0x1300 = 00064380
<6>device ra0 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>br0: port 2(ra0) entering forwarding state
<6>device br0 left promiscuous mode
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
<6>device vlan2 entered promiscuous mode
<6>br0: port 2(ra0) entering forwarding state
<6>device vlan2 left promiscuous mode
<6>IMQ driver unloaded successfully.
<6>IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
<6>     Hooking IMQ before NAT on PREROUTING.
<6>     Hooking IMQ after NAT on POSTROUTING.
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Sun Mar 08, 2015 0:42    Post subject: Reply with quote
Just done those changes you suggested and already seems to be better. Although with it being 12.40am I don't think people are doing anything heavy and some people are away for weekend.

Will keep an eye on it but love to have more feedback where there can be.

Thanks a lot! :)
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Mon Mar 09, 2015 1:28    Post subject: Reply with quote
Today the internet has lost internet connection twice for a period of around 10 minutes first time and now has been disconnected for over an hour.

There is no WAN IP assigned or any sign of being connected to Virgin so not sure if it is their end or the router/modem.

Did a factory reset but still no luck. Will post back tomorrow morning.
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Mon Apr 13, 2015 19:30    Post subject: Reply with quote
Still getting random performance it's driving me insane! Not sure what else I can do, I monitor the router 24/7 trying to find a solution, have used every build.

I have tried capping everyone to 800kbps down 10kbps up - each using the firewall scripts leaving plenty of room for me to test things but still getting slow speeds. Did a test last week using the Virgin Media Super Hub 2 (default isp router) and I got full speed 50Mbps/4Mbps.

With the D-Link DIR 615 as router and Super Hub in modem mode I get around 10Mbps/3Mbps.

Received RX has 771 errors after being up 10 hours. TX power is at 50mW. Rate is running at 300 Mb/s, HT40 mode. Using all the settings recommended previous from months back and months of research myself.

Any ideas please, any way to diagnose or export a report for people with knowledge to check?

Thanks.
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Wed Apr 15, 2015 9:41    Post subject: Reply with quote
Please someone help with this?

Supposed to be 50Mbps / 4Mbps yet getting these low results and constant drops/peaks, never consistent rates. If I remove the D-Link router and use the ISP supplied router I get full speed but it keeps dropping hence having to use as modem mode.



Thanks.
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Wed Apr 15, 2015 11:35    Post subject: Reply with quote
OK, let's see. I remember giving you some advice, but can't remember what and how... it was long ago. What build are you using ?
_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Wed Apr 15, 2015 11:54    Post subject: Reply with quote
KrypteX wrote:
OK, let's see. I remember giving you some advice, but can't remember what and how... it was long ago. What build are you using ?


Yes I still have the same settings you advised above but still getting poor results. Have been researching and playing around with settings for the past two months, can't get anything to be stable and consistent, having to mess around every day.

Ordering a Cat 5e cable, should solve the problem I would imagine, someone else can deal with the wifi. Not ideal as having to tack 100M cable all over the house.

Thanks.
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Wed Apr 15, 2015 12:01    Post subject: Reply with quote
Build number ?
_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Wed Apr 15, 2015 12:03    Post subject: Reply with quote
KrypteX wrote:
Build number ?


DD-WRT v24-sp2 (04/09/15) std - build 26653
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Wed Apr 15, 2015 12:06    Post subject: Reply with quote
OK, did you try to disable QoS ?
Also, did you update your Atheros WiFi driver to 10.0.0.308 ?

_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Wed Apr 15, 2015 12:08    Post subject: Reply with quote
KrypteX wrote:
OK, did you try to disable QoS ?
Also, did you update your Atheros WiFi driver to 10.0.0.308 ?


Yes and yes Smile
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Wed Apr 15, 2015 12:10    Post subject: Reply with quote
Can I see a snapshot of Setup -> Basic Setup in DD-WRT ?
Also, did you disable CTS Protection Mode, as I said above ?

_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Fotek
DD-WRT Novice


Joined: 21 Dec 2014
Posts: 38

PostPosted: Wed Apr 15, 2015 12:19    Post subject: Reply with quote
KrypteX wrote:
Can I see a snapshot of Setup -> Basic Setup in DD-WRT ?
Also, did you disable CTS Protection Mode, as I said above ?


I have been using OpenDNS, removed it as I thought it could be a problem but nope. Yes disabled.

Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC 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