D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-655 => Topic started by: leowood on February 17, 2010, 06:16:42 AM

Title: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 17, 2010, 06:16:42 AM
Hi ALL, I am new here from China, I am very frustrate with my A4  DIR-655

Here is my story:

The reason I buy this model is QOS, I just read a lot of DIR-655 streamengine article, it's hardware-base QOS router, can operate under heavy p2p application, it's why I am here.

The wireless Client is ACER AS1810TZ laptop, the wireless card is Intel wifi link 1000, I have already disable power saving option. AS1810TZ worked fine with my old 802.11G router linksys WRT54GS and Buffalo WRH-HP-54G.

The dir 655 seems fine when I just surfing web and download some files with IE,  but when I check the statistics, I see a lot of wireless error and tx packet/ rx packet dropped, the percent I calculate is about 0.5%, I am wondering if it's normal phenomenal?

When I download several bit torrent files With XUNLEI simultaneously, total 6 files, after 3 minutes, lot of session be created, the router slow down the download and finally crashed, wan be reset and wireless connection lost. router can recover after 1 minutes and try to continue the BT download again, but failed again.

I just try all firmware version like 1.21EA, 1.30EA B04, 1.30EA b05 and 1.33NA, but all does not work for me, I haven't try disable WISH, QOS, DNS relay, PNP,because  I believe these function should be work properly under heavy load.

anyone has comment on this? here I attached the log for reference


[INFO] Wed Feb 17 17:57:54 2010 WAN interface speed measurement completed.  Upstream speed is 463 kbps
[INFO] Wed Feb 17 17:56:18 2010 Estimating speed of WAN interface
[INFO] Wed Feb 17 17:56:18 2010 PPP network up with IP Address 125.107.2.123
[INFO] Wed Feb 17 17:56:18 2010 LCP sets local options: ACCM: 00000000, ACFC: 1, PFC: 0, MRU: 1492
[INFO] Wed Feb 17 17:56:18 2010 LCP sets remote auth: C023
[INFO] Wed Feb 17 17:56:18 2010 LCP sets remote options: ACCM: FFFFFFFF, ACFC: 1, PFC: 0, MRU: 1492
[INFO] Wed Feb 17 17:56:18 2010 Established INTERNET PPPoE connection, session id 5693
[INFO] Wed Feb 17 17:56:18 2010 Issuing request for offer for INTERNET PPPoE Session
[INFO] Wed Feb 17 17:56:18 2010 Offer of service [any] accepted for INTERNET PPPoE Session
[INFO] Wed Feb 17 17:56:18 2010 Discovering PPPoE servers for INTERNET PPPoE Session
[INFO] Wed Feb 17 17:56:18 2010 Trying to establish INTERNET PPPoE connection
[INFO] Wed Feb 17 17:56:17 2010 Log viewed by IP address 192.168.0.126
[INFO] Wed Feb 17 17:55:57 2010 UPnP deleted entry 255.255.255.255 <-> 0.0.0.0:57280 UDP
[INFO] Wed Feb 17 17:55:48 2010 Terminating INTERNET PPPoE session ID 5760
[INFO] Wed Feb 17 17:55:48 2010 PPP network down
[INFO] Wed Feb 17 17:55:48 2010 LCP sets remote auth: 00000000
[INFO] Wed Feb 17 17:55:48 2010 LCP sets remote options: ACCM: FFFFFFFF, ACFC: 1, PFC: 0, MRU: 1492
[INFO] Wed Feb 17 17:55:48 2010 LCP sets local options: ACCM: 00000000, ACFC: 1, PFC: 0, MRU: 1492
[INFO] Wed Feb 17 17:55:48 2010 PPP network down
[INFO] Wed Feb 17 17:55:06 2010 UPnP renew entry 255.255.255.255 <-> 125.107.9.207:57280 <-> 192.168.0.197:57280 UDP timeout:0 'Teredo'
[INFO] Wed Feb 17 17:53:19 2010 Above message repeated 5 times
[INFO] Wed Feb 17 17:53:14 2010 Allowed configuration authentication by IP address 192.168.0.126
[INFO] Wed Feb 17 17:52:48 2010 UPnP renew entry 255.255.255.255 <-> 125.107.9.207:57280 <-> 192.168.0.197:57280 UDP timeout:0 'Teredo'
[INFO] Wed Feb 17 17:43:05 2010 Above message repeated 16 times
[INFO] Wed Feb 17 17:43:04 2010 UPnP added entry 255.255.255.255 <-> 125.107.9.207:18159 <-> 192.168.0.197:15000 UDP timeout:0 'Thunder5'
[INFO] Wed Feb 17 17:43:04 2010 UPnP added entry 255.255.255.255 <-> 125.107.9.207:18159 <-> 192.168.0.197:80 TCP timeout:0 'Thunder5'
[INFO] Wed Feb 17 17:43:01 2010 UPnP deleted entry 255.255.255.255 <-> 125.107.9.207:18159 UDP
[INFO] Wed Feb 17 17:43:01 2010 UPnP deleted entry 255.255.255.255 <-> 125.107.9.207:18159 TCP
[INFO] Wed Feb 17 17:42:20 2010 UPnP renew entry 255.255.255.255 <-> 125.107.9.207:57280 <-> 192.168.0.197:57280 UDP timeout:0 'Teredo'
[INFO] Wed Feb 17 17:38:15 2010 Above message repeated 14 times
[INFO] Wed Feb 17 17:37:46 2010 UPnP added entry 255.255.255.255 <-> 125.107.9.207:18159 <-> 192.168.0.197:15000 UDP timeout:0 'Thunder5'
[INFO] Wed Feb 17 17:37:46 2010 UPnP added entry 255.255.255.255 <-> 125.107.9.207:18159 <-> 192.168.0.197:80 TCP timeout:0 'Thunder5'
[INFO] Wed Feb 17 17:37:33 2010 UPnP renew entry 255.255.255.255 <-> 125.107.9.207:57280 <-> 192.168.0.197:57280 UDP timeout:0 'Teredo'
[INFO] Wed Feb 17 17:34:57 2010 Above message repeated 5 times
[INFO] Wed Feb 17 17:34:47 2010 UPnP added entry 255.255.255.255 <-> 125.107.9.207:57280 <-> 192.168.0.197:57280 UDP timeout:0 'Teredo'
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: EddieZ on February 17, 2010, 12:23:05 PM
There's two issues here.
The major one:
1. You need to throttle down on your 'max BT peer" connections. The DIR is good, but it is not a miracle machine that will  stay up whatever you throw at it. The DIR will work OK with about 250/300 max connections (up and down combined)
Minor one:
2. Your connection with your modem seems to be flakey, so check the cables. At least, that's what the log suggests.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: MacAl on February 17, 2010, 01:34:07 PM
There's two issues here.
The major one:
1. You need to throttle down on your 'max BT peer" connections. The DIR is good, but it is not a miracle machine that will  stay up whatever you throw at it. The DIR will work OK with about 250/300 max connections (up and down combined)
Minor one:
2. Your connection with your modem seems to be flakey, so check the cables. At least, that's what the log suggests.

100 connections on uTorrent is the max I was able to get out of it. That still requires a reboot of the router after the torrent files are done downloading because all other internet access gets locked out for everyone EXCEPT the machine downloading the torrent.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: EddieZ on February 17, 2010, 02:56:48 PM
100 connections on uTorrent is the max I was able to get out of it. That still requires a reboot of the router after the torrent files are done downloading because all other internet access gets locked out for everyone EXCEPT the machine downloading the torrent.


Recheck your settings, esp. the settings that concern the number of connections. They are set in different places usually in the client software.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 17, 2010, 07:16:15 PM
There's two issues here.
The major one:
1. You need to throttle down on your 'max BT peer" connections. The DIR is good, but it is not a miracle machine that will  stay up whatever you throw at it. The DIR will work OK with about 250/300 max connections (up and down combined)
Minor one:
2. Your connection with your modem seems to be flakey, so check the cables. At least, that's what the log suggests.

thanks EddieZ
- yes, I know throttle down the connections can be some help to improve the download stability, my adsl is 4M/512K, normally I can get 400K download speed, but for torrent download, I have to limit the download/up speed to 350K/20K in XUNLEI setting,  I think limit the speed should also limit the peer connections.

Today I try down 3 files with XUNLEI, a bittorrent client. After 1 minute passed, lot of session be established, I ping the router IP 192.168.0.1, found the router is not stable, the ping reach 100 ms or high even get lost, normally ping router should less than 1ms from wired computer, when ping router > 30ms, the download speed became unstable, and hard to access the router web interface, I immediately check the internet sessions amount in router statistic menu, calculate total 2320 session record here, I remember my old WRT54GS  can handling more than 4000 sessions with no problem

(http://we.pcinlife.com/attachments/forumid_245/1002181001c6cbbae14b148c3e.gif.thumb.jpg)

Then I disable the dynamic fragmentation option in QOS setting menu, I find the router became solid under heavy torrent downloading, the ping to router is stable, less than 1ms, so I think the QOS engine canít handling the mass connections, ubicom streamengine slow down the whole rounter.

(http://we.pcinlife.com/attachments/forumid_245/1002181008abe23df53f882410.gif.thumb.jpg)

Another my thought is DIR 655 QOS is absolutely useless,
-   I set A computer priority 40, and set B computer priority 200, when I download file in B computer with single thread, A computer ping to ISP gateway is 150ms( normally the ping is around 30ms),
-   if I download the files with 5 thread in B computer, then I got the ping 800ms or more to ISP gateway (normally the ping is around 30ms),
-   I canít see any improvement with  QOS enable, what's wrong with my dir 655?
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: EddieZ on February 18, 2010, 04:26:17 PM
I think limit the speed should also limit the peer connections.
No, you really need to seed the number of incoming connections
Quote
Then I disable the dynamic fragmentation option in QOS setting menu, I find the router became solid under heavy torrent downloading, the ping to router is stable, less than 1ms, so I think the QOS engine canít handling the mass connections, ubicom streamengine slow down the whole rounter.
It is taking up prcessor/memory a lot with large numbers of connections. So the performance degredation is quite obvious...
Quote

-   I canít see any improvement with  QOS enable, what's wrong with my dir 655?

You cannot prioritize IP's only, you need to at least differentiate in the ports that are used. otherwise it won't work... So you can prioritize certain kinds (streams) of data, not all equal http or FTP with respect to different IP's
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 19, 2010, 08:11:28 AM
I finally found the root cause, UBICOM QOS can't handling so many session/connection raised by P2P client,  it lead to router freezing frequently (just like cpu utilization 100%) , once QOS overload ,then the wired computer download speed slow down, and wireless client disconnect from router/ router wan port rest.

simply ping router lan address can verify this phenomenal.

So simply turn off the QOS can solve the problem (low P2P speed, wan reset, wireless disconnect)

QOS capability does not relate to any firmware version, frankly said its very poor, how stupid dlink set the QOS enable by default.

 ;D
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 21, 2010, 12:50:52 AM
just return to dlink for replacement, dlink confirm the wireless signal is not stable, dropped packet when wireless client ping router, will send me a new one for test, so I will update the situation here to see if QOS issues is a common or individual once I received
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: lotacus on February 21, 2010, 06:23:53 PM
to make QoS function properly, I would think, like many other router firmware, you would have to set the max upload to about 80 to 90 percent of what you get from your ISP. The reason for this is so the router can buffer the acks and delay them according to the service priority. Though I do agree, the QoS fucntion is flakey in my opinion and a lot of users mis-interpret what QoS is and how it is supposed to function. Perhaps what you may find more helpful is a gateway that impliments traffic shaping instead.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 22, 2010, 06:51:13 PM
Good news, today received replaced 655 from Dlink office, seems everything is OK,
Just download 4 torrent files meantime in office (100M connection), total 3300 sessions,  250 ESD connections, around 5M/s speed,QOS enabled, router is stable, no ping delay and packet lost under heavy download,

so the conclusion is QOS is applicable for heavy torrent handling no problem,
my old DIR 655 is a defective,
So sadly I waste 3 days on this,
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 22, 2010, 09:35:21 PM
Good news, today received replaced 655 from Dlink office, seems everything is OK,
Just download 4 torrent files meantime in office (100M connection), total 3300 sessions,  250 ESD connections, around 5M/s speed,QOS enabled, router is stable, no ping delay and packet lost under heavy download,

so the conclusion is QOS is applicable for heavy torrent handling no problem,
my old DIR 655 is a defective,
So sadly I waste 3 days on this,

OMG!!!!take my new DIR-655 to home, the problem produce again. running 4 torrent files, ping router lose packet and time out, the difference between office network and home network is  office net work is static wan IP, while the home network is ADSL PPPOE dial-up, so , the question is  DIR-655 PPPoE mode is not friendly with QOS?

Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: bigeyes0x0 on February 23, 2010, 07:00:43 AM
That might be the case, I have the same configuration as yours at home, and I have the same problem of ping lag and sometimes lost packets when I use wireless n in 40MHz mode whether when I do torrent or not. This non-sense happens with every firmwares I have tried from 1.30WW, to 1.31EU and 1.33NA, might be others, too I guess.

So have you tried running your wireless n in 20 Mhz mode? And which wireless client inside your laptop, Atheros, Ralink, Broadcom or Intel...?

EDIT: I do not have WAN or wireless drop off and restart as of now.
EDIT2: My wireless client is a DWA-140 (Ralink 2870) with latest Ralink Vista x64 driver. Wireless g with a Atheros chip on my netbook does not have this problem.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: EddieZ on February 23, 2010, 02:55:38 PM
OMG!!!!take my new DIR-655 to home, the problem produce again. running 4 torrent files, ping router lose packet and time out, the difference between office network and home network is  office net work is static wan IP, while the home network is ADSL PPPOE dial-up, so , the question is  DIR-655 PPPoE mode is not friendly with QOS?



You might want to start thinking about your PPPoE modem as the cause of the issue....
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 23, 2010, 06:34:15 PM
You might want to start thinking about your PPPoE modem as the cause of the issue....

I own my PPPoE modem for 10 years (e-tek brand), this modem no problem connect to my ASUS, Linksys, Baffalo. So I do not thinks its modem issues.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 23, 2010, 06:45:46 PM
That might be the case, I have the same configuration as yours at home, and I have the same problem of ping lag and sometimes lost packets when I use wireless n in 40MHz mode whether when I do torrent or not. This non-sense happens with every firmwares I have tried from 1.30WW, to 1.31EU and 1.33NA, might be others, too I guess.

So have you tried running your wireless n in 20 Mhz mode? And which wireless client inside your laptop, Atheros, Ralink, Broadcom or Intel...?

EDIT: I do not have WAN or wireless drop off and restart as of now.
EDIT2: My wireless client is a DWA-140 (Ralink 2870) with latest Ralink Vista x64 driver. Wireless g with a Atheros chip on my netbook does not have this problem.

I haven't try the 20Mhz mode, I won't give up the 40M mode for only 40Mhz can handling 300mbps link speed.
my wireless client is broadcom (my thinkpad X60), realtek( my desktop PC), and intel wifilink 1000 (my acer laptop), all client suffer the wireless lost while BT download.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: bigeyes0x0 on February 23, 2010, 07:50:39 PM
I won't either, just asked that have you tried that to see if that works without packet lost and such? Are all of your clients wireless-n (the acer one is, I know)? The reason I asked you to do this is because my g client does not suffer from this problem, it only suffers a little of cyclic packet latency of a magnitude less than 50ms, not thousands ms or lost packet like wireless-n. I haven't had the chance to do it as I am at work, will do this later tonight anyway. If it's confirmed that this problem is by design or firmware bug(s) I am going to bring this thing to the close by shooting range for relieving stress and then getting a router from some other manufacturer. Going to stay away from D-Link in the foreseeable future at least until D-Link put their act together, simply had enough.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 23, 2010, 09:44:37 PM
I won't either, just asked that have you tried that to see if that works without packet lost and such? Are all of your clients wireless-n (the acer one is, I know)? The reason I asked you to do this is because my g client does not suffer from this problem, it only suffers a little of cyclic packet latency of a magnitude less than 50ms, not thousands ms or lost packet like wireless-n. I haven't had the chance to do it as I am at work, will do this later tonight anyway. If it's confirmed that this problem is by design or firmware bug(s) I am going to bring this thing to the close by shooting range for relieving stress and then getting a router from some other manufacturer. Going to stay away from D-Link in the foreseeable future at least until D-Link put their act together, simply had enough.

This afternoon I back home to verify the 40M and 20M wireless option, seems 20M mode work much better than 40M, even 20M mode still show some TX/RX packet dropped and error in wireless statistic menu when connect to N client, but the total error ratio is much lower than 40M,

only my acer is N adaptor equiped, others is old G wireless adaptor, N client has ton of error and packet dropped, G client seem normal, but all G and N client will suffer wan reset or wireless disconnected and router ping lag ,
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: barinax on February 24, 2010, 07:05:11 AM
only my acer is N adaptor equiped, others is old G wireless adaptor, N client has ton of error and packet dropped, G client seem normal, but all G and N client will suffer wan reset or wireless disconnected and router ping lag ,

One thing that helped me is that some wireless network cards have a hard time operating in a mixed b/g/n environment.  I had to set my N laptop down to G only since it could not work well in N mode with other G devices also running.  My transfer speeds are not as high, but the pings tx/rx has been rock solid.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: leowood on February 26, 2010, 09:17:53 PM
after spend 2 weeks on 2 655 router, the conclusion came out

- only 1.21EA firmware can avoid wan reset and ping router time out

so I flash the firmware to 1.21EA, now everything seem ok for me.

Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: Neola00 on April 02, 2010, 08:02:54 PM

I can confirm this issue also.  During heavy upload load (1-4Mbps) my DIR-655 router reboots about every 10 mins.  This happens when uploading using FTP with 1 connection so it has nothing to do with the number of TCP connections but with the upload data rate.
I do have QOS turned on.

Hardware version A3 firmware version 1.33NA  This also happens with firmware version 1.32  I upgraded in the hopes it would fix this problem.  It wasn't so long ago that uploading didn't cause a problem so I'm guessing that leowood is correct that 1.21 doesn't have the problem.

This is horrible, I can't upload files when I needed!  I've noticed that throttling uploads to 512K or so seems to prevent this from happening, but that what is the point of having 4Mbps upload speed?

All I can say:  If you sell 1 million units per year it would cost only 50 cents per unit to hire a $300,000/year rock star programmer to fix these problems.

Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: CallMeBufo on December 13, 2010, 12:49:57 PM
Anyone ever find a solution for this?
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 10, 2013, 01:53:28 AM
Edit: This was not the problem. I actually found the real problem here. (http://forums.dlink.com/index.php?topic=11321.msg213975#msg213975)

I FOUND THE PROBLEM!
I am now seeding 300 torrents and downloading a single one at 1MBPS with global max connections at 1000. Router is DIR-655, Hardware Version: B1, Firmware Version: 2.10NA. The router is running perfectly and so is the internet

The issue is an option in uTorrent called "Enabled bandwidth management" uTP. I disabled that one option when I was getting pings to my router of 40+ms. Then I closed uTorrent, reopened it, and after 10 minutes my router is still pinging at less than 1 ms.

(http://i.imgur.com/MQWWVUz.png)

I also have UPnP and NAT-PMP port mapping disabled, which may or may not effect it.

(http://i.imgur.com/gpKMOlI.png)

If you want to see live how your router is responding while you make changes, in Windows hit the Windows Key > type "cmd" > Enter > type "ping 192.168.1.1 -t" (or whatever your router's IP is) > Enter

if the pings start consecutively going over 2ms then you are having router issues. Leave it on the entire time you are testing new settings and resetting your router, it's very useful for seeing how stable the device is.

(http://i.imgur.com/y3xAwuH.png)
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on May 10, 2013, 07:17:48 AM
Awesome info. Would be great to get some feed back from others to see if this helps resolve there issues. I've added this information to the Torrent FAQ (http://forums.dlink.com/index.php?topic=53677.0).
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 10, 2013, 12:15:36 PM
OK now there's a new problem. The router remains stable under load, and I can access the setup page perfectly fine and quickly while using uTorrent, but now the connection will drop sporadically. My family members were complaining about the connection going in and out. My pingings to router would stay at >1ms, but then it would disconnect and reconnect within a few seconds. This occurs infrequently. uTorrent is still the culprit. This is a completely new problem from the other one I fixed earlier. Will have to do more testing.

Here's all the disconnects that were logged by Steam:

1:55 AM - Connected again and rejoined chat.

2:46 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
2:46 AM - Connected again and rejoined chat.

3:48 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
3:48 AM - Connected again and rejoined chat.

4:49 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
4:50 AM - Connected again and rejoined chat.

6:09 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
6:09 AM - Connected again and rejoined chat.

7:57 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
7:58 AM - Connected again and rejoined chat.

11:00 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
11:03 AM - Connected again and rejoined chat.

11:34 AM - Lost connection to Steam, will rejoin chat automatically when connection regained.
11:34 AM - Connected again and rejoined chat.



The same disconnects were logged by Internet Connectivity Monitor v1.2, on a separate computer, pinging to google.com, at the exact same times. I wont post that log since it's redundant.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on May 10, 2013, 02:19:57 PM
What region are you located?
Are you wired or wireless connected to the router?
Has a Factory Reset been performed?


What ISP Service do you have? Cable or DSL?
What ISP Modem Mfr. and model # do you have?

Check ISP MTU requirements, Cable is usually 1500, DSL is around 1492 down to 1472. Call the ISP and ask. Link>Checking MTU Values (http://forums.dlink.com/index.php?topic=53008.0)
For DSL/PPPoE connections on the router, ensure that "Always ON" option is enabled.

Some things to try: - Log into the routers web page at 192.168.0.1. Use IE, Opera or FF to manage the router.
Turn off ALL QoS (http://vonage.nmhoy.net/qos.html) or Disable Traffic Shaping (DIR only) GameFuel (DGL only and if ON.) options. Advanced/QoS or Gamefuel.
Turn off Advanced DNS Services if you have this option under Setup/Internet/Manual or under Setup/PARENTAL CONTROL/Set to>None: Static IP or Obtain Automatically From ISP.
Enable Use Unicasting (compatibility for some ISP DHCP Servers) under Setup/Internet/Manual.
Turn on DNS Relay under Setup/Networking. Link>Finding Faster DNS Addresses using Name Bench (http://forums.dlink.com/index.php?topic=53222.0)
Setup DHCP reserved IP addresses for all devices ON the router. Setup/Networking. This ensures each devices gets its own IP address when turned on and connected, eliminates IP address conflicts and helps in troubleshooting.
Ensure devices are set to auto obtain an IP address.
If IPv6 is an option on the router, select Local Connection Only or Disable IPv6 options under Setup/IPv6.
Set Firewall settings to Endpoint Independent for TCP and UDP under Advanced/Firewall.
Enable uPnP and Multi-cast Streaming under Advanced/Networking. Disable uPnP for testing Port Forwarding rules. Enable IPv6 Multi-cast Streaming for routers that have a Media Server option. Disable IPv6 Multi-cast Streaming if IPv6 or Media Server is not being used.
Turn off WISH, and WPS under Advanced.
WAN Port Speed set to Auto or specific speed? Some newer ISP modems support 1000Mb so manually setting to Gb speeds can be supported by the router. Advanced/Advanced Networking/WAN Port Speed
Set current Time Zone, Date and Time. Use an NTP Server (http://forums.dlink.com/index.php?topic=48695.0) feature. Tools/Time.
 
Links>Wireless Installation Considerations (http://forums.dlink.com/index.php?topic=48327.0) and Managing Signal Congestion (http://forums.dlink.com/index.php?topic=53228.0)
Ensure the default (dlink) SSID name is changed. Can be anything and not something thats already in use by any neighboring WiFi routers. Under Setup/Wireless/Manual.
What wireless modes are you using?
2.4Ghz Routers only: Try single mode G or N or mixed G and N?
Channel Width set for Auto 20/40Mhz or try 20Mhz only.
Try setting a manual channel to a open or unused channel. 1, 6 or 11. 11 for single mode N if the channel is clear.
What security mode are you using? Preferred security is WPA-Personal. WPA2/AES Only. Some WiFi adapters don't support AES, so you might want to try TPIK only or Auto.
What wireless devices do you have connected?
Any cordless house phones?
Any other WiFi routers in the area? Link> Use InSSIDer (http://www.metageek.net/) to find out. How many?

Try turning off Short GI (http://www.smallnetbuilder.com/wireless/wireless-features/30969-what-do-80211ns-optional-features-mean-for-you), WLAN Partition,and Extra Wireless Protection if you have it. Under Advanced/Advanced Wireless.
Enable WMM Enable (http://forums.dlink.com/index.php?topic=50738.0) Under Advanced/Advanced Wireless.

Turn off all anti virus and firewall programs on PC while testing. 3rd party firewalls are not generally needed when using routers as they are effective on blocking malicious inbound traffic.
Turn off all devices accept for one wired PC while testing.

Check cable between Modem and Router, swap out to be sure. Link> Cat6 is recommended. (http://en.wikipedia.org/wiki/CAT6)
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 10, 2013, 06:59:52 PM
I'm located on the West Coast of the USA. I am physically connected to my router. I have factory reset it several times.

I have Cable internet with a static IP. My modem is a Surfboard SB6121

1: QOS and Traffic shaping already off.
2: Advance DNS already off
3: Unicasting already on
4: DNS Relay already on
5: DHCP is already enabled for all devices.
6: All devices except a network printer is set to auto obtain IP, but I have already tried disconnecting it and I still get the problem.
7: IPv6 is already disabled
8: I will now change my UDP/TCP Endpoint Filtering to Endpoint Independent.
9: uPnP is enabled, but multi-cast is disabled because the media server stuff that pops up under networking annoys me and isn't used. However, uPnP is disabled in uTorrent so it shouldn't effect it.
10: WISH already disabled>
11: This spec sheet (http://www.motorolasolutions.com/web/Business/Product%20Lines/SURFboard/SB6121/Documents/SB6121%20Data%20Sheet.pdf) for the SB621 says the ethernet port is 10/100/1000 MBPS, so I left my setting on 10/100/1000 MBPS Auto.
12: Time and NTP Server settings already on.
13: SSID is changed. I have 2 routers with the same SSID and same password, one is acting as a hub. But disconnecting the other router doesn't help, and it shouldn't matter since I am directly wired to the router when this happens.

Code: [Select]
Wireless Radio :   Enabled
802.11 Mode :   11bgn
Channel Width :   20/40 MHz
Channel :   6
WISH :   Inactive
Wi-Fi Protected Setup :   Disabled
SSID List :
Network Name (SSID) Guest MAC Address Security Mode
You shall not pass! No 84:C9:B2:67:8F:66 AUTO (WPA or WPA2) - PSK

14: Ok there is so much about wireless I just disabled the wireless.
15: All firewalls on my computer are already disabled.
16: Only had my PC plugged in, disconnected everything else. Still lagging terribly
17: I plugged first my computer into the modem directly with the cable that goes from the router to the modem: There is zero issues. Then I plugged the cable that normally goes from my PC to the router: Zero issues. This is while seeding 300+ torrents. I even set my upload limit to unlimited and I am seeding at 1.2 MBPS and websites load fast, I can talk to people fine on teamspeak, and everything is all dandy. This is when I am not using the router, just the modem. Also IPv6 seems to be enabled because when I am pinging google it uses an IPv6 address

Proof:

(http://i.imgur.com/tyEwDM7.png)(http://i.imgur.com/JBbfcIn.png)

After I went through all this, I plugged the following together:

Modem ==> Router DIR-655 ==> Desktop PC (physical wired)

I left the wireless disabled, along with all the options the way you told me to set them. I am still getting disconnected even before I reach those loads again like I did  before. The fix I originally posted helped, but it's still not completely fixed. It seems like it's going back to the old way of the lack of responsiveness in the router and the slow pages on the router setup page.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 10, 2013, 10:59:29 PM
OK, some more tests. I can have the 289 torrents seeding at once. BUT! If my upload goes above 200kb the router starts to become unresponsive. I tested this by starting a SINGLE popular torrent after my non-popular seeding torrents were online with no problems. The faster it goes, the slower it gets.

Right now my router is pinging an average of 300ms while downloading at 1.2mbps, despite allowing only 20 connections per torrent. When I limit to 500K, it drops to 30ms average. 200K is 3ms.

This is with just 20 connections per torrent allowed! Changing the speed from 200K limit to unlimited does not effect the connection count with this single torrent.

Last test: Only seeding this one torrent, not the other 300. Just 1 single torrent, 20 max connections, unlimited upload. At 1.2 MBps I get 100 300ms.

So to reiterate:
20 max connections per torrent allowed for all tests.
289 seeds with no current downloaders: <1ms
289 seeds + 1 uploading at 1.1MB/s: 300ms
289 seeds + 1 uploading at 500K/s: 30ms
289 seeds + 1 uploading at 200K/s: 3ms
1 upload at 1.1MB/s: 300ms

The amount of connections doesn't seem to matter, it's the amount of data going through that's bogging the router. Why is this?
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 10, 2013, 11:29:44 PM
Alright, last post. I switched to Deluge. It's now uploading at 1.3MB/s and my router is pinging at <1ms.

Whelp, time to add 400+ total torrents to this thing. Hopefully I can find a program to do it for me.

So the fix for this issue is: Switch from uTorrent to Deluge.

I'm sure there's a setting to make uTorrent work, but unless a D-Link engineer runs the program and uses his testing equipment to find the problem, then it's unlikely we'll find out what it is. It could be something as simple as the delay between new connections.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on May 11, 2013, 09:46:32 AM
If Deluge is working better than uTorrent, I presume that there could be an issue in the programming and coding of uTorrent. Have you tested Transmission?
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 11, 2013, 09:59:41 AM
If Deluge is working better than uTorrent, I presume that there could be an issue in the programming and coding of uTorrent. Have you tested Transmission?

Nope, however I am starting to get issues again with deluge. When I was using uTorrent, a single torrent going at 1.3MB/s would hurt my router and make it unusable. With Deluge it was fine.

But then I turned on 215 torrents, and now it's slowing down again. Even with total connections limited to 25 my router is still doing bad, so it's nothing to do with that. All my network extras are turned off as shown in the image below.

(http://i.imgur.com/vaAMEQ1.png)

When max upload at 300K/s, the router responds with a >1ms ping. But when I set it to 1000K/s it's at 300ms.

It's really bothering me, I'm glad I switched to Deluge though because it's working much better, but the router is still acting up. I want to be able to seed 250+ torrents at 1+ MB/s with no problems.

Edit: Here's my router responses with Deluge running at 300K/s upload and 215 torrents seeding:

(http://i.imgur.com/m4xtpI1.png)

Edit2: Here is 700K/s (some reason now it's refusing to climb above 750K/s) upload and 215 torrents seeding:

(http://i.imgur.com/JbypYj5.png)

80K/s upload and 215 torrents seeding:

(http://i.imgur.com/kElQ3PP.png)

In all these pictures I had less than 60 connections. Also when I try going to websites while uploading at 700K, I kept on getting "DNS server unresponsive" errors and no sites would load.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on May 11, 2013, 10:49:10 AM
I'm going to presume that your maxing out the router doing all these torrents at once and as the result, your seeing slow downs. You need to moderate and adjust your torrents accordingly so that the router isn't bogging down. If your can't adjust the torrents for best performance for downloading and sharing the other connections for other uses then maybe this router isn't a good fit.

This router works well however I presume that when you are maxing out the routers abilities, limits will be experienced. You'll need to find other alternatives if you can't moderate Torrent downloads. These routers can only do so much.

Good Luck.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 11, 2013, 11:04:48 AM
I'm going to presume that your maxing out the router doing all these torrents at once and as the result, your seeing slow downs. You need to moderate and adjust your torrents accordingly so that the router isn't bogging down. If your can't adjust the torrents for best performance for downloading and sharing the other connections for other uses then maybe this router isn't a good fit.

This router works well however I presume that when you are maxing out the routers abilities, limits will be experienced. You'll need to find other alternatives if you can't moderate Torrent downloads. These routers can only do so much.

Good Luck.

I can't do 43 connections at 1MB/s upload? There is clearly something wrong. I don't have hundreds of connections open. If I cut the upload speed from Unlimited to 80K/s, then the internet starts working fine again. The connection count remains the same.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on May 11, 2013, 11:39:36 AM
OK I re-enabled QOS and all the features of it and rebooted the router. Then I unchecked every single thing before unchecking QOS (and causing all the options to become greyed). So I made sure no option under QOS was greyed out AND checked. After that I rebooted it again.

At 1MB/s upload with 215 seeds websites were working fine for the first few minutes, but then it started degrading. The routers pings started to climb, and DNS failed after a few minutes. Websites that I haven't been to previously since I rebooted the router give a DNS error.

Here is what the pings looked like at the beginning:

(http://i.imgur.com/g742cah.png)


After a few minutes:

(http://i.imgur.com/2dbBYq2.png)


Notice that the connections are nearly the same (bottom left).
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 26, 2013, 06:02:03 PM
I think I DID FIX IT!
Update: 2 days after doing this fix, and my internet is running perfect with 210 torrents seeding during the entire time.


I disabled Advanced DNS Service. However, I read that there can be problems if the router is unable to get the DNS or is offline, so I manually added in my ISP's DNS servers.

To do all this, go to your Router's Page, click Status, then Device Info. Note down the DNS servers for your WAN, then go to Setup > Manual Internet Connection Setup. Uncheck Enable Advanced DNS Service, then put in the Primary DNS Address and Secondary DNS Address that you noted on the Status page.


I guess this option normally has the router process all the DNS requests, in case the DNS server doesn't work or something. I really don't know. But I was overloading it with possibly hundreds of requests, or ballooning it's cache.

If I still have problems, I'll update. But right now browsing the world wide web is insanely fast. Pages load almost instantly!

Edit: Currently I also disabled the following "features", which fixed all my router's issues:

Edit 2: I set my router's DNS addresses to 0.0.0.0 also. No need to manually put in the modem's address.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 26, 2013, 06:07:15 PM
Or you can try this as well:
>Finding Faster DNS Addresses using Name Bench (http://forums.dlink.com/index.php?topic=53222.0)

Glad you got it working well for you.

Enjoy.


I think I've fixed it.

I disabled DNS Relay. However, I read that there can be problems if the router is unable to get the DNS or is offline, so I manually added in my ISP's DNS servers.

To do all this, go to your Router's Page, click Status, then Device Info. Note down the DNS servers for your WAN, then go to Setup > Manual Internet Connection Setup. Uncheck Enable Advanced DNS Service, then put in the Primary DNS Address and Secondary DNS Address that you noted on the Status page.


I guess this option normally has the router process all the DNS requests, in case the DNS server doesn't work or something. I really don't know. But I was overloading it with possibly hundreds of requests, or ballooning it's cache.

If I still have problems, I'll update. But right now browsing the world wide web is insanely fast. Pages load almost instantly!
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 26, 2013, 06:35:24 PM
Well my ISPs DNS server came out the fastest, but what's weird is it said it was 200% faster than using my router's DNS...despite my router set to the exact same one. I set my computer's settings to the IP address directly and now new web pages do load slightly faster. I don't understand why it doesn't just pass the address to my computer through DHCP.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 26, 2013, 06:43:36 PM
You have to run the test with out the router being online, PC direct to ISP Modem.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 26, 2013, 06:50:03 PM
You have to run the test with out the router being online, PC direct to ISP Modem.

Would such a test not be accurate to real world experience? I'm always going to be behind a router, therefore the tests should be done behind the router.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 26, 2013, 07:02:51 PM
No, by testing behind the router you are not testing for more accurate data. Once the accurate data has been gathered, then you can input that into the router and the router will have the best addresses to use.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 26, 2013, 09:42:06 PM
No, by testing behind the router you are not testing for more accurate data. Once the accurate data has been gathered, then you can input that into the router and the router will have the best addresses to use.

I'll try doing the namebench test tonight when no one is using my server, but I am now getting really good speeds by directly connecting to my ISP's nameservers.

Also in my post I accidentally said "DNS relay" when I meant "Advanced DNS Service". I just disabled DNS Relay and now I am getting my modem's DNS address when using Automatic Configuration.


Also, as a mod can you link to the post with my fix in the original post for people who find this on google?
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 27, 2013, 07:19:29 AM
IF your getting good services and performance with your ISPs DNS addresses then you should use those. Test NameBench if you want too.

Added this thread link to the Torrent FAQ (http://forums.dlink.com/index.php?topic=53677.0)

Enjoy.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 27, 2013, 10:35:31 AM
I was thinking about what you said, trying to understand why testing from the modem instead of behind the router would be better, and I realized that we're both right.

When DNS relay is enabled, the router is acting like a DNS server. Therefore, if you want to use this option, then you would test the name servers in the same place the router will be: Directly connected to the modem.

However, with DNS relay disabled OR if you're putting the DNS servers into your computer's network settings manually, testing from behind the router is preferred, since the tests are done in the same way you will actually connect to the DNS servers. Even with all the router DNS settings enabled, setting your DNS to a WAN IP bypasses that, right? Or is the router smart enough to sniff the packets for DNS queries and process them?
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 27, 2013, 10:50:38 AM
To rule out any odd results or false positives, I would presume that testing with out the router being online would be preferred as to gain the best and more accurate results for testing for better DNS. Doing this also at the modem is preferred as most Modems may have built in NAT, which in most cases I presume would be disabled however, people are still running in Double NAT (http://www.practicallynetworked.com/networking/fixing_double_nat.htm) conditions. Modems could still be a point of contention if this is the case. Overall, testing directly to a non NAT ISP modem is preferred for best and the most accurate results.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 27, 2013, 12:23:30 PM
To rule out any odd results or false positives, I would presume that testing with out the router being online would be preferred as to gain the best and more accurate results for testing for better DNS. Doing this also at the modem is preferred as most Modems may have built in NAT, which in most cases I presume would be disabled however, people are still running in Double NAT (http://www.practicallynetworked.com/networking/fixing_double_nat.htm) conditions. Modems could still be a point of contention if this is the case. Overall, testing directly to a non NAT ISP modem is preferred for best and the most accurate results.

Wouldn't the odd results and false positives be ruled out by the fact that by default 250 tests are done per nameserver? And if there is a large amount of odd results to affect the overall test results, wouldn't such problems be experienced during normal use to affect the web surfing experience?

An analogy to this would be if we wanted to know how long it takes to drive from home to work. Do you test at 2AM when the road is clear to get the exact time without traffic? Or do you test at 7AM, during medium or heavy traffic? With the 2AM test, you will get consistent results, but they wont match the real world expirience. If you do the 7AM test, you will get results with much larger margins, but they will reflect the real world better.

You can normalize the margins though by repeated testing and taking the averages. So that one day that it took 15 minutes longer because of an accident will be nullified by the dozens, or even hundreds, of other days measured without accident. But if 1/3 of the time there's always some person blocking a specific lane that causes you to take 3 minutes longer, that is a relevant real world variable that can consistently effect your travel time.

And what if you had a motorcycle tested against a car? The motorcycle would take roughly the same amount of time as a car at 2AM, but at 7AM there would be a major different because of traffic, which could have significant weight in deciding what to drive to work.


Similarly on a DNS test where you want to get the fastest DNS response from your computer, you would do the testing from your computer, with the network setup the way you will using it. Otherwise, you're fudging the results. In fact, by doing it this way I discovered my router's DNS Relay was slowing my DNS response time by 200%! And upon changing my DNS settings I have noticed an improvement as great as the test implied. Had I done it without my router connected, I might not have been led to the DNS relay issue.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 27, 2013, 12:42:16 PM
Not necessarily, as DNS is usually a static IP address and is only access for those applications that need DNS direction and reply. Most DNS usually doesn't change so there is some level of comfort knowing that they should not change frequently like other IP addresses to. I think what effects DNS performance is distances and hops. I believe the NameBench tests to see what is best available in distances and hops and probably time as well. If DNS Relay is used on the Modems and Routers, then this might effect how NB tests and gets results. If routers are used for the main host router, once the DNS has been acquired, it's up to the user weather or not to use DNS relay. DNS Relay may add some performance hits. Over all we are trying to streamline the routers handling of traffic as best as possible by turning off un-necessary features that may or may not be used on a daily basis. Let the DNS pass thru rather to the devices with out any conversion. Normally DNS Relay works just as good ON as with it OFF. One thing to remember about DNS Relay and Manual DNS, Relay with automatically adjust to different DNS should it change, manual you'll need to figure out what happened to DNS if something changes. However DNS really shouldn't change unless you move ISPs or to a different region.

NameBench is there as an option if users really have a need to use other DNS. This is not to say that using default ISP DNS isn't good solution either. I always recommend that if there DNS and routers are working as is, Keep it that way. Unless you feel like fiddling.  ;D
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on August 27, 2013, 01:44:27 PM
When I look at the log for Namebench, I only see response time. That seems to be the only metric for determining which DNS is better.

Here is my results: http://i.imgur.com/ol1Ugt2.png (http://i.imgur.com/ol1Ugt2.png)

The only thing that was enabled during this test was DNS Relay, not Automatic DNS Service (which was what slowed everything down). The DNS Relay address (Boxed in blue) and the fasted DNS (Boxed in green, which also happens to be my modem's default DNS, lead to the same WAN address.

I just did a test where I set the router's DNS to Google's DNS servers ( 8.8.8.8 ), then saved settings and did the required router reboot. Without changing any settings from my computer's automatic IP address settings, it was able to get the new DNS address when it reconnected. Setting the router back to 0.0.0.0, and rebooting it, changed my computer back to the Comcast DNS server. So any DNS changes can be propagated through the network, automatically, without even using DNS Relay. For anyone who uses DHCP only, which I assume is 99% of people out there, the DNS Relay offers no advantage I see. It's really silly for D-Link to have this enabled by default, as anyone running a network without DHCP must already know what they're doing and can enable it themselves.

Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on August 27, 2013, 02:04:27 PM
Nice results. I think I need to check mine as well.  ;)
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: jackthesmack on September 06, 2013, 09:05:30 PM
OK, so I was able to download 200 torrents fine. But then I started getting more and more...and at 400+ torrents I started noticing problems. After doing some research, it appears the bottleneck is simply the RAM and CPU of the router. But I can't see the load on it at all.

However, I did have an old Dell computer lying around. And people on torrent sites were telling me to install pfSense. So now I have pfSense installed and I'm using a Dell computer as a router, and it's running much better. I have 1500 torrents currently running and the router is saying only 20% RAM is used (out of 512MB) and I can see the CPU usage spiking to 10% sometimes. I'm gonna assume that the RAM and CPU on the D-Link were far worse, and I was clogging both up. Disabling QOS, DNS Relay, etc reduced the load, but I was still adding more load with more torrents.

I guess I would have seen this issue from the beginning if there was a way to see the load on the router. Here's an example of what I'm seeing right now with pfSense: http://i.imgur.com/mjhHGr8.png (http://i.imgur.com/mjhHGr8.png)

Thanks for all your help though.
Title: Re: DIR-655 disconnect wan and wlan under heavy torrent load.
Post by: FurryNutz on September 07, 2013, 03:42:08 PM
Ya, probably having that many torrents going on these routers isn't probably good. Routers are only designed to so so much. Torrent moderation is needed. 

Glad you found a work around.

Enjoy.