Best tweak settings for cablenut...

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
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Best tweak settings for cablenut...

Post by Freddy »

Hey...i need the best tweak settings for cablenut for a 1.5mb/1.5mb connection on a windows xp pro machine. My university (penn state) is my isp.

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

Post by mccoffee »

Take a tcip analyzer
Comptia a+ n+
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

TCP properties for IP = *.*.*.*
Browser/OS = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Notes: Read the Analyzer FAQ if the above is not your IP address.

TCP options string = 020405b40103030101010402
MTU = 1500
MTU is fully optimized for broadband.
MSS = 1460
Maximum useful data in each packet = 1460, which equals MSS.

Default Receive Window (RWIN) = 128480
RWIN Scaling (RFC1323) = 1 bits
Unscaled Receive Window = 64240

RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
513920 (MSS x 44 * scale factor of 8)
256960 (MSS x 44 * scale factor of 4)
64240 (MSS x 44)
bandwidth * delay product:

Your RcvWindow limits you to: 5139.2 kbps (642.4 KBytes/s) @ 200ms
Your RcvWindow limits you to: 2055.68 kbps (256.96 KBytes/s) @ 500ms
MTU Discovery (RFC1191) = ON
Time to live left = 53 hops

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

Precedence (priority) = 100 (flash override)
Delay = 1 (low delay)
Throughput = 0 (normal throughput)
Reliability = 1 (high reliability)
Cost = 0 (normal cost)
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

Try the following had to make sure your mtu was right


DefaultReceiveWindow =192000
DefaultSendWindow = 192000
DisableAddressSharing = 1
InitialLargeBufferCount = 100
InitialMediumBufferCount = 240
InitialSmallBufferCount = 320
LargeBufferSize = 819200
MaxFastTransmit = 64000
MediumBufferSize = 15040
PriorityBoost =0
SmallBufferSize =12800
TransmitWorker =32
FastSendDatagramThreshold =4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceive=0
GlobalMaxTcpWindowSize =37960
MaxFreeTcbs =8000
MaxHashTableSize =16384
MaxNormLookupMemory =5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts =0
TcpLogLevel =1
TcpMaxDupAcks = 3
TcpMaxHalfOpen = 100
TcpMaxHalfRetried =80
TcpRecvSegmentSize =1460
TcpSendSegmentSize = 1460
TcpTimedWaitDelay =30
TcpUseRFC1122UrgentPointer=0
TcpWindowSize = 37960
MaxConnectionsPer1_0Server=20
MaxConnectionsPerServer=10
DefaultTTL = 64
DisableUserTOSSetting =0
TcpMaxDataRetransmissions= 6
DefaultTOSValue=9:D
Comptia a+ n+
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

Hey all. I accidentily posted the wrong connection speed that I am trying to tweak. The actual speed of my connection is actually a T3 not a T1. So, what would be the optimal settings (whether cablenut or something else) and should I use cablenut, despite the fact that I use a T3?

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

Post by mccoffee »

Take the default send and recive window double it and put that in the new number 19200*2=3840:D
Comptia a+ n+
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

Now, my analyzer results are as follows:

TCP properties for IP = *.*.*.*()
Browser/OS = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Notes: Read the Analyzer FAQ if the above is not your IP address.

TCP options string = 020405b401010402
MTU = 1500
MTU is fully optimized for broadband.
MSS = 1460
Maximum useful data in each packet = 1460, which equals MSS.

Default Receive Window (RWIN) = 64240
RWIN Scaling (RFC1323) = 0 bits
Unscaled Receive Window = 64240

RWIN is a multiple of MSS
Other values for RWIN that might work well with your current MTU/MSS:
513920 (MSS x 44 * scale factor of 8)
256960 (MSS x 44 * scale factor of 4)
128480 (MSS x 44 * scale factor of 2)
bandwidth * delay product:

Your RcvWindow limits you to: 2569.6 kbps (321.2 KBytes/s) @ 200ms
Your RcvWindow limits you to: 1027.84 kbps (128.48 KBytes/s) @ 500ms
MTU Discovery (RFC1191) = ON
Time to live left = 53 hops

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

Precedence (priority) = 100 (flash override)
Delay = 1 (low delay)
Throughput = 0 (normal throughput)
Reliability = 1 (high reliability)
Cost = 0 (normal cost)




Should I be using cablenut despite the fact that I use a T3?
Also, before when my cable was tweaked well, I think i remember my cost being "low cost", reliabilty being "high reliability", throughput being "high throughput", delay being "low delay" and my precedence being much better than it is at the moment (I just don't remember what exactly it said). As a matter of fact, I think my current precedence ("flash override") could be a reason for my low performance.

Please help me. Thx.

-Freddy
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

Ok, i finally got my connection speed right. I am using my university's 10mbit connection.

I currently use cablenut and the main thing I want 2 know at this point is whether I should be using Speedguide's TCP/IP optimizer or cablenut, to tweak my connection?

Also, if possible, could some 1 suggest values for me to use for tweaking my connection?

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

Post by mccoffee »

Try the following try all 3 values one at at a time see what gives ur the best speed. Use cablenut Remeber if you are trying the other values the 12480 make sure tcp opts is set to 1 0 for the 64240.

if you are using windows 98/me i perfer optimizer.

DefaultReceiveWindow =1280000
DefaultSendWindow = 1280000
DisableAddressSharing = 1
InitialLargeBufferCount = 100
InitialMediumBufferCount = 240
InitialSmallBufferCount = 320
LargeBufferSize = 819200
MaxFastTransmit = 64000
MediumBufferSize = 15040
PriorityBoost =0
SmallBufferSize =12800
TransmitWorker =32
FastSendDatagramThreshold =4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceive=0
GlobalMaxTcpWindowSize =64240 or 116800 or 128480
MaxFreeTcbs =8000
MaxHashTableSize =16384
MaxNormLookupMemory =5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts =0
TcpLogLevel =1
TcpMaxDupAcks = 3
TcpMaxHalfOpen = 100
TcpMaxHalfRetried =80
TcpRecvSegmentSize =1460
TcpSendSegmentSize = 1460
TcpTimedWaitDelay =30
TcpUseRFC1122UrgentPointer=0
TcpWindowSize = 64240 or 116800 or 128480
MaxConnectionsPer1_0Server=20
MaxConnectionsPerServer=10
DefaultTTL = 64
DisableUserTOSSetting =0
TcpMaxDataRetransmissions= 6
DefaultTOSValue=90
Comptia a+ n+
User avatar
j79zlr
Regular Member
Posts: 242
Joined: Wed Apr 30, 2003 3:31 am

Post by j79zlr »

you should use this value for the DefaultReceiveWindow and DefaultSendWindow, 921600, that should never be over 1000000
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

j79zlr I was wondering that one i saw that but if the bandwith capp is the same up and down wouldn't u want the same value??
Comptia a+ n+
User avatar
j79zlr
Regular Member
Posts: 242
Joined: Wed Apr 30, 2003 3:31 am

Post by j79zlr »

yea, I meant that both should be changed to 921600, I don't exactly remember why it isn't supposed to be over a million, mno told me once.
Andrzej
Senior Member
Posts: 1107
Joined: Tue Mar 19, 2002 2:43 pm
Location: Poland

Post by Andrzej »

:D from above about RWIN values
... isn't supposed to be over a million ...
TOTALY disagree - above seems to be missunderstending hehehe
IMVHO hyperinterpretation of MASTER VOICE or Delphy's Orcle hehehe

but OTOH & BTW
RWIN values shoud be
not too close (slightly) above 65535 edge & it multiple
reduced speed effects are observed

lower values but (also vvvvv.)close to edge & it multiple are recomended
even if calculations were explained values slightly above edge & it multiple

:confused: BTW mccoffe why you reduce all (3 values) Initial Buffer to 50%
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

I have taken everything that has been presented into account and am now using 513920 (one of the suggested values from sg's analyzer) for both my DefaultReceiveWindow and DefaultSendWindow. Also, I am using 124100 for my GlobalMaxTcpWindowSize and TCPWindowSize (I have determined 100ms to be my highest anticip. latency). Lastly, I am using 1 for TCP1323Opts.

Thx everyone for your contribution :)

-Freddy
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

Sry, i meant to say that I am using 1280000 for both defaultsendwindow and defaultreceivewindow, 513920 for both my globalmaxtcpwindowsize and tcpwindowzize, and 1 for tcp1323opts.

-Fred
User avatar
j79zlr
Regular Member
Posts: 242
Joined: Wed Apr 30, 2003 3:31 am

Post by j79zlr »

Originally posted by Andrzej
:D from above about RWIN values
... isn't supposed to be over a million ...
TOTALY disagree - above seems to be missunderstending hehehe
IMVHO hyperinterpretation of MASTER VOICE or Delphy's Orcle hehehe

but OTOH & BTW
RWIN values shoud be
not too close (slightly) above 65535 edge & it multiple
reduced speed effects are observed

lower values but (also vvvvv.)close to edge & it multiple are recomended
even if calculations were explained values slightly above edge & it multiple

:confused: BTW mccoffe why you reduce all (3 values) Initial Buffer to 50%


DefaultReceiveWindow and DefaultSendWindow to 921600
These are AFD parameters, not RWINs.

I never mentioned TcpWindowSize or GlobalMaxTcpWindowSize ;)
Andrzej
Senior Member
Posts: 1107
Joined: Tue Mar 19, 2002 2:43 pm
Location: Poland

Post by Andrzej »

:D j79zlr agree - sorry

it were not cached by me
was read too fast (for me) hehehe
so was my missreading
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

Hi Freddy the thing that you must remember is that the University has a T3 line, not you. A T3 is 45Mbits but is split over the entire campus, so you won't see those speeds. Also your speeds are going to vary greatly at times because it is all dependant on how many students are using the internet at any given time, which is most likely very often. I would suggest deleting all the CableNut settings for the time being and testing your speed a different times of the day to get an average of your bandwidth. Then post back with what you are averaging so we can configure things on that, also find your max anticipated latency by following the instructions in my help & tips link.

Another VERY important thing to have is an excellent firewall since a college campus is an easy target for hackers on your LAN. I would suggest using Sygate.

:) :D
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

The connection speed is 10mbits/sec.
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

OK I'll explain again. The University has a T3 LAN, for the entire university. It is split throughout the whole campus, you do not have a 10Mbps connection, if you did then you personally would have about a fourth of the entire University's bandwidth.
User avatar
Maxxi
Regular Member
Posts: 110
Joined: Sat Oct 13, 2001 8:50 pm
Location: The Big Apple

Post by Maxxi »

All in a day’s work mnosteele52, isn't it?... I am glad you've kept your cool. I will not even throw in my two cents - could only cause extra unnecessary confusion. Regards to all,
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

Thx every1, for your contribution(s) :)

-Fredster
Freddy
Regular Member
Posts: 133
Joined: Sat Jul 20, 2002 8:15 am
Location: USA

Post by Freddy »

Originally posted by mnosteele52
Hi Freddy the thing that you must remember is that the University has a T3 line, not you. A T3 is 45Mbits but is split over the entire campus, so you won't see those speeds. Also your speeds are going to vary greatly at times because it is all dependant on how many students are using the internet at any given time, which is most likely very often. I would suggest deleting all the CableNut settings for the time being and testing your speed a different times of the day to get an average of your bandwidth. Then post back with what you are averaging so we can configure things on that, also find your max anticipated latency by following the instructions in my help & tips link.

Another VERY important thing to have is an excellent firewall since a college campus is an easy target for hackers on your LAN. I would suggest using Sygate.

:) :D


I don't mean the following question as a counter-question but take it rather as a regular question: Why should I test my speeds (to use for furthers proceedings in helping tweak my connection) now (when it is untweaked or when erasing all cablenut values) when my connection isn't tweaked in the 1rst place? I feel that I would be getting values that wouldn't be accurate for correct assistance. BTW, thx alot for suggesting sysgate (it's very nice). Lastly, I took my speeds at around 3:00 a.m. (the time that I believe that the lightest traffic is present) and got a speed result of around 1000 kb/s (up and down). One more thing: my ant. max. latency is 100ms.

-Freddy
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

OK if you are averaging those speeds and latency try the following settings:

DefaultReceiveWindow = 192000
DefaultSendWindow = 192000
DisableAddressSharing = 1
InitialLargeBufferCount = 200
InitialMediumBufferCount = 480
InitialSmallBufferCount = 640
LargeBufferSize = 819200
MaxFastTransmit = 64000
MediumBufferSize = 150400
PriorityBoost = 0
SmallBufferSize = 12800
TransmitWorker = 32
FastSendDatagramThreshold = 4096
EnableFastRouteLookup = 1
EnablePMTUDiscovery = 1
IgnorePushBitsOnReceive = 0
GlobalMaxTcpWindowSize = 32120
MaxFreeTcbs = 8000
MaxHashTableSize = 16384
MaxNormLookupMemory = 5000000
SackOpts = 1
SynAttackProtect = 1
Tcp1323Opts = 0
TcpLogLevel = 1
TcpMaxDupAcks = 3
TcpMaxHalfOpen = 100
TcpMaxHalfRetried = 80
TcpRecvSegmentSize = 1460
TcpSendSegmentSize = 1460
TcpTimedWaitDelay = 30
TcpUseRFC1122UrgentPointer = 0
TcpWindowSize = 32120
MaxConnectionsPer1_0Server = 20
MaxConnectionsPerServer = 10
DefaultTTL = 64
DisableUserTOSSetting = 0
TcpMaxDataRetransmissions = 6
DefaultTOSValue = 90

:D :cool:
Post Reply