Page 1 of 1
Calling all experts. Help my settings please.
Posted: Sun Sep 01, 2002 5:17 pm
by G|-|oST
I am on a fiber-optic connection. The service provider is Novus.
http://www.novus-tele.net The claimed speeds are up to 10mBps. I am running Windows XP Pro (freshly re-installed, all reg settings default). The speed is great as it is, however I am sure that there must be more optimal settings that I could use.
Would any experts please make some suggestions of what cablenut settings I should try?
Thanks in advance.
Posted: Sun Sep 01, 2002 6:05 pm
by mnosteele52
Try the following in Cablenut:
DefaultReceiveWindow = 1280000
DefaultSendWindow = 128000
DisableAddressSharing = 1
InitialLargeBufferCount = 100
InitialMediumBufferCount = 240
InitialSmallBufferCount = 320
LargeBufferSize = 81920
MaxFastTransmit = 64000
MediumBufferSize = 15040
PriorityBoost = 0
SmallBufferSize = 1280
TransmitWorker = 32
FastSendDatagramThreshold = 4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceive = 0
GlobalMaxTcpWindowSize = 256960
MaxFreeTcbs = 8000
MaxHashTableSize = 16384
MaxNormLookupMemory = 5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts = 1
TcpLogLevel = 1
TcpMaxDupAcks = 2
TcpMaxHalfOpen = 100
TcpMaxHalfRetried = 80
TcpRecvSegmentSize = 1460
TcpSendSegmentSize = 1460
TcpTimedWaitDelay = 30
TcpUseRFC1122UrgentPointer = 0
TcpWindowSize = 256960
MaxConnectionsPer1_0Server = 20
MaxConnectionsPerServer = 10
DefaultTTL = 64
DisableUserTOSSetting = 0
TcpMaxDataRetransmissions = 6
DefaultTOSValue = 92
Also add the following line to your registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters
BufferMultiplier - DWORD - hexidecimal value of 400.

Posted: Mon Sep 02, 2002 12:37 am
by G|-|oST
Thanks for the fast reply...
BUT
I tried that and saw a dramatic decrease in speeds. And I don't mean the BS online speed test sites. I use a fast server
http://www.microsoft.com/downloads/rele ... Vulnerabil and download the direct x from there (129megs) to see what kind of stable speed I can get.
With default settings I see consistent 700-800 KB/sec, with the settings you provided it dropped to around 300 or below. I reset back to default and speed came back.
What could be the problem? I have trouble believing that default Windows settings could be optimal for anything (we are talking about Microshaft here :-)
Any ideas?
Thanks again.
Posted: Mon Sep 02, 2002 1:15 am
by mccoffee
What could be the problem? I have trouble believing that default Windows settings could be optimal for anything (we are talking about Microshaft here :-)
we had this debate before on here microshaft 2k/xp are self tunning to that internet connection yes it's possible to see the best resaults on defaults. I do think however in cablenut the default send tweak and the other afd settings do help also you might wanna try if you haven't already the dns tweak
http://www.speedguide.net it's under more 2k/xp tweaks.
Posted: Mon Sep 02, 2002 1:20 am
by mccoffee
one other thing the tweaking all depneds on how u use the connection for example i have a file server off of mirc i had to tweak to reach my send cap and also download faster. I reach my send cap ever time and also download for that mater.
With rwins if anyone wants to jump in add two cents go ahead.
I know with peer to peer apps I had to use higher rwins to get the best resaults.
Gamers seem to like the lower rwins (correct me if anyone is a gamer and if I'm wrong)
So it all varies.
Posted: Mon Sep 02, 2002 9:28 am
by mnosteele52
G|-|oST try the following since the default settings work the best:
DefaultReceiveWindow = 384000
DefaultSendWindow = 32768
DisableAddressSharing = 1
InitialLargeBufferCount = 100
InitialMediumBufferCount = 240
InitialSmallBufferCount = 320
LargeBufferSize = 81920
MaxFastTransmit = 64000
MediumBufferSize = 15040
PriorityBoost = 0
SmallBufferSize = 1280
TransmitWorker = 32
FastSendDatagramThreshold = 4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceive = 0
GlobalMaxTcpWindowSize = 64240
MaxFreeTcbs = 8000
MaxHashTableSize = 16384
MaxNormLookupMemory = 5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts = 0
TcpLogLevel = 1
TcpMaxDupAcks = 2
TcpMaxHalfOpen = 100
TcpMaxHalfRetried = 80
TcpRecvSegmentSize = 1460
TcpSendSegmentSize = 1460
TcpTimedWaitDelay = 30
TcpUseRFC1122UrgentPointer = 0
TcpWindowSize = 64240
MaxConnectionsPer1_0Server = 20
MaxConnectionsPerServer = 10
DefaultTTL = 64
DisableUserTOSSetting = 0
TcpMaxDataRetransmissions = 6
DefaultTOSValue = 92

Posted: Mon Sep 02, 2002 3:28 pm
by G|-|oST
Mnosteele
Thanks again - the new settings are much better than before, however the speed still drops but this time only by about 100KB/sec on a 22 meg download from a local Tucows mirror.
What I noticed is that with the default settings the speeds hit much higher 'peaks' and the resulting average speed is still higher, but with your new settings the speed is more even, but overall a bit slower. I guess ideally it would be great to keep the low speed fluctuation, but do it at those higher speeds I am seeing with default. I think we are almost there though.
I also saw a discussion thread elsewhere about how winXP changes some of the settings depending on the type of connection and thats why it is possible for 'default' to be best in some situations. Do you know if that is true?
Anyways thanks again, I am still hoping that tweaking will prevail over 'default'
G|-|oST
Posted: Mon Sep 02, 2002 3:38 pm
by mnosteele52
Yes 2K & XP have a self-tuning TCP/IP stack. The highest TcpWindowSize they will use is 64240 unless you enable Windows scaling (set Tcp1323Opts to1). Since your connection is so fast I gave you 64240 as the set value, you might try and remove all the TCP/IP values in Cablenut and just set the AFD ones, that way it will self-tune itself. Try leaving the following boxes blank (but first save your current settings in case you want to go back to them - select file - save custom settings file).
EnablePMTUDiscovery
GlobalMaxTcpWindowSize
MaxFreeTcbs
MaxHashTableSize
MaxNormLookupMemory
SackOpts
SynAttackProtect
Tcp1323Opts
TcpLogLevel
TcpMaxDupAcks
TcpMaxHalfOpen
TcpMaxHalfRetried
TcpRecvSegmentSize
TcpSendSegmentSize
TcpTimedWaitDelay
TcpUseRFC1122UrgentPointer
TcpWindowSize
DefaultTTL
TcpMaxDataRetransmissions

Posted: Mon Sep 02, 2002 4:59 pm
by G|-|oST
3rd time a charm or whatever the saying is.... Finally! More stable, more speed.
I re-tried all the settings again and this final one gives me 764KB/sec vs default 653 on the same local tucows mirror. The speed is very stable, and its actually faster. I knew it could be done.
Thanks a lot mnosteele, you are a genius. I don't know how you ake any sense out of all those numbers, but I can see that you know what you are doing.
Thanks again.
Posted: Mon Sep 02, 2002 5:16 pm
by mnosteele52
GREAT

, glad to see things are working better, as long as you are stisfied with it..... that's what matters.
