Router Slowdown - Revision history http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&action=history Revision history for this page on the wiki en MediaWiki 1.10.1 Fri, 29 Mar 2024 00:38:34 GMT Atatob: Add languages menu http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=55273&oldid=prev <p>Add languages menu</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:57, 18 December 2019</td> </tr> <tr><td colspan="2" align="left"><strong>Line 1:</strong></td> <td colspan="2" align="left"><strong>Line 1:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;!-- Just putting in this comment: the recommendation is to use == instead of 1 = when making the sections. It makes the article a little more read-able. --&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;!-- Just putting in this comment: the recommendation is to use == instead of 1 = when making the sections. It makes the article a little more read-able. --&gt;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;!-- __TOC__: The TOC is automatically placed in the beginning, so this markup is not needed--&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;!-- __TOC__: The TOC is automatically placed in the beginning, so this markup is not needed--&gt;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">{{Languages|Router Slowdown}}</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td><td> </td><td style="background: #eee; font-size: smaller;">==Introduction==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Issues occur with many routers, ''including routers running DD-WRT'', when using the router with heavy P2P applications. The router becomes 'slow' over time, and restarting helps for a short time. Some symptoms can be:</td><td> </td><td style="background: #eee; font-size: smaller;">Issues occur with many routers, ''including routers running DD-WRT'', when using the router with heavy P2P applications. The router becomes 'slow' over time, and restarting helps for a short time. Some symptoms can be:</td></tr> </table> Wed, 18 Dec 2019 16:57:22 GMT Atatob http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Ian5142: Removed Application Settings Category. http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=54089&oldid=prev <p>Removed Application Settings Category.</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:03, 23 March 2018</td> </tr> <tr><td colspan="2" align="left"><strong>Line 266:</strong></td> <td colspan="2" align="left"><strong>Line 266:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">[[Category:Applications settings]]</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> Fri, 23 Mar 2018 23:03:11 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Ian5142: /* p2p protocoll info */ http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=53118&oldid=prev <p><span class="autocomment">p2p protocoll info</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 19:15, 16 November 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 267:</strong></td> <td colspan="2" align="left"><strong>Line 267:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications settings]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications settings]]</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">[[Category:Basic tutorials]]</td></tr> </table> Thu, 16 Nov 2017 19:15:53 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Tatsuya46: /* Solution */ http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=50131&oldid=prev <p><span class="autocomment">Solution</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:10, 20 August 2015</td> </tr> <tr><td colspan="2" align="left"><strong>Line 52:</strong></td> <td colspan="2" align="left"><strong>Line 52:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">*Enter the following values at 'IP Filter Settings'</td><td> </td><td style="background: #eee; font-size: smaller;">*Enter the following values at 'IP Filter Settings'</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">**'''Maximum Ports''': 4096 (For an 8MB RAM model set it no higher than 1024) </td><td> </td><td style="background: #eee; font-size: smaller;">**'''Maximum Ports''': 4096 (For an 8MB RAM model set it no higher than 1024) </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">**'''TCP Timeout (s)''': between <del style="color: red; font-weight: bold; text-decoration: none;">120 </del>to <del style="color: red; font-weight: bold; text-decoration: none;">600 </del>(higher is safer, lower can forget connections too quickly)</td><td>+</td><td style="background: #cfc; font-size: smaller;">**'''TCP Timeout (s)''': between <ins style="color: red; font-weight: bold; text-decoration: none;">300 </ins>to <ins style="color: red; font-weight: bold; text-decoration: none;">900 </ins>(higher is safer, lower can forget connections too quickly<ins style="color: red; font-weight: bold; text-decoration: none;">, DO NOT EVER GO BELOW 300 (5 minutes)!!</ins>)</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">**'''UDP Timeout (s)''': <del style="color: red; font-weight: bold; text-decoration: none;">120</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">**'''UDP Timeout (s)''': <ins style="color: red; font-weight: bold; text-decoration: none;">30</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Image:IPFilterSettings.png|IP Filter Settings on DD-WRT v24 svn 12548]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Image:IPFilterSettings.png|IP Filter Settings on DD-WRT v24 svn 12548]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">::Image: IP Filter Settings on DD-WRT v24 svn 12548</td><td> </td><td style="background: #eee; font-size: smaller;">::Image: IP Filter Settings on DD-WRT v24 svn 12548</td></tr> <tr><td colspan="2" align="left"><strong>Line 59:</strong></td> <td colspan="2" align="left"><strong>Line 59:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">The above settings control how long it takes before inactive TCP &amp; UDP connections are forgotten by the router. If you set them too low then the router will forget connections too quickly and active connections will be dropped.</td><td> </td><td style="background: #eee; font-size: smaller;">The above settings control how long it takes before inactive TCP &amp; UDP connections are forgotten by the router. If you set them too low then the router will forget connections too quickly and active connections will be dropped.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">*'''If you start getting frequent disconnections in particular programs but not others (commonly Instant Messenger programs) then raise your TCP timeout to at least <del style="color: red; font-weight: bold; text-decoration: none;">300 </del>or more.'''</td><td>+</td><td style="background: #cfc; font-size: smaller;">*'''If you start getting frequent disconnections in particular programs but not others (commonly Instant Messenger programs) then raise your TCP timeout to at least <ins style="color: red; font-weight: bold; text-decoration: none;">600 </ins>or more.'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">If you want about 15% more RAM available, which can help the router reach the theoretical maximum of 4096 ports:</td><td> </td><td style="background: #eee; font-size: smaller;">If you want about 15% more RAM available, which can help the router reach the theoretical maximum of 4096 ports:</td></tr> <tr><td colspan="2" align="left"><strong>Line 77:</strong></td> <td colspan="2" align="left"><strong>Line 77:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">ip_conntrack_max sets the maximum number of connections that can be kept at one time. Most people here seems to decrease the default timeout (3600s) for these connections (which results in other problems) instead of increasing the maximum value. </td><td> </td><td style="background: #eee; font-size: smaller;">ip_conntrack_max sets the maximum number of connections that can be kept at one time. Most people here seems to decrease the default timeout (3600s) for these connections (which results in other problems) instead of increasing the maximum value. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">On routers with large amount of RAM (<del style="color: red; font-weight: bold; text-decoration: none;">32 </del>MB for example) one could increase this by 10 times from the default max of 4096 without any problem. </td><td>+</td><td style="background: #cfc; font-size: smaller;">On routers with large amount of RAM (<ins style="color: red; font-weight: bold; text-decoration: none;">64 </ins>MB<ins style="color: red; font-weight: bold; text-decoration: none;">+ </ins>for example) one could increase this by 10 times from the default max of 4096 without any problem. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">From what I understand you also have to increase the hash table where these are stored in order to benefit from this increase. In the older kernel this was not possible since one would have to set this value before booting (and there was no nvram setting for that?). </td><td> </td><td style="background: #eee; font-size: smaller;">From what I understand you also have to increase the hash table where these are stored in order to benefit from this increase. In the older kernel this was not possible since one would have to set this value before booting (and there was no nvram setting for that?). </td></tr> <tr><td colspan="2" align="left"><strong>Line 100:</strong></td> <td colspan="2" align="left"><strong>Line 100:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I haven't found any way to permanently change the hashsize parameter. Although since you now in K2.6 can change it in realtime, you can just add it to your startup script and it should do the job. </td><td> </td><td style="background: #eee; font-size: smaller;">I haven't found any way to permanently change the hashsize parameter. Although since you now in K2.6 can change it in realtime, you can just add it to your startup script and it should do the job. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> echo &quot;16384&quot; &gt; /sys/module/nf_conntrack/parameters/hashsize</td><td> </td><td style="background: #eee; font-size: smaller;"> echo &quot;16384&quot; &gt; /sys/module/nf_conntrack/parameters/hashsize</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Checking the Results==</td><td> </td><td style="background: #eee; font-size: smaller;">==Checking the Results==</td></tr> </table> Thu, 20 Aug 2015 09:10:57 GMT Tatsuya46 http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Sash: /* Known issues with Applications/Operating Systems */ http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=44604&oldid=prev <p><span class="autocomment">Known issues with Applications/Operating Systems</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 12:18, 22 February 2013</td> </tr> <tr><td colspan="2" align="left"><strong>Line 236:</strong></td> <td colspan="2" align="left"><strong>Line 236:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">:'''Applications'''</td><td> </td><td style="background: #eee; font-size: smaller;">:'''Applications'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* When using Steam (of Valve) and when you refresh your server list, it might cause your router in the default setup, to reboot since it opens many connections. You can remedy this issue by following the steps on this Steam suport page: https://support.steampowered.com/kb_article.php?ref=4487-YUOC-6922</td><td> </td><td style="background: #eee; font-size: smaller;">* When using Steam (of Valve) and when you refresh your server list, it might cause your router in the default setup, to reboot since it opens many connections. You can remedy this issue by following the steps on this Steam suport page: https://support.steampowered.com/kb_article.php?ref=4487-YUOC-6922</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">==p2p protocoll info==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> applejuice</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> audiogalaxy tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> ares tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> bearshare tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> bittorrent tcp/udp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> directconnect tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> edonkey tcp/udp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> fasttrak/kazaa tcp/udp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> freenet</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> gnucleuslan</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> gnutella tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> goboogy</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> hotline</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> imesh</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> kugoo</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> mute tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> napster tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> openft tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> pando tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> soribada tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> soulseek tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> tesla</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> waste</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> winmx tcp</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> xdcc</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> xunlei tcp/udp</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications settings]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications settings]]</td></tr> </table> Fri, 22 Feb 2013 12:18:50 GMT Sash http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Riahc3: /* Known issues with Applications/Operating Systems */ http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=42756&oldid=prev <p><span class="autocomment">Known issues with Applications/Operating Systems</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 10:51, 2 May 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 236:</strong></td> <td colspan="2" align="left"><strong>Line 236:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">:'''Applications'''</td><td> </td><td style="background: #eee; font-size: smaller;">:'''Applications'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* When using Steam (of Valve) and when you refresh your server list, it might cause your router in the default setup, to reboot since it opens many connections. You can remedy this issue by following the steps on this Steam suport page: https://support.steampowered.com/kb_article.php?ref=4487-YUOC-6922</td><td> </td><td style="background: #eee; font-size: smaller;">* When using Steam (of Valve) and when you refresh your server list, it might cause your router in the default setup, to reboot since it opens many connections. You can remedy this issue by following the steps on this Steam suport page: https://support.steampowered.com/kb_article.php?ref=4487-YUOC-6922</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">:'''Operating systems'''</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Windows XP/Vista are known to limit the number of half-open connections. This adversely affects overall web and network performance while P2P is being used. Patch your tcpip.sys to accept more half-open connections (25 - 50 is a good start). Remember to keep this file patched regularly, as Windows update can overwrite it on occasion.</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Monitoring]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications settings]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications settings]]</td></tr> </table> Wed, 02 May 2012 10:51:08 GMT Riahc3 http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Sope: /* Known issues with Applications/Operating Systems */ http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=39066&oldid=prev <p><span class="autocomment">Known issues with Applications/Operating Systems</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 06:58, 12 February 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 235:</strong></td> <td colspan="2" align="left"><strong>Line 235:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Known issues with Applications/Operating Systems==</td><td> </td><td style="background: #eee; font-size: smaller;">==Known issues with Applications/Operating Systems==</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">:'''Applications'''</td><td> </td><td style="background: #eee; font-size: smaller;">:'''Applications'''</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* When using Steam (of Valve) and when you refresh your server list, it might cause your router in the default setup, to reboot since it opens many connections.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* When using Steam (of Valve) and when you refresh your server list, it might cause your router in the default setup, to reboot since it opens many connections. <ins style="color: red; font-weight: bold; text-decoration: none;">You can remedy this issue by following the steps on this Steam suport page: https://support.steampowered.com/kb_article.php?ref=4487-YUOC-6922</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">:'''Operating systems'''</td><td> </td><td style="background: #eee; font-size: smaller;">:'''Operating systems'''</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Windows XP/Vista are known to limit the number of half-open connections. This adversely affects overall web and network performance while P2P is being used. Patch your tcpip.sys to accept more half-open connections (25 - 50 is a good start). Remember to keep this file patched regularly, as Windows update can overwrite it on occasion.</td><td> </td><td style="background: #eee; font-size: smaller;">* Windows XP/Vista are known to limit the number of half-open connections. This adversely affects overall web and network performance while P2P is being used. Patch your tcpip.sys to accept more half-open connections (25 - 50 is a good start). Remember to keep this file patched regularly, as Windows update can overwrite it on occasion.</td></tr> </table> Sat, 12 Feb 2011 06:58:28 GMT Sope http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Ttr: /* Script */ Variables in scripts should be in brackets, as sh and bash tried to use prefix_foo as whole variable name http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=38988&oldid=prev <p><span class="autocomment">Script -</span> Variables in scripts should be in brackets, as sh and bash tried to use prefix_foo as whole variable name</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 18:55, 10 February 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 162:</strong></td> <td colspan="2" align="left"><strong>Line 162:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">prefix=/proc/sys/net/ipv4/netfilter/ip_conntrack</td><td> </td><td style="background: #eee; font-size: smaller;">prefix=/proc/sys/net/ipv4/netfilter/ip_conntrack</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 600 &gt; $<del style="color: red; font-weight: bold; text-decoration: none;">prefix_generic_timeout</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">echo 600 &gt; $<ins style="color: red; font-weight: bold; text-decoration: none;">{prefix}_generic_timeout</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 30 &gt; $<del style="color: red; font-weight: bold; text-decoration: none;">prefix_udp_timeout</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">echo 30 &gt; $<ins style="color: red; font-weight: bold; text-decoration: none;">{prefix}_udp_timeout</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 60 &gt; $<del style="color: red; font-weight: bold; text-decoration: none;">prefix_udp_timeout_stream</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">echo 60 &gt; $<ins style="color: red; font-weight: bold; text-decoration: none;">{prefix}_udp_timeout_stream</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 1800 &gt; ${prefix}_tcp_timeout_established</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 120 &gt; ${prefix}_tcp_timeout_syn_sent</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 60 &gt; ${prefix}_tcp_timeout_syn_recv</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 120 &gt; ${prefix}_tcp_timeout_fin_wait</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 120 &gt; ${prefix}_tcp_timeout_time_wait</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 10 &gt; ${prefix}_tcp_timeout_close</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 60 &gt; ${prefix}_tcp_timeout_close_wait</ins></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">echo 30 &gt; ${prefix}_tcp_timeout_last_ack</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 1800 &gt; $prefix_tcp_timeout_established</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 120 &gt; $prefix_tcp_timeout_syn_sent</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 60 &gt; $prefix_tcp_timeout_syn_recv</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 120 &gt; $prefix_tcp_timeout_fin_wait</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 120 &gt; $prefix_tcp_timeout_time_wait</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 10 &gt; $prefix_tcp_timeout_close</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 60 &gt; $prefix_tcp_timeout_close_wait</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">echo 30 &gt; $prefix_tcp_timeout_last_ack</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;/pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;/pre&gt;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Thu, 10 Feb 2011 18:55:40 GMT Ttr http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Phuzi0n: Undo revision 33951 by Skygunner (Talk) - this is superflouos and just makes it harder to remember http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=33954&oldid=prev <p>Undo revision 33951 by <a href="/wiki/index.php/Special:Contributions/Skygunner" title="Special:Contributions/Skygunner">Skygunner</a> (<a href="/wiki/index.php?title=User_talk:Skygunner&amp;action=edit" class="new" title="User talk:Skygunner">Talk</a>) - this is superflouos and just makes it harder to remember</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:06, 18 June 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 64:</strong></td> <td colspan="2" align="left"><strong>Line 64:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* First, make sure the [[CLI]] is enabled. This way, it is possible to connect to the DD-WRT Device and turn the Web Interface back on when needed.</td><td> </td><td style="background: #eee; font-size: smaller;">* First, make sure the [[CLI]] is enabled. This way, it is possible to connect to the DD-WRT Device and turn the Web Interface back on when needed.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Then turn off the Web Interface. This is done through the Web Interface. Apply your changes.</td><td> </td><td style="background: #eee; font-size: smaller;">* Then turn off the Web Interface. This is done through the Web Interface. Apply your changes.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* When starting the Web Interface on an as-needed basis, use the command 'httpd <del style="color: red; font-weight: bold; text-decoration: none;">-p 80 -h /www</del>'. To close it later, use the command 'killall httpd'.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* When starting the Web Interface on an as-needed basis, use the command 'httpd'. To close it later, use the command 'killall httpd'.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">At this point, you are finished. If you want to look at more technical information, and the technical results, more information is presented below.</td><td> </td><td style="background: #eee; font-size: smaller;">At this point, you are finished. If you want to look at more technical information, and the technical results, more information is presented below.</td></tr> <tr><td colspan="2" align="left"><strong>Line 100:</strong></td> <td colspan="2" align="left"><strong>Line 100:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I haven't found any way to permanently change the hashsize parameter. Although since you now in K2.6 can change it in realtime, you can just add it to your startup script and it should do the job. </td><td> </td><td style="background: #eee; font-size: smaller;">I haven't found any way to permanently change the hashsize parameter. Although since you now in K2.6 can change it in realtime, you can just add it to your startup script and it should do the job. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> echo &quot;16384&quot; &gt; /sys/module/nf_conntrack/parameters/hashsize</td><td> </td><td style="background: #eee; font-size: smaller;"> echo &quot;16384&quot; &gt; /sys/module/nf_conntrack/parameters/hashsize</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Checking the Results==</td><td> </td><td style="background: #eee; font-size: smaller;">==Checking the Results==</td></tr> </table> Fri, 18 Jun 2010 22:06:20 GMT Phuzi0n http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown Skygunner: /* Solution */ http://wiki.dd-wrt.com/wiki/index.php?title=Router_Slowdown&diff=33951&oldid=prev <p><span class="autocomment">Solution</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:29, 17 June 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 64:</strong></td> <td colspan="2" align="left"><strong>Line 64:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* First, make sure the [[CLI]] is enabled. This way, it is possible to connect to the DD-WRT Device and turn the Web Interface back on when needed.</td><td> </td><td style="background: #eee; font-size: smaller;">* First, make sure the [[CLI]] is enabled. This way, it is possible to connect to the DD-WRT Device and turn the Web Interface back on when needed.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Then turn off the Web Interface. This is done through the Web Interface. Apply your changes.</td><td> </td><td style="background: #eee; font-size: smaller;">* Then turn off the Web Interface. This is done through the Web Interface. Apply your changes.</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* When starting the Web Interface on an as-needed basis, use the command 'httpd'. To close it later, use the command 'killall httpd'.</td><td>+</td><td style="background: #cfc; font-size: smaller;">* When starting the Web Interface on an as-needed basis, use the command 'httpd <ins style="color: red; font-weight: bold; text-decoration: none;">-p 80 -h /www</ins>'. To close it later, use the command 'killall httpd'.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">At this point, you are finished. If you want to look at more technical information, and the technical results, more information is presented below.</td><td> </td><td style="background: #eee; font-size: smaller;">At this point, you are finished. If you want to look at more technical information, and the technical results, more information is presented below.</td></tr> <tr><td colspan="2" align="left"><strong>Line 100:</strong></td> <td colspan="2" align="left"><strong>Line 100:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I haven't found any way to permanently change the hashsize parameter. Although since you now in K2.6 can change it in realtime, you can just add it to your startup script and it should do the job. </td><td> </td><td style="background: #eee; font-size: smaller;">I haven't found any way to permanently change the hashsize parameter. Although since you now in K2.6 can change it in realtime, you can just add it to your startup script and it should do the job. </td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> echo &quot;16384&quot; &gt; /sys/module/nf_conntrack/parameters/hashsize</td><td> </td><td style="background: #eee; font-size: smaller;"> echo &quot;16384&quot; &gt; /sys/module/nf_conntrack/parameters/hashsize</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Checking the Results==</td><td> </td><td style="background: #eee; font-size: smaller;">==Checking the Results==</td></tr> </table> Thu, 17 Jun 2010 22:29:25 GMT Skygunner http://wiki.dd-wrt.com/wiki/index.php/Talk:Router_Slowdown