• May 30, 2025, 01:46:51 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Performance Degrading over time  (Read 11521 times)

pawl

  • Level 1 Member
  • *
  • Posts: 6
Performance Degrading over time
« on: June 26, 2009, 04:02:56 AM »

I have been having an issue with my router and virgin cable.

I phoned the support line and spoke to one of the support people there who was very helpful. we manually set the speed in the QOS section as this is often underestimated automatically. we also set the speed of the wan port manually. none of this helped.

it takes a reset to factory defaults to get the performance level back to an acceptable level. however these decay back over a few hours to about 2megabit. browsing becomes very slow with many timeouts.

im on the 1.21eu firmware.

in desperation i have put my old netgear router back in and the performance is back upto 16megabit. this router shows no sign of tiem based decay. but it is a little cranky and goes awol every now and then which is why i replaced it.

is anyone else having these issues?

any helpful hints on how to get the performance back?

P
Logged

Clancy

  • Level 3 Member
  • ***
  • Posts: 202
  • I am not a number. I am a free man!
Re: Performance Degrading over time
« Reply #1 on: June 26, 2009, 04:47:34 AM »

What is your MTU on the DIR-655?
Logged
Thread derailment: So easy a caveman can do it.

pawl

  • Level 1 Member
  • *
  • Posts: 6
Re: Performance Degrading over time
« Reply #2 on: June 26, 2009, 05:13:38 AM »

The MTU was left at the default 1500.

i guess the combination of gigabit jumbo frames and fragmentation being enabled could be freaking it out. Unlikely though as this sort of problem should have been spotted in the labs long before it was allowed into the wild.

the current router is also running 1500 MTU without any issues.

EDIT - no  jumbo frames are disabled.
« Last Edit: June 26, 2009, 05:42:43 AM by pawl »
Logged

Clancy

  • Level 3 Member
  • ***
  • Posts: 202
  • I am not a number. I am a free man!
Re: Performance Degrading over time
« Reply #3 on: June 26, 2009, 07:35:17 AM »

Have you ever run a TCP optimizer to see if 1500 is the optimal setting? Also to check your TCP Receive Window number? Did you change NICs? Each NIC has it's own MTU registry setting. There are QOS settings in the Windows registry that can negatively impact your performance.

Excerpted:

"QoS is enabled by default in Windows XP, and can limit available bandwidth in order to accommodate high-priority traffic, when present. The Optimizer only changes the QoS value if it is already present in the registry. It is in the Registry only if the QoS Packet Scheduler is installed (can be added from the Network Adapter Properties). We recommend having the QoS Packet Scheduler uninstalled, or/and setting the QoS: NonBestEffortLimit Optimizer setting to 0%."

Logged
Thread derailment: So easy a caveman can do it.

pawl

  • Level 1 Member
  • *
  • Posts: 6
Re: Performance Degrading over time
« Reply #4 on: June 26, 2009, 07:50:53 AM »

I have disabled the windows QOS packet scheduler on all connected machines.

this slowdown is not limited to one computer. there are 3 connect. 2 by wired and 1 wireless. all of them show the same symptoms.

i completely disabled the wireless section as well to make sure it wasnt an interaction with that.
Logged

Clancy

  • Level 3 Member
  • ***
  • Posts: 202
  • I am not a number. I am a free man!
Re: Performance Degrading over time
« Reply #5 on: June 26, 2009, 08:05:09 AM »

Ok, you already posted while I was assembling this novella so please disregard the QOS entry. I will leave it in case others may find some use for it. Is your Virgin cable service new, or are the problems you are experiencing only as result of changing routers? I assume you bought the DIR-655 to be able to do things your former router could not do? Short of your router being defective, in my simple mind I'm thinking there has to be a way to resolve these issues.

Have you ever run a TCP optimizer to see if 1500 is the optimal setting? Also to check your TCP Receive Window number? Did you change NICs? Each NIC has it's own MTU registry setting. There are QOS settings in the Windows registry that can negatively impact your performance. Is your connection PPP? The passages below have helped me tremendously and enabled me to tweak my setup to get every MBps I'm paying for. There are guys on this forum that might disagree wth some or all of it. There is no shortage of information similar to this in the numerous Broadband websites found by a Google search.  Best of luck, Pawl.

This is but one of many TCP optimizers out there. The best thing about them is that they are free.

http://www.speedguide.net/tcpoptimizer.php

Excerpted:

TCP Receive Window (a.k.a. RWIN) - this buffer is the single most important factor in tweaking your TCP/IP parameters. A small RWIN value limits your maximum throughput (the server waits for acknowledgements of received packets), one much larger than needed by your connection can have a negative effect on your connection as well. Here is some history on RWIN, and all the considerations in choosing an "optimal" value:

Originally, when the TCP protocol was developed, there were only 16 bits in the TCP header reserved for the size of this buffer, allowing for a maximum value of 2^16 (65535, if you start counting from 0). With faster high-latency networks this value proved insufficient, and RFC 1323 introduced additional "TCP Options", allowing for larger RWIN values. It is accomplished by bit shifting, or multiplying the original unscaled RWIN value (up to 65535 bytes) in the TCP header by a scale factor, power of 2.

The TCP Optimizer recommends an optimal TCP Window value considering all the following factors:

- Bandwidth * Delay product based on the chosen maximum connection speed and maximum anticipated latency.
- RWIN (both scaled and unscaled) multiple of MSS, for maximum optimization.
- Proper RFC 1323 scaling for RWIN values larger than 65535.
- largest optimal unscaled RWIN (MSS multiple) used for all RWIN values over 65535.

Type/Quality of Service
QoS (Quality of Service) and ToS (Type of Service) have to do with support for priority traffic.

QoS is enabled by default in Windows XP, and can limit available bandwidth in order to accommodate high-priority traffic, when present. The Optimizer only changes the QoS value if it is already present in the registry. It is in the Registry only if the QoS Packet Scheduler is installed (can be added from the Network Adapter Properties). We recommend having the QoS Packet Scheduler uninstalled, or/and setting the QoS: NonBestEffortLimit Optimizer setting to 0%.

ToS (Type of Service, RFC 791, RFC 1812) is a field of the IP header, designed to also carry quality of service features, such as prioritized delivery for IP datagrams. It is not widely used, and it has been redefined and superseded by a newer standard called Differentiated Services (DiffServ) and defined in  RFC 2474 , RFC 2475, RFC 2597, RFC 2598. DiffServ increases the number of definable priority levels by reallocating bits of an IP packet for priority marking. The TCP Optimizer allows for ToS/DiffServ editing, although it is an advanced setting, probably beyond the scope of regular residential broadband tweaking. If you feel comfortable editing this value, you might also want to note possible conflicts with using some ToS values in a DiffServ environment, as described in RFC 2873.

ToS other than 0 is only available if ToS: DisableUserTOSSetting is present, and set to "0" in the Optimizer. If enabled, the ToS: DefaultTOSValue can be set to a specific number, (which is probably beyond the scope of this help file, but is somewhat explained below - feel free to read the related RFCs referenced above for more info). If we must make a recommendation, here are some good DefaultTOSValue numbers that are valid, and with high precedence in both ToS and DiffServ environments:

DefaultTOSValue = 80 - (010 100 00 binary). This setting should be tried first. It is not very aggressive, but it takes precedence over regular traffic and asks for low delay. For ToS, you get immediate precedence, low delay. For DiffServ, you get AF22 - class 2 traffic, medium drop probability.
DefaultTOSValue = 136 - (100 010 00 binary). This is a moderately aggressive precedence setting. For ToS, you get flash override precedence, high throughput. For DiffServ, you get AF41 - class 4 traffic, low drop probability.
DefaultTOSValue = 184 - (101 110 00 binary). This is a very aggressive setting, that might introduce some packet loss - it is usually only recommended for audio/video applications. For ToS, you get critical precedence, low delay, high throughput. For DiffServ, you get EF - Expedited Forwarding, high priority traffic, but with higher drop probability.

DNS Error Caching
Windows has built-in DNS (Domain Name System) caching, which basically caches resolved hostnames for faster access and fewer DNS lookups. This is generally a great feature, with the only downside that failed DNS lookups get cached by default as well... When a DNS lookup fails (due to temporary DNS problems), Windows still caches the unsuccessful DNS query, and in turn fails to connect to a host regardless of the fact that the DNS server might be able to handle your lookup seconds later. One can manually flush failed DNS lookups by typing ipconfig /flushdns in Command prompt... Or you can simply set the 3 values in the Optimizer to "0", and it will set the relevant Registry settings.

Logged
Thread derailment: So easy a caveman can do it.

pawl

  • Level 1 Member
  • *
  • Posts: 6
Re: Performance Degrading over time
« Reply #6 on: June 26, 2009, 10:57:29 AM »

I have had the virgin cable service for several years. my old netgear router got cranky so i upgraded to the d-link due to its 11 year warranty and good reviews.

ive been spending a lot of time working at home and gradually got more and more annoyed with the bad WAN speed. i called the virgin help people who said that they were aware that the dlinks were a little difficult somtimes. i called the dlink people and ran through several checks with them.

my primary computer is using server 2003 x64.
- TCP as implemented in Windows Server 2003 adjusts the window size to even increments of the maximum segment size (MSS) negotiated during connection setup.

i certainly dont think a 90% loss in WAN performance is tuning parameter related on the client machines.

dns. i use opendns and the dns from the ISP. rebooting the client machines has given no improvement to WAN speed. resetting the router to factory defaults gives back the speed instantly. i may try flushing the dns cache when i play with the router again.

would these fundamental tcpip parameters even cause a gradual degradation over time?

it also strikes me as strange that all the equipment works fine with the old netgear ( other than the odd freeze ).

the other odd thing is that i am an isolated case. even on defaults on the router the performance decays for me.

im going to risk bricking the router and upgrade it to the 1.3x branch of firmware. wish me luck.


« Last Edit: June 26, 2009, 11:04:10 AM by pawl »
Logged

Clancy

  • Level 3 Member
  • ***
  • Posts: 202
  • I am not a number. I am a free man!
Re: Performance Degrading over time
« Reply #7 on: June 26, 2009, 11:33:58 AM »

Well, I'm just fishing, Pawl. You did go into a bit more depth about your situation. Now that I know you are using Windows server, that is another variable to be investigated. Even the slightest clue might help. Hopefully, someone else can spot something and provide a suggestion, or solution. I am fascinated by how many different problems are reported. I read them and the suggestions I offer are of the basic variety because in my experience, it is always the little detail I overlooked that killed me. I correct it and the rain stops. Is there any way you can print out your Netgear setup and compare it to the DIR-655 setup? Just another crazy "brainstorming" idea.
Logged
Thread derailment: So easy a caveman can do it.

pawl

  • Level 1 Member
  • *
  • Posts: 6
Re: Performance Degrading over time
« Reply #8 on: June 26, 2009, 02:18:37 PM »

hmmm. ive gone through all the netgear setup. its totally vanilla. the netgears is quite a simple device. not a lot of options.

vanilla dhcp.
no port forward / triggering
no static routes
default 1500mtu on wan port
no dmz

il have another crack at the dir-655 tomorrow when i dont need connectivity for a few hours. ultimately the dlink should be faster and give me a better service.
Logged

Clancy

  • Level 3 Member
  • ***
  • Posts: 202
  • I am not a number. I am a free man!
Re: Performance Degrading over time
« Reply #9 on: June 26, 2009, 02:38:13 PM »

hmmm. ive gone through all the netgear setup. its totally vanilla. the netgears is quite a simple device. not a lot of options.

vanilla dhcp.
no port forward / triggering
no static routes
default 1500mtu on wan port
no dmz

il have another crack at the dir-655 tomorrow when i dont need connectivity for a few hours. ultimately the dlink should be faster and give me a better service.

Pawl, ever considered unplugging all but one PC and see if you can get it to work first? Or, play round robin. Try one at a time and see if there is one device that workds better than the rest. If you do, maybe what you tried there, or is right or different on that one, will translate to the other computers. More thinking out loud.
(is Xinot in the room?)
Logged
Thread derailment: So easy a caveman can do it.

pawl

  • Level 1 Member
  • *
  • Posts: 6
Re: Performance Degrading over time
« Reply #10 on: June 26, 2009, 04:08:52 PM »

ive spent another hour with a single computer hooked up to it.

some more strange things to see now. no matter what i do it wont allow me to set the time or enable NTP. it also took several tries to disable the dns relay.

even freshly reset it cant get close to the netgear wan performance.

i suspect that i have a defective unit. il phone them tomorrow and see if they can do me an RMA.
Logged

enzochiapet

  • Level 1 Member
  • *
  • Posts: 1
Re: Performance Degrading over time
« Reply #11 on: June 28, 2009, 06:57:18 AM »

I'm dealing with almost the same thing.  My DIR655 worked fine for months and then one day I became brave and moved it to a different location in my house.  After powering back up my modem and and router... I began having problems.  I went back to the old location in the house, and problems continued.  I went back and restored factor defaults and started from scratch, and problems continue.

Today, I basically have to be within 10 feet of the router to keep my speed up to 54Mbs.  If I get 15 feet away (in the same room; no walls), I'll get degradation down to 24Mbs and sometime 1Mbs.  All this while the signal strength is Excellent.  Experience is same on both my home and work laptop.

If I take my laptop out of the room, it drops completely.  Most times, my laptop can't even see the router anymore, though it can see my neighbors which is on a lot further away.

I registered through OpenDNS to see if that helped (this did resolve a problem with my PS3 getting connected to my DIR655).

I don't think I should have to do anything special with the setup; given that the DIR655 worked fine before and I could get a good single from anywhere in the house.  Firmware is the latest.

Thanks
Logged

Xinot

  • Level 3 Member
  • ***
  • Posts: 135
Re: Performance Degrading over time
« Reply #12 on: June 28, 2009, 11:23:10 AM »

Pawl, ever considered unplugging all but one PC and see if you can get it to work first? Or, play round robin. Try one at a time and see if there is one device that workds better than the rest. If you do, maybe what you tried there, or is right or different on that one, will translate to the other computers. More thinking out loud.
(is Xinot in the room?)

Nope, im out there enjoying nice weather with my daughter and her mother...  ;D
I just come here for now and then to see if we have get new fw for this yber router.
Logged
A3 1.3zzz