Page 1 of 1
Wireless Network Speed Tweaks
Posted: Mon Mar 28, 2022 12:38 am
by Unwieldy_Internet
The guide needs to be updated. |
https://www.speedguide.net/articles/wir ... weaks-5681
The section 'Advanced dd-wrt Router Settings' needs updating. Where it says
TCP/UDP Timeout (P2P)
Under dd-wrt firmware, these settings are under: Administration -> Management -> IP Filter Settings
Then
TCP Timeout - the default under dd-wrt and other open source firmware is 3600 seconds. Reducing this to 120-180 seconds decreases the number of connections left in WAIT state, freeing resources on your router. This is especially useful for busy network environments with many open connections, such as p2p applications.
The 'TCP Timeout' is actually the ip_conntrack_tcp_timeout_established. Reducing the timeout to which is stated in the speedguide article is not recommended according to the dd-wrt wiki. |
https://wiki.dd-wrt.com/wiki/index.php/Router_Slowdown
Posted: Mon Mar 28, 2022 8:58 am
by Philip
Thank you for this, will look into it. I don't see where it explicitly says it is the ip_conntrack_tcp_timeout_established ? It should be ip_conntrack_tcp_timeout_time_wait
It definitely needs to be tested.
The idea is to free resources for TCP connecitons in their time_wait, close_wait, etc. states, as it is common for some to get dropped without properly closing, and they take away unnecessary resources from other connections.
Posted: Tue Mar 29, 2022 12:47 am
by Unwieldy_Internet
Philip wrote:Thank you for this, will look into it. I don't see where it explicitly says it is the ip_conntrack_tcp_timeout_established ? It should be ip_conntrack_tcp_timeout_time_wait
It definitely needs to be tested.
The idea is to free resources for TCP connecitons in their time_wait, close_wait, etc. states, as it is common for some to get dropped without properly closing, and they take away unnecessary resources from other connections.
Whenever I made a change to the TCP Timeout value; there where 2 areas that updated in the Sysctl Configuration which were net.netfilter (nf_conntrack_tcp_timeout_established) & net.ipv4.netfilter (ip_conntrack_tcp_timeout_established). The default value for ip_conntrack_tcp_timeout_time_wait is 60.
The Sysctl Configuration is located in Administration -> Sysctl

Posted: Tue Mar 29, 2022 7:32 am
by Philip
Thank you for the update, looks like the firmware has changed a lot. Is this stock dd-wrt? I don't remember this section being there.
Will update the article.
Posted: Tue Mar 29, 2022 11:44 am
by Unwieldy_Internet
Philip wrote:Thank you for the update, looks like the firmware has changed a lot. Is this stock dd-wrt? I don't remember this section being there.
Will update the article.
The firmware that I'm using is one of the latest betas. |
https://dd-wrt.com/support/other-downloads/
One of the main coders of the firmware is BrainSlayer. |
https://forum.dd-wrt.com/phpBB2/profile ... rofile&u=2
Posted: Tue Mar 29, 2022 11:59 am
by Unwieldy_Internet
Here is the full list of that section.

Posted: Tue Mar 29, 2022 8:12 pm
by Philip
Thank you. Are those the default values?
Posted: Tue Mar 29, 2022 9:51 pm
by Unwieldy_Internet
Philip wrote:Thank you. Are those the default values?
Sorry, that reply from 3/29/22 @ 10:59 a.m. with the pic posted was reflecting changes from the speedguide article. See pic below for the
default values of the firmware.
Also, thanks for taking the time in updating the article! I appreciate all the hard work you put into the guide.

Posted: Wed Mar 30, 2022 8:18 am
by Philip
No problem, thanks for the constructive feedback!
