You are not logged in.

#1 2012-05-15 16:55:01

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

Home wireless router. Awful latency.

Hello guys.

I have a wireless router at home, as all the cool guys in the block. Recently I am experiance an awful latency. I am sitting next to the router, less then a metter from it. Here is what I have:

[ ~ ] netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.10.1    0.0.0.0         UG        0 0          0 wlan0
192.168.10.0    0.0.0.0         255.255.255.0   U         0 0          0 wlan0
[ ~ ] ping 192.168.10.1 -c 10
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
64 bytes from 192.168.10.1: icmp_req=1 ttl=64 time=67.8 ms
64 bytes from 192.168.10.1: icmp_req=2 ttl=64 time=593 ms
64 bytes from 192.168.10.1: icmp_req=3 ttl=64 time=0.749 ms
64 bytes from 192.168.10.1: icmp_req=4 ttl=64 time=96.1 ms
64 bytes from 192.168.10.1: icmp_req=5 ttl=64 time=474 ms
64 bytes from 192.168.10.1: icmp_req=6 ttl=64 time=379 ms
64 bytes from 192.168.10.1: icmp_req=7 ttl=64 time=94.9 ms
64 bytes from 192.168.10.1: icmp_req=8 ttl=64 time=19.4 ms
64 bytes from 192.168.10.1: icmp_req=9 ttl=64 time=76.4 ms
64 bytes from 192.168.10.1: icmp_req=10 ttl=64 time=0.797 ms
....
64 bytes from 192.168.10.1: icmp_req=154 ttl=64 time=1366 ms
64 bytes from 192.168.10.1: icmp_req=155 ttl=64 time=404 ms
64 bytes from 192.168.10.1: icmp_req=156 ttl=64 time=139 ms
64 bytes from 192.168.10.1: icmp_req=157 ttl=64 time=1564 ms
64 bytes from 192.168.10.1: icmp_req=158 ttl=64 time=1158 ms
64 bytes from 192.168.10.1: icmp_req=159 ttl=64 time=190 ms
64 bytes from 192.168.10.1: icmp_req=160 ttl=64 time=618 ms
64 bytes from 192.168.10.1: icmp_req=161 ttl=64 time=74.7 ms
64 bytes from 192.168.10.1: icmp_req=162 ttl=64 time=395 ms
64 bytes from 192.168.10.1: icmp_req=163 ttl=64 time=1024 ms
64 bytes from 192.168.10.1: icmp_req=164 ttl=64 time=276 ms
64 bytes from 192.168.10.1: icmp_req=165 ttl=64 time=1049 ms
64 bytes from 192.168.10.1: icmp_req=166 ttl=64 time=589 ms
64 bytes from 192.168.10.1: icmp_req=167 ttl=64 time=644 ms
64 bytes from 192.168.10.1: icmp_req=168 ttl=64 time=979 ms
64 bytes from 192.168.10.1: icmp_req=169 ttl=64 time=779 ms
64 bytes from 192.168.10.1: icmp_req=170 ttl=64 time=623 ms
64 bytes from 192.168.10.1: icmp_req=171 ttl=64 time=3450 ms
64 bytes from 192.168.10.1: icmp_req=172 ttl=64 time=13993 ms
64 bytes from 192.168.10.1: icmp_req=173 ttl=64 time=14286 ms
64 bytes from 192.168.10.1: icmp_req=174 ttl=64 time=13286 ms
64 bytes from 192.168.10.1: icmp_req=175 ttl=64 time=12320 ms
64 bytes from 192.168.10.1: icmp_req=176 ttl=64 time=11430 ms
64 bytes from 192.168.10.1: icmp_req=177 ttl=64 time=10586 ms
64 bytes from 192.168.10.1: icmp_req=178 ttl=64 time=10008 ms
64 bytes from 192.168.10.1: icmp_req=179 ttl=64 time=9684 ms
64 bytes from 192.168.10.1: icmp_req=180 ttl=64 time=8809 ms
64 bytes from 192.168.10.1: icmp_req=181 ttl=64 time=7857 ms
64 bytes from 192.168.10.1: icmp_req=182 ttl=64 time=6992 ms
64 bytes from 192.168.10.1: icmp_req=183 ttl=64 time=6610 ms
64 bytes from 192.168.10.1: icmp_req=184 ttl=64 time=6017 ms
64 bytes from 192.168.10.1: icmp_req=185 ttl=64 time=6606 ms
64 bytes from 192.168.10.1: icmp_req=186 ttl=64 time=8064 ms
64 bytes from 192.168.10.1: icmp_req=187 ttl=64 time=7057 ms
64 bytes from 192.168.10.1: icmp_req=188 ttl=64 time=6056 ms
64 bytes from 192.168.10.1: icmp_req=189 ttl=64 time=5123 ms
64 bytes from 192.168.10.1: icmp_req=190 ttl=64 time=4122 ms
64 bytes from 192.168.10.1: icmp_req=191 ttl=64 time=3131 ms
64 bytes from 192.168.10.1: icmp_req=192 ttl=64 time=2220 ms
64 bytes from 192.168.10.1: icmp_req=193 ttl=64 time=1407 ms
64 bytes from 192.168.10.1: icmp_req=194 ttl=64 time=506 ms
64 bytes from 192.168.10.1: icmp_req=195 ttl=64 time=185 ms
....

This is my wifi on my laptop:

[ ~ ] lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 004 Device 002: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse
Bus 001 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
Bus 001 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick
[ ~ ] 

wlan0     IEEE 802.11abg  ESSID:"Fanagoria"  
          Mode:Managed  Frequency:2.422 GHz  Access Point: D8:5D:4C:F1:D7:02   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

I have the wl driver:

[ ~ ] lsmod | grep wl
wl                   2557291  0 
cfg80211              176889  1 wl
lib80211                3949  2 wl,lib80211_crypt_tkip
[ ~ ] 

Here is my MODULES section in my /etc/rc.conf file:

[ ~ ] cat /etc/rc.conf | grep MODULES
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
MODULES=(lib80211 wl fuse cpufreq_powersave cpufreq_userspace cpufreq_conservative cpufreq_stats cpufreq_ondemand acpi-cpufreq fglrx)
[ ~ ] 

My wireless router is that TP-LINK and it`s firmware is updated to the latest version. (I using the stock firmware). There are no wireless network in range, that are using the same channel as mine is. The latency is happening to my friends connected to my router too. I am using wicd for network manager, and wicd-curses for network manager front-end.

I will post more info if needed.

Please advise me what can I do.

Regards

Last edited by Gruntz (2012-05-15 18:46:17)

Offline

#2 2012-05-15 18:31:26

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Home wireless router. Awful latency.

That looks awful, the latency, yes.
Please use [ code ] tags for your long output. 

What I dont understand is why you post your laptop's info, since you think its a matter of the router ("The latency is happening to my friends connected to my router too."). You probably have done it, if not: Maybe reset the router to defaults?

If you have wireless-N activated: that uses (quite a few) more than one channel.

Offline

#3 2012-05-15 18:48:52

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

Re: Home wireless router. Awful latency.

I posted everything I was able to think of, just in case. I set everything to [ code ] now, for better view.

I set my router to 'g' network. Let`s see what will happen.

Guys, what is Your latency to the router?

Last edited by Gruntz (2012-05-15 19:31:36)

Offline

#4 2012-05-15 18:52:16

pilotkeller
Member
From: Canada
Registered: 2011-12-22
Posts: 513
Website

Re: Home wireless router. Awful latency.

Okay well I can see nothing that would cause this in anything you've posted. Especially if your friends are experiencing this too.

I would either try downgrading the firmware (If after upgrading this happened). However, I see that your TL-WR1043ND is VERY well supported by Open-WRT. You may want to give it a look.

Remember that the WiFi channels are overlapped. Try getting as far away as possible from other networks.

Ensure you are running WPA-PSK with the AES cipher and a key of 63 pseudorandom characters. This way others are not using your WiFi to torrent and suck bandwidth.

Try to stick to 802.11g but if at all possible go with 802.11n. Also if possible move up to the 5Ghz band to get out of the way of other things using the 2.4Ghz uncontrolled spectrum block.

If your router is running things like DHCP, DNS, FTP, SMB, SSH, NTP, VPN, Etc... Quit it. Your TL-WR1043ND is running a 400Mhz processor with 32Mb of memory.

That's basically all the advice I've got. Hope that get's the ball rolling on fixing this for you.

Offline

#5 2012-05-15 19:32:56

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

Re: Home wireless router. Awful latency.

Hello pilotkeller,

I have changed the network to WPA-PSK with the AES ciphe. In the weekend I will try the OpenWRT firmware.

Thank you.

Offline

#6 2012-05-15 21:46:30

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Home wireless router. Awful latency.

Thanks for adjusting the code. A latency higher than 10ms max. I would consider strange in your situation.
It will be interesting, if changing the cypher does change anything. Could well be.
Although Openwrt is great to try anyway, there must be another cause for your problem.

How often does it happen? Does the router show transmission errors (in the webinterface)?
Is it linked to some kind of high-bandwidth situation (e.g. did you stream or use torrent before it happens)?

Offline

#7 2012-05-16 03:56:36

pilotkeller
Member
From: Canada
Registered: 2011-12-22
Posts: 513
Website

Re: Home wireless router. Awful latency.

Strike0 wrote:

if changing the cypher does change anything.

I suggested this more in case some 1337 twit is using Gruntz wifi to grab warz. It happens all over the place and I figured it may just be happening in this case. WEP is about as secure as no security at all these days. I just put it on the list as more of a checklist thing. smile

Offline

#8 2012-05-16 05:26:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,961

Re: Home wireless router. Awful latency.

Two comments.

1.  Try moving further from the router.  It is possible that you are being over driven, or that there is some serious multipath.   
2. I installed DD-WRT on my WNDR-3400 last week.  What an amazing project.  It performs so much better than did the crippleware that came stock on that box.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2012-05-16 17:24:43

Gruntz
Member
From: Haskovo, Bulgaria
Registered: 2007-08-31
Posts: 291

Re: Home wireless router. Awful latency.

Hello again.

That latency is happening randomly. I use my machine mainly after 18pm till 00am. (after work hours). I switched to WPA-PSK with the AES and my latency is OK now. Maybe that is because I restarted the router several times yesterday (usually restart do not help :S ) or just luck (as the latency is happening randomly). I will keep an eye on the latency for several days and inform you. If the latency is high again, I will try again the things mentioned above. I will notify you if the situation changes. There is another active topic about latency in the forum, I will keep an eye on it too.

Thank you everyone for the help. I will keep on posting, when I have results after testing the suggestions in the topic. smile

Regards.

Offline

Board footer

Powered by FluxBB