Horrible Performance on TP-Link TL-WR1043ND

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

daniels
Posts: 12
Joined: Fri Apr 15, 2011 11:19 pm

Horrible Performance on TP-Link TL-WR1043ND

Post by daniels »

I recently purchased a new TP-Link TL-WR1043ND specifically for use with Gargoyle so I could track the bandwidth use in my flat. It worked fine for the first day, but I am now getting extremely poor connection speeds.

Even connecting to the router's own configuration pages takes time, and that's over the local network, which suggests it is not an issue with my broadband provider.

I couldn't find any diagnostic mechanisms on the control interface so I am not sure what is help to report here. This is from the status page:

Device Name:router
Gargoyle Version:1.3.13
Device Configuration:Gateway
Memory Usage:26.2MB / 28.8MB (91%)
Connections:269/1024
CPU Load Averages:0.00 / 0.00 / 0.00 (1/5/15 minutes)

RAM usage tends to be quite high, I'm not sure if this is normal. CPU usage stays very low. I do not know how to check the router's local file system to determine the amount of disk space used.

I am connection to the router over wireless (61% signal strength), running Ubuntu 9.10, browsing on Chrome 12.0.733.0 dev.

Is there any other information that I should provide? What steps can I take to try to fix this problem?

It is a shame that this has happened as the quota's seemed to be working so well.

Cheers for any help!

Daniel.

daniels
Posts: 12
Joined: Fri Apr 15, 2011 11:19 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by daniels »

Any suggestions on how I could debug this problem would be great. I have turned off the quotas for my laptop and the speed seems to be back to normal so that may have something to do with it.

Should the RAM usage be so high? It's at ~90%.

Cheers,
Daniel.

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by pbix »

RAM usage is always high with Linux. Linux tries to find something to do with all available RAM.

You might have a look at your CPU usage since you state your performance is unsatisfactory. Perhaps you could find a process which is run bound using the 'ps' or 'top' commands. Many users have reported success with the router you are using so unless you can detail something specific it will be difficult to help you.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

daniels
Posts: 12
Joined: Fri Apr 15, 2011 11:19 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by daniels »

Hi pbix,

CPU usage has been low, I think 0.15 is the highest I've seen it. It's at 0.00 at the moment, is this odd? Are there any logs, or ways to log this CPU information?

RAM usage always high though, 26.1MB / 28.8MB (90.6%) at the moment. The lowest I've seen it is 88% and the highest 92%. I thought this was unusual - what's being kept it RAM? If Linux needs 26 MB on my router, how does it run on routers with only 16 MB?

Today it has been running fine, however as mentioned in my last post the speeds went back to normal after I turned off the Quotas. From what I can tell I had them all set up correctly. I might try setting up a quota for my wireless, and when that goes slow try accessing the net via my laptops lan to see if there is a speed difference.

The horrible speeds wasn't only to do with the internet though, simply connecting to the router's web gui was very very slow. Would quotas affect this? I would have thought they would only limit outbound traffic.

One idea I had is it could be to do with the size of the log files (if there are any) - the reason for this is that it appears to work fine but then slows down dramatically after a few days. Maybe the log files become too big and burden the software, then when I turn off the quotas the log files get dumped and the software no longer has to deal with them so performance goes back to normal.

I have no idea how the gargoyle actually works so I was hoping for some troubleshooting or debugging advice from developers so that I could provide you with more information.

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by pbix »

Linux uses available RAM memory for I/O buffers. The alternative would be to leave it doing nothing which would be a shame since RAM is rather useful stuff. Wouldn't you want your OS to make the best use of your RAM that it could? You should not focus on this issue however since it is not related to your problem.

The system keeps a runtime log which you can accesses using the 'logread' command. The log is automatically kept at a manageable length so this is not related to your problem as you theorized. But you might examine it for any error message.

The speed of web page access is also not likely related to the speed of your internet access. These are two completely different sub-systems.

I do not know why your experience is as you describe. I have a WR741ND myself that works well and is closely related to your router. I will say that improperly configured quotas can impact your internet access speeds. As I said web access to the router is not related and according to your report always slow for you. I know that some people are confused and apply quotas when they should be using QoS.

If I am in your shoes I am trying to simplify the system to get to the root of the issue. Ditch Wifi thats for sure, also try another PC/OS/Browser. Turn off all features in the router I can live without. Once I get the performance I expect then start expanding the system. That way I learn more about what is causing the issue.

Sorry I cannot be more help to you. Its frustrating I know but welcome to my world.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

daniels
Posts: 12
Joined: Fri Apr 15, 2011 11:19 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by daniels »

Hey pbix,

Thanks for your reply. Yeah I found it weird that the web access to the router was impaired as well - I also believed that the quota wouldn't affect this.

For now the router is running fine for me over wireless with my quota turned off. I am still able to view overall bandwidth use for the month in the B/W Distribution screen which is helpful as I can make sure no one is abusing out quota (we only get 40GB per month, beginning on the 11th).

I used to have a pretty complicated quota setup for me and my 4 flatmates as follows:

10.1.1.11 & 10.1.1.16 (Me, one for wifi and the other for lan connection) : 7.5 GB per month, then reduced to 56 kbps.
10.1.1.12 (Flatmate #1) : 7.5 GB per month, then reduced to 56 kbps.
10.1.1.13 (Flatmate #2) : 7.5 GB per month, then reduced to 56 kbps.
10.1.1.14 (Flatmate #3) : 7.5 GB per month, then reduced to 56 kbps.
10.1.1.15 (Flatmate #4) : 7.5 GB per month, then reduced to 56 kbps.

Entire local network (All users): 40 GB per month, then reduced to 56 kbps.

All individual hosts without explicit quotas (for guests): 1 GB, then reduced to 56 kbps.

I have turned off the quota for me, Entire network, and All individual hosts, but left the other 4 on for my flatmates at this time.

I will consider turning the others on incrementally and trying to reproduce the symptoms (I have done this twice before but did not document the exact variables in each situation). The only frustrating thing about this is the amount of time it takes performance to degrade is variable, it doesn't immediately perform poorly which could suggest I am reaching my quota and becoming throttled. However that wouldn't explain the poor performance when accessing the web management interface, hence my reasoning that the system was becoming overloaded.

I will continue to experiment. Should I save my config files at the beginning of each "experiment" so that I can post them here? And is there any other debug tools I can use once I do encounter poor performance in addition to the logread and standard linux ps and top commands?

Cheers for your help!

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by Eric »

Please do post config files of any configuration that's causing this slugishness. Also check the quota/stats page and see if any quotas have in fact gone over for you when you're seeing degraded performance. Let me know (1) exactly what configuration causes the problem and (2) what the status of the quotas you have set are, and which (if any) have been reached when you start seeing problems.

I''ve been trying to reproduce the bug on my own network today (I have this exact same router model), but so far everything has been working fine.

daniels
Posts: 12
Joined: Fri Apr 15, 2011 11:19 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by daniels »

I have only recently re-enabled the quotas. In the past it took a couple of days before performance decreased. Hopefully it won't happen again, but if it does I will post details here.

Cheers for the help guys!

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by ispyisail »

I have the same problem with the same router

Eric is looking into it

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Horrible Performance on TP-Link TL-WR1043ND

Post by Eric »

I have looked at the data I got from ispyisail, but I'm still having trouble reproducing the problem.. I'm still not sure what is going on here.

Post Reply