New connection need tweaking pls? [Archive] - SpeedGuide.net Broadband Community

View Full Version : New connection need tweaking pls?


Jason456
03-25-08, 08:48 PM
Currently I'm using Windows XP Home Edition with a 8,192 / 1,024 Kbps connection on a Arris WTM552G router.
Here are my analyser results:
« SpeedGuide.net TCP Analyzer Results »
Tested on: 03.25.2008 20:47
IP address: 72.252.xxx.xxx

TCP options string: 020405700103030301010402
MSS: 1392
MTU: 1432
TCP Window: 515040 (multiple of MSS)
RWIN Scaling: 3
Unscaled RWIN : 64380
Reccomended RWINs: 64032, 128064, 256128, 512256
BDP limit (200ms): 20602kbps (2575KBytes/s)
BDP limit (500ms): 8241kbps (1030KBytes/s)
MTU Discovery: OFF
TTL: 51
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

Also, it said that my MTU isn't optimized for broadband, how to I fix that?

trogers
03-25-08, 09:22 PM
First, log into your router and set MTU or MRU to 1500 and MSS to 1460. Save and reboot the router.

Then, try the following with TCP Optimizer:

General Settings tab:
Custom settings - check
Modify All Network Adapters - check
network adapter selection - your NIC
MTU - 1500
TTL - 64
TCP Receive Window - leave blank
MTU Discovery - Yes
Black Hole Detect - No
Selective Acks - Yes
Max Duplicate ACKs - 2
TCP 1323 Options:
Windows Scaling - checked
Timestamps - uncheck

Advanced Settings tab:
Max Connections per Server - 10
Max Connections per 1.0 Server - 20
LocalPriority - 1
Host Priority - 1
DNSPriority - 1
NetbtPriority - 1
Lan Browsing speedup - optimized
QoS: NonBestEffortLimit - 0
ToS: DisableUserTOSSetting - 0
ToS: DefaultTOSValue - 80
MaxNegativeCacheTtl - 0
NetFailureCacheTime - 0
NegativeSOACache Time - 0
LAN Request Buffer Size - 32768
Then select "Apply Changes" and reboot to take effect

After reboot comp, post a new TCP Analyzer report.

Jason456
03-25-08, 09:47 PM
How to I do that in my router? I don't see any settings, and it doesn't say anything in the user guide.

« SpeedGuide.net TCP Analyzer Results »
Tested on: 03.25.2008 21:53
IP address: 72.252.xxx.xxx

TCP options string: 0204057001010402
MSS: 1392
MTU: 1432
TCP Window: 16704 (multiple of MSS)
RWIN Scaling: 0
Unscaled RWIN : 16704
Reccomended RWINs: 64032, 128064, 256128, 512256
BDP limit (200ms): 668kbps (84KBytes/s)
BDP limit (500ms): 267kbps (33KBytes/s)
MTU Discovery: OFF
TTL: 51
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

trogers
03-25-08, 10:08 PM
Your signal device is not a router, but only a modem.

Try the following with TCP Optimizer:

General Settings tab:
Custom settings - check
Modify All Network Adapters - check
network adapter selection - your NIC
MTU - 1432
TTL - 64
TCP Receive Window - 256128
MTU Discovery - Yes
Black Hole Detect - No
Selective Acks - Yes
Max Duplicate ACKs - 2
TCP 1323 Options:
Windows Scaling - checked
Timestamps - uncheck

Advanced Settings tab:
Max Connections per Server - 10
Max Connections per 1.0 Server - 20
LocalPriority - 1
Host Priority - 1
DNSPriority - 1
NetbtPriority - 1
Lan Browsing speedup - optimized
QoS: NonBestEffortLimit - 0
ToS: DisableUserTOSSetting - 0
ToS: DefaultTOSValue - 80
MaxNegativeCacheTtl - 0
NetFailureCacheTime - 0
NegativeSOACache Time - 0
LAN Request Buffer Size - 32768
Then select "Apply Changes" and reboot to take effect

Jason456
03-25-08, 10:20 PM
MTU = 1432
MTU is not fully optimized for broadband. Consider increasing your MTU to 1500 for better throughput. If you are using a router, it could be limiting your MTU regardless of Registry settings.

« SpeedGuide.net TCP Analyzer Results »
Tested on: 03.25.2008 22:19
IP address: 72.252.xxx.xxx

TCP options string: 020405700103030001010402
MSS: 1392
MTU: 1432
TCP Window: 30624 (multiple of MSS)
RWIN Scaling: 0
Unscaled RWIN : 30624
Reccomended RWINs: 64032, 128064, 256128, 512256
BDP limit (200ms): 1225kbps (153KBytes/s)
BDP limit (500ms): 490kbps (61KBytes/s)
MTU Discovery: OFF
TTL: 51
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

Philip
03-25-08, 11:53 PM
This RWIN value is small for a 8Mbit connection... Try using the RWIN trogers suggested: 256128

Jason456
03-26-08, 12:30 AM
I think it's stuck.
« SpeedGuide.net TCP Analyzer Results »
Tested on: 03.26.2008 00:28
IP address: 72.252.xxx.xxx

TCP options string: 020405700103030001010402
MSS: 1392
MTU: 1432
TCP Window: 30624 (multiple of MSS)
RWIN Scaling: 0
Unscaled RWIN : 30624
Reccomended RWINs: 64032, 128064, 256128, 512256
BDP limit (200ms): 1225kbps (153KBytes/s)
BDP limit (500ms): 490kbps (61KBytes/s)
MTU Discovery: OFF
TTL: 51
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

it always says 30k for the rwin.

trogers
03-26-08, 10:55 AM
I think it's stuck.

it always says 30k for the rwin.

Google and run WinSockFix. Reboot comp and post a new TCP Analyzer report.

Jason456
03-26-08, 11:31 AM
All that seemed to do was disable my connection. Lsp fix is supposed to repair that right?

Philip
03-26-08, 11:38 AM
Have you installed any other software ?
Seems you were able to change the TCP Window initially.

mccoffee
03-26-08, 11:46 AM
if you installed adaware ,or some other forms of anti-virus ,and or spywre removal check you settings since some of them could be block reg writes.

Jason456
03-26-08, 11:47 AM
Should I disable them before using the winsock fix?

Jason456
03-26-08, 12:00 PM
Have you installed any other software ?
Seems you were able to change the TCP Window initially.

The only time it does change is when I use the optimal settings in tcp optimizer, but it doesn't change when I do custom.
Sorry for the double post.

Philip
03-26-08, 03:50 PM
Hmm, not sure why.
Do the Optimal settings... Or dig into the registry and try to enter the value manually using regedit: http://www.speedguide.net/read_articles.php?id=157

Jason456
03-26-08, 04:26 PM
« SpeedGuide.net TCP Analyzer Results »
Tested on: 03.26.2008 16:25
IP address: 72.252.xxx.xxx

TCP options string: 020405700103030301010402
MSS: 1392
MTU: 1432
TCP Window: 513920 (NOT multiple of MSS)
RWIN Scaling: 3
Unscaled RWIN : 64240
Reccomended RWINs: 64032, 128064, 256128, 512256
BDP limit (200ms): 20557kbps (2570KBytes/s)
BDP limit (500ms): 8223kbps (1028KBytes/s)
MTU Discovery: OFF
TTL: 51
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

How do I change the MTU if thats necessary?

Philip
03-26-08, 04:44 PM
Seems some device (your modem or ISP) is limiting the MTU, it should've been changed by the Optimizer if it was possible.

Your first post indicates a better RWIN value for that MTU (multiple of MSS)... It is not the default "optimized" setting in the program.

What happens if you try to modify the RWIN value to 256128 or 512256 ?

Jason456
03-26-08, 05:28 PM
I'm able to change the rwin now since I reinstalled windows a while ago, but there aren't any noticeable differences when I use those two.

Philip
03-26-08, 08:08 PM
It would only be noticeable if the RWIN buffer gets filled... During large file transfers from a distant server with high latency. It is a better value theoretically.

With a 8Mbit connection you shouldn't use a value smaller than 256128, and you'll be ok.

Jason456
03-27-08, 01:39 PM
I'm just wondering, what speed should I be expecting in bittorrent with this connection? Because most of the time, I get between 280-500kbps, over 300 if I'm lucky.

trogers
03-27-08, 03:22 PM
I'm just wondering, what speed should I be expecting in bittorrent with this connection? Because most of the time, I get between 280-500kbps, over 300 if I'm lucky.

Note. Speed indicated in your Torrent Client is probably in kilobytes per second (KB/s). You should be getting 800-850 KB/s.

See this thread for tips to set limits in your Torrent Client:

http://forums.speedguide.net/showthread.php?t=222078&highlight=p2p

Jason456
03-27-08, 05:46 PM
Thats strange, I've only gotten 800 kB/s once. But 90% of the time, it's between 200 and 330. Could it be the settings in my client? I have 450 global connections, and 100 connected peers per torrent.

trogers
03-27-08, 06:16 PM
Thats strange, I've only gotten 800 kB/s once. But 90% of the time, it's between 200 and 330. Could it be the settings in my client? I have 450 global connections, and 100 connected peers per torrent.

Too many connections. A router usually can only support 64-128 simultaneous connections:

http://www.smallnetbuilder.com/component/option,com_chart/Itemid,189/chart,124/

You need to limit global no. of connections to less than 128 if you surf while running torrents. I set mine to 64 with per torrent set to auto.

Also, you need to limit global upload speed to about half of what your ISP gives you. Congesting the upload bandwidth will cause download speed to fall to the same speed as upload.

Jason456
03-27-08, 06:42 PM
So right now the limit is at 88 for upload, what do you suggest I should put it at? My maximum upload speed is 128 kB/s

trogers
03-27-08, 11:36 PM
So right now the limit is at 88 for upload, what do you suggest I should put it at? My maximum upload speed is 128 kB/s

Try adjusting the upload limit between 64-72 KB/s.