New DSL Service - Forum Advice Needed

Get help and discuss anything related to tweaking your internet connection, as well as the different tools and registry patches on the site. TCP Optimizer settings and Analyzer results should be posted here.
Post Reply
torataka
Member
Posts: 21
Joined: Fri Dec 28, 2001 4:06 am
Location: Japan

New DSL Service - Forum Advice Needed

Post by torataka »

All,

I live in Japan and recently subscribed to a 24MB ADSL service through NTT Flet. Unfortunately, I'm 3.5km from the telco switching point and have old wiring, so I'll never come close to my max speeds; however, respectfully solicit the forum's advice in optimizing it as much as possible.

I'm using WINXP PPPoE. NTT's MTU is 1454, so I can't change that. Here are my SpeakEasy Speed test and TCP Analyzer result's, as well as my current cable nut settings. Any help would be very much appreciated!

Thanks in advance,

torataka

Speed Test
2003-10-31 19:06:04 EST: 939 / 490
Your download speed : 939251 bps, or 939 kbps.
A 114.6 KB/sec transfer rate.
Your upload speed : 490396 bps, or 490 kbps.

Anaylyzer Results
TCP options string = 020405860103030401010402
MTU = 1454
MTU is not fully optimized for broadband. Consider increasing your MTU to 1500 for better throughput.
MSS = 1414
MSS is not fully optimized for broadband (although it might work well for slower connections). Consider increasing your MTU value.

Default Receive Window (RWIN) = 749408
RWIN Scaling (RFC1323) = 4 bits (scale factor of 8)
Unscaled Receive Window = 46838

For optimum performance, consider changing RWIN to a multiple of MSS.
Other values for RWIN that might work well with your current MTU/MSS:
520352 (MSS x 46 * scale factor of 8)
260176 (MSS x 46 * scale factor of 4)
130088 (MSS x 46 * scale factor of 2)
65044 (MSS x 46)
bandwidth * delay product:

Your RcvWindow limits you to: 29976.32 kbps (3747.04 KBytes/s) @ 200ms
Your RcvWindow limits you to: 11990.528 kbps (1498.816 KBytes/s) @ 500ms
MTU Discovery (RFC1191) = ON
Time to live left = 49 hops

TTL value is ok.
Timestamps (RFC1323) = OFF
Selective Acknowledgements (RFC2018) = ON
IP type of service field (RFC1349) = 00000000

CableNut Settings
DefaultReceiveWindow = 96152
DefaultSendWindow = 4096
DisableAddressSharing = 1
InitialLargeBufferCount = 200
InitialMediumBufferCount = 480
InitialSmallBufferCount = 640
LargeBufferSize = 819200
MaxFastTransmit = 64000
MediumBufferSize = 150400
Priority Boost = 0
SmallBufferSize = 12800
TransmitWorker = 32
FastSendDatagramThreshhold = 4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceives = 0
GlobalMaxTcpWindowSize = 749420
MaxFreeTcbs = 8000
MaxHashTableSize = 16384
MaxNormLookupMemory = 5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts = 1
TcpLogLevel = 1
TcpMaxDupAttacks = 3
TcpMaxHalfOpen = 100
TcpMaxHalfOpenRetired = 80
TcpRecvSegmentSize = 1414
TcpSendSegmentSize = 1414
TcpTimedWaitDelay = 30
TcpUseRFC1122UrgentPointer = 0
TcpWindowSize = 749420
MaxConnectionsPer1_0Server = 20
MaxConnectionsPerServer = 10
DefaultTimeToLive = 64
DefaultUserTOSSetting = 0
TcpMaxDataRetransmissions = 6
DefaultTOSValue = 240
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

What ppoe software do you use?? I see you are using xp's client sorry about that try this XP PPPoE MTU Fix - If you are using XP's PPPoE software.

1) Download this file http://www.carricksolutions.com/XP_MTU.reg
2) Right click the file and choose "Merge"
3) Click "Yes"
4) Go to "Start" -> Click on "Run" -> Type in "Regedit32.exe" -> Click "OK"
5) Go to this Reg Key "[HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\ Services\NdisWan\ Parameters\Protocols\0]"
6) Double click on "Protocol MTU"
7) Click on "Decimal" -> Enter your desired value (I.E.: Anything less then 1480.) Use 1480
8) Click "OK"
Comptia a+ n+
torataka
Member
Posts: 21
Joined: Fri Dec 28, 2001 4:06 am
Location: Japan

Post by torataka »

NTT Flet ADSL is stuck at 1454, I can't change that. It's something I have to live with, which is why my MSS is 1414.

Thanks for the help, any other suggestions to optimize my settings?
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

Lower you global max tcp recive window size and tcp receive window size to 6338 and put tcp opts123 to 0

Ur rwin is way way to high lower it.
Comptia a+ n+
torataka
Member
Posts: 21
Joined: Fri Dec 28, 2001 4:06 am
Location: Japan

Post by torataka »

Thanks for the suggestion once again, mccoffee. But, I tried it and my speeds dropped from around 250 KB/sec to 100 or a bit less.

FYI, I'm using ATI's driver download page as my realworld benchmark for all my testing...seems to be the most suitable for my use.

I'm ready for more suggestions...all it takes is time which I'm willing to spend!

Thanks again,

torataka
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

Try turning the modem off wait a second and turn it back on Also make sure your network card is in 100 full duplex

Change default send and recive window to 921600

Open Control Panel.
* Double-click Network and Dial-up Connections.
* Identify the icon for your cable modem connection: usually Local Area Connection.
* Right-click that icon and select Properties.
* Under the ethernet adapter icon, click the button Configure.
* Click the tab Advanced to bring it to the front:
* In the Property box, the property name to be selected varies according to model of ethernet card. Examples are: Network Link Selection, Media Type, Connection Type, Duplex Mode, or any similarly-named property which can have Values looking like Auto-Negotiation, or 10BT, or 10BaseT.
* In the Value box, select a value which either (a) explicitly says 100 full-duplex
* Click OK to exit the Adapter settings.
* Click OK to exit the Connection properties.
Comptia a+ n+
torataka
Member
Posts: 21
Joined: Fri Dec 28, 2001 4:06 am
Location: Japan

Post by torataka »

Thanks, mccoffe. That one seemed to give me an initial higher download rate, then it cruised back down to the 250 KB/sec range. But, at the start, it was going faster than I've seen thus far. Anyway to maintain those initial speeds?

FYI, here's a couple of Speakeasy results with this new setting:

2003-11-01 02:51:17 EST: 866 / 509
Your download speed : 866530 bps, or 866 kbps.
A 105.7 KB/sec transfer rate.
Your upload speed : 509294 bps, or 509 kbps.

2003-11-01 02:54:17 EST: 945 / 512
Your download speed : 945772 bps, or 945 kbps.
A 115.4 KB/sec transfer rate.
Your upload speed : 512032 bps, or 512 kbps

This is with a default send/receive window of 921600, and a GlobalMax/TCPWindowSize of 749420. TCO123Opts=1. Are there any other settings you want me to try?

This is good stuff, thanks once again for your help.
User avatar
j79zlr
Regular Member
Posts: 242
Joined: Wed Apr 30, 2003 3:31 am

Post by j79zlr »

Try using these cablenut setting, you shouldn't have your receive window that large regardless of the connection, btw your upload is 1Mbps, with possible maximum download of 25Mbps, your download is not nearly tat, if we can't get your dl speeds up, your setting should be adjusted. I would try and call your ISP to see what speed your are actually synced up at the CO at.

DefaultReceiveWindow = 921600
DefaultSendWindow = 128000
DisableAddressSharing = 1
InitialLargeBufferCount = 200
InitialMediumBufferCount = 480
InitialSmallBufferCount = 640
LargeBufferSize = 819200
MaxFastTransmit = 64000
MediumBufferSize = 150400
Priority Boost = 0
SmallBufferSize = 12800
TransmitWorker = 32
FastSendDatagramThreshhold = 4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceives = 0
GlobalMaxTcpWindowSize = 127260
MaxFreeTcbs = 8000
MaxHashTableSize = 16384
MaxNormLookupMemory = 5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts = 1
TcpLogLevel = 1
TcpMaxDupAttacks = 3
TcpMaxHalfOpen = 100
TcpMaxHalfOpenRetired = 80
TcpRecvSegmentSize = 1414
TcpSendSegmentSize = 1414
TcpTimedWaitDelay = 30
TcpUseRFC1122UrgentPointer = 0
TcpWindowSize = 127260
MaxConnectionsPer1_0Server = 20
MaxConnectionsPerServer = 10
DefaultTimeToLive = 64
DefaultUserTOSSetting = 0
TcpMaxDataRetransmissions = 6
DefaultTOSValue = 240
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

I'm glad u steped in jl I wasn't sure what to recomend as for cablenut goes.
Comptia a+ n+
torataka
Member
Posts: 21
Joined: Fri Dec 28, 2001 4:06 am
Location: Japan

Post by torataka »

Thanks j79zlr, those settings gave me about 10 kb/sec better end-of-download speed on my realworld ATI test at about 260 kb/sec; however, the two speakeasy tests I took gave me a 90 and 80 kb/sec result, which seems a bit flakey. But, the best I've gotten thus far by a slim margin, looking forward to trying more settings if you have more to offer.

Thanks to all, I appreciate the assistance!

torataka
Andrzej
Senior Member
Posts: 1107
Joined: Tue Mar 19, 2002 2:43 pm
Location: Poland

Post by Andrzej »

:D Thanks j79zlr good job
:) torataka : so ALL your threads again was read by me. OK
... Japan ; 24MB ADSL service through NTT Flet.
3.5km from the telco switching point and have old wiring,
WINXP PPPoE. NTT's MTU is 1454
...
RE yours : ... Thanks j79zlr, those settings gave me about 10 kb/sec
better end-of-download speed on my realworld ATI test at about 260 kb/sec;
however, the two speakeasy tests I took gave me a 90 and 80 kb/sec result,
which seems a bit flakey.
But, the best I've gotten thus far by a slim margin,
looking forward to trying more settings if you have more to offer
...

IMVHO for determination of your optimal CN setting use local (domestic) dwl tests
recomended & optimal - in yours ISP
also test your MAL = Maximum Anticipated Latency
but to mentioned local (domestic) dwl tests
pay attention
that for DSL (not for Cable) ping test results are much smaler MAL value
mnosteele52
PLEASEread http://forums.speedguide.net/showthread ... did=113043 MAL


IMO any oversees tests (cross the Ocean) are NOT recomended
for determination CN settings
your Pacific gate added many ms to your pings (often not fixed)
in my case Atlantic gate (Frankfurt in Germany ~1500 km from Warsaw)
add from 80ms to 120ms to evry cross Atlantic connection


:D hierarchy of importance for internet connections:
can explain why speed results are so diferent than CAPS

+++++the most important your CAPS (in kbps) latency (in ms)
ISP: cable or adsl depends on local both ability & quality
cable problems "bad packets" can slow down speed (packet lost)
NEW dedicated ONLY adsl line is recomended (as mine)
+++ signal interference protections are important for both wired or wireless
for wireless also encoding
+++++ OS win: 2k; xp; 2k+3 are recomended (& equal)
++ up to ram512MB is worth the price (PageFile usage)
but still memory management prg is recomended in ALL winOS
+++++ very fast, modern, big data cache HDD (eg PageFile usage) is recomended
- CPU > 1000MHz (eg resources) is not such important for surfing
+++ important is good NIC (network internal card) on PCI FastEthernet card
----- it means that any USBmodem is NOT recomended
+ no special recomendations for xdsl | cable broadband modems
so use recomended by your ISP (but for shure not USB)

OTOH acctualy on market realy Broadband Internet Gateway = all in one
it means: modem&router&switch (& wireless access point) = 3(4) in one

+ good router for home proposal is recomended = ask for recomendation:
nice; small; sillent; economic; ready for use & unattendable; relatively cheap
hdw firewall = self protection;
hdw PPPoE|A client = the best PPPoE client (better than sfw access manager also OS);
build-in switch can share connection LAN network (can slow down)
OTOH in a few cases router can slow down conection
due to: "bad packets" | big intrinsic lag | each additional PC logging added lag

+++++Importance of cleaning & defragmentation both:
OS (eg resources) & hdd (eg PageFile usage)
but also
IMVHO in win 2k; xp; 2k+3 TCP/IP tweaking is not such important
as for w95.98.se.me - are recomended
Post Reply