PLEASE Read!!!

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.
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

PLEASE Read!!!

Post by mnosteele52 »

I've been doing ALOT of testing and research lately on how to find the "perfect" RWIN for one's connection and so far I'm a bit surprised myself at the results. We all come here to get the absolute most from our connections right? That is why I'm asking for input from the members here. I would GREATLY appreciate it if everyone here could try the following and let me know what their results are. The 4 things I need are:

1. Your ISP, their caps and type of connection.

2. Your maximum anticipated latency.

3. RWIN that you found with the formula.

4. Did your speed improve?

Here is what I want you to do to fing your perfect RWIN.

1. Find your maximum anticipated latency, to do so download one of the following files from these FTP servers:

ftp://ftp.newaol.com/aol6.0/179902/setupaol60.exe

ftp://ftp1.optonline.net/pub/test64

While the file is downloading you need to run a tracert to a few websites of your choice. Write down the highest number you get with every tracert. Do this test about 5 times and drop the highest latency you get and the lowest latency you get and average the other 3. This number will be your maximum anticipated latency. Now use the following formula to find your optimum RWIN.

To calculate RWIN use the following:

(Maxium Bandwidth * Maxium Anticipated Latency) / 8

Example of my results with a 3000 download cap with an Anticipated Latency of 100 ms:

(3000 x 100) / 8 = 37500 To make it a multipule of MSS divide by 1460:

37500 / 1460 = 25.68 Then round to the nearest even whole number:

26 x 1460 = 37960 is my "perfect" RWIN

I was suprised at the results and I can honestly say that my speed is faster than ever.

Now for the testing to see if there is any improvement, do multiple (5 tests or more clearing your temporary internet files after each test) from Speakeasy's servers here http://speakeasy.net/main.php?page=sup_pops the reason I suggest using Speakeasy is because it's the same test everywhere. I want you to test at different locations across the US, not just the closest server to you and record the results.

It has always been suggested to test at the server closest to you, but that is really an inaccurate way to test since we all surf the internet all over the world and download files from servers everywhere including file sharing apps. It can't be as accurate if the test is very close to you and doesn't have many hops (servers) to go through to get to you.

You can use the TCPOptimizer or CableNut to put in your RWIN, just remember that with the TCPOptimizer the value goes in the box TCP ReceiveWindow and CableNut for 2K & XP it will go in GlobalMaxTcpWindowSize & TcpWindowSize and 98 & ME it will go in DefaultRcvWindow & GlobalMaxTcpWindoSize.

What I have found out so far is this:

I tested the following RWINs on my connection:

17520, 32120, 64240, 128480, 256960, 513920

Here is what I found:

17520 - slowest overall
32120-64240 - fastest and most stable overall
128480-256960 - fast on close servers but much slower on distant servers
513920 - slowest overall with all tests

What I am finding is that a very large RWIN is good for geographically close servers that have very few servers to pass through to get to which would be a much less chance for dropped packets and retransmitted packets, but on distant tests the larger values were the worst since there were multiple servers to pass through and thereby greatly increased the chance for dropped packets and retransmissions thereby noticeably decreased my bandwidth.

The moderate values were by far the best overall due the the fact that they decreased the chances for dropped packets and retransmissions. As I showed above the value that I found to work the best for me using the formual above was 37960 and I can honestly say my conneciton has never been faster.

If you have any questions about what to do please PM me or just add to this thread and please post your results. Maybe we can all have faster connections if this is followed?

:) :D :cool:

P.S. This is not intended to prove anyone wrong or right, it's to help everyone get the most from their connections. :)
User avatar
person
Member
Posts: 96
Joined: Mon Mar 31, 2003 5:48 pm
Location: Pittsburgh, PA

Post by person »

I am so confused
I want a better computer!
Andrzej
Senior Member
Posts: 1107
Joined: Tue Mar 19, 2002 2:43 pm
Location: Poland

Post by Andrzej »

:D above for domestic...
& what with remaining ?
User avatar
polishmafia4u
Regular Member
Posts: 353
Joined: Mon Aug 26, 2002 6:20 pm
Location: CA

Re: PLEASE Read!!!

Post by polishmafia4u »

i can second the 37960 value. thats what i am using and im at my fastest yet.
edit: the edit i made was deleting the quote cuase i realized it was too long and probably annoing you guys
User avatar
DREK
Member
Posts: 79
Joined: Sun Jan 26, 2003 8:37 am

Post by DREK »

How I can do this?
«you need to run a tracert to a few websites of your choice»..
Please.... I'm european from Portugal.. :(
Welcome to my world!
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

To run a tracert read here.

:D :cool:
User avatar
Cypher
Posts: 2717
Joined: Tue Jul 02, 2002 12:00 pm
Location: Returning video tapes

Post by Cypher »

I'm on it as soon as I get back on my XP rig Steele. ;)
Andrzej
Senior Member
Posts: 1107
Joined: Tue Mar 19, 2002 2:43 pm
Location: Poland

Post by Andrzej »

mnosteele52 To run a tracert read here.
:D
or w98SE
use notepad >new
c:\windows\tracert.exe dslnuts.com >c:\tracert.txt
c:\windows\notepad.exe c:\tracert.txt

save as tracert.bat in c:\
made tracert.pif to file tracert.bat
in tracert.pif proper. check close window after run

IMVHO to find maximum anticipated latency
during dwl from mentioned
ftp://ftp.newaol.com/aol6.0/179902/setupaol60.exe
or
ftp://ftp1.optonline.net/pub/test64 dwl

run tracert.pif
after runing you can see each result in opened notepad (easy to copy)

can do several tests during one dwl hehehe
mentioned maximum anticipated latency aver. from 5 results
User avatar
Cypher
Posts: 2717
Joined: Tue Jul 02, 2002 12:00 pm
Location: Returning video tapes

Hey Steele

Post by Cypher »

I did a few test for you .
Here I found my average on an FTP while running several tracerts for my latency and used the RWIN calculator on dslnuts:
Bandwidth=183.
latency=100ms.
RWIN=117520.
Here I used your formula:
1800 x 100 /8 =22500/1460=~15 x 1460=21900.
So in CN do I enter this value in the DefaultRecieveWindow field?
Also does this effect the value I enter into the GlobalMaxTcpWindowSize and TcpWindowSize (which are currently at 64240)?
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

I have been using as Default Recieve Window and Default Send Window the same number,use upload
CAP, mine is 384, divided by 8 is 48, multiply that by 1024= 49152, that is my Default Send Window and RWIN
:)
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

cyPHer_138 if your caps are 1800 and your maximum latency was 100ms then here is what you should come out with:

1800 x 100 / 8 = 22500

22500 / 1460 = 15.4 (round up to the nearest even number - 16)

16 x 1460 = 23360

Put that number in CableNut under GlobalMaxTcpWindowSize & TcpWindowSize and see how it works for you.

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

Post by mnosteele52 »

Originally posted by Lobo
I have been using as Default Recieve Window and Default Send Window the same number,use upload
CAP, mine is 384, divided by 8 is 48, multiply that by 1024= 49152, that is my Default Send Window and RWIN
:)


This has nothing to do with AFD values, only TCP/IP values. As I stated above, in CableNut RWIN = GlobalMaxTcpWindowSize & TcpWindowSize NOT DefaultReceiveWindow.

:)
User avatar
Cypher
Posts: 2717
Joined: Tue Jul 02, 2002 12:00 pm
Location: Returning video tapes

Post by Cypher »

Thanks Steele. :D Now if I could just figure out how you come up with the rest of those values for CN, I'll trully understand your super power at last. :D Hey, how is the DefaultRecieveWindow determined?
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

Here try these settings in CableNut, there are a few changes I have been working on.

DefaultReceiveWindow = 230400
DefaultSendWindow = 16384
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 = 23360
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 = 23360
MaxConnectionsPer1_0Server = 20
MaxConnectionsPerServer = 10
DefaultTTL = 64
DisableUserTOSSetting = 0
TcpMaxDataRetransmissions = 6
DefaultTOSValue = 90

If your upload is 128 use the above if it's 256 then use 32768. Let me know how these work for you.


:D :cool:
User avatar
Cypher
Posts: 2717
Joined: Tue Jul 02, 2002 12:00 pm
Location: Returning video tapes

Post by Cypher »

Thanks Steele :D I'll keep you posted.
User avatar
hayc59
Posts: 2355
Joined: Fri Jul 20, 2001 12:00 pm
Location: LSD melts in your mind, not in your hand.

Post by hayc59 »

hey, working great so far!! thanks Man-o-Steele
you da greatest!!! :D
ãrê ¥Øu êxpêriêncêD
goldeneye_bill
Regular Member
Posts: 218
Joined: Tue Apr 09, 2002 11:02 pm
Location: Jacksonville

Post by goldeneye_bill »

He definitely knows what he's doing...
"Impersonators are people who have no personality themselves"
User avatar
Lobo
SG VIP
Posts: 17660
Joined: Thu Nov 23, 2000 2:32 pm
Location: Panama City, FL and a FAN of Dale Earnhardt Jr. Bud Chevy & NASCAR , and the Atlanta Braves

Post by Lobo »

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

Post by mnosteele52 »

Lobo stop spamming my thread, if you aren't going to give any input or ask a question then don't post. I'm tired of your useless posts, I don't care about them and neither does anyone else. :rolleyes: :rolleyes:
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

Come on guys, over 200 reads and only 19 replies? I need some input, this info:

1. Your ISP, their caps and type of connection.

2. Your maximum anticipated latency.

3. RWIN that you found with the formula.

4. Did your speed improve?

Thanks in advance. :D :cool:
User avatar
TeenInternetAddict
Regular Member
Posts: 245
Joined: Sat Nov 25, 2000 12:00 am
Location: Topeka, Kansas

Post by TeenInternetAddict »

1. SBC Yahoo!, 384/128, ADSL(I'm about to downgrade from 1500/128 to 384/128 because all I do is browse the net, email, chat, and download Mp3s from Kazaa Lite).

2. 200ms

3. I find the rwin of 8760 to work for me on a 384/128 ADSL.

4. Yes, my speeds improve:

2003-04-28 11:28:04 EST: 323 / 138
Your download speed : 323239 bps, or 323 kbps.
A 39.4 KB/sec transfer rate.
Your upload speed : 138002 bps, or 138 kbps.


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

Post by mccoffee »

superman check pm i gotta send you something
I sent you a pm superman If i did it right

rwin is 19396

Speed 1290/240 no big change there

I forgot what atticapted latency was i did that one last night

Also correct me if i'm wrong i was already at 90% of capp no matter what i did how would that apply just wondered???
Also on max latency mine is higher then all thease guys why is that i'm on dsl if i'm not mistaken dsl is lower latency or is that due to the load. I"m lost as stevie wonder in woods while drunk.

__________________
Comptia a+ n+
User avatar
Cypher
Posts: 2717
Joined: Tue Jul 02, 2002 12:00 pm
Location: Returning video tapes

Post by Cypher »

The settings are working great on my XP and 98 rig. I'm seeing an average FTP D/L increase of 20Kbs easy. :D
Lets go here people! Everyone is quick to ask for tweak help and gets it here so let's give a little back. Don't be affraid to learn something new, you can do it. ;) Good read there Lobo. What results are you getting form what Steele asked us to do?
User avatar
polishmafia4u
Regular Member
Posts: 353
Joined: Mon Aug 26, 2002 6:20 pm
Location: CA

Post by polishmafia4u »

have you settings. was running at a constant 4000kbps but lowered a lot today. was running at 2500 for most of the day and now at 3000 about. gonna see if thost first tests were just luck or wether the value i have is effected by different things. more tests to come will post back...

edit: ok i cant get this latency thing to work. i visited the website and tried to type in c:\>tracert dslnuts.com but i just got an error that said it cant find the file. suggestions mnosteele?? oh yeah and running at about 2300-2500 mbits with 37960 as the rwin
Comp 1: 1.4 Ghz P4, 128 MB RDRAM, Rage ATI 16 mB video card, XP Pro, Cox HSI 3000/256
Comp 2: 466Mhz Intel Celeron, 256 RAM, TDK 48x12x48 CD-RW, Win 98 SE, Cox HSI 3000/256
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

That's odd polishmafia4u, your doing this at a DOS prompt right? It should work. :(

:)
User avatar
MadDoctor
New Member
Posts: 5
Joined: Fri Apr 27, 2001 12:00 pm
Location: Looks dark

Post by MadDoctor »

1. Your ISP, their caps and type of connection: Comcast, 1800/257

2. Your maximum anticipated latency:100

3. RWIN that you found with the formula: 23360

4. Did your speed improve: Not much. Test(s) before ~1706/227
Test(s) after 1726/216.

I'll get undressed and give it another try!


:D
User avatar
hayc59
Posts: 2355
Joined: Fri Jul 20, 2001 12:00 pm
Location: LSD melts in your mind, not in your hand.

Post by hayc59 »

so far speeds has increased 21% from the tweaks i used before
and for some strange reason web pages are loading extremly fast!
thanks Steele.....keep up the great work. :D
ãrê ¥Øu êxpêriêncêD
User avatar
polishmafia4u
Regular Member
Posts: 353
Joined: Mon Aug 26, 2002 6:20 pm
Location: CA

Post by polishmafia4u »

Originally posted by mnosteele52
That's odd polishmafia4u, your doing this at a DOS prompt right? It should work. :(
:)


i am on xp pro so i click on start then run and type it in. maybe im not typing in the correct thing? can someone instert what i am suppose to type EXACTLY as it is suppose to be in quotes for win xp pro? thanks
Comp 1: 1.4 Ghz P4, 128 MB RDRAM, Rage ATI 16 mB video card, XP Pro, Cox HSI 3000/256
Comp 2: 466Mhz Intel Celeron, 256 RAM, TDK 48x12x48 CD-RW, Win 98 SE, Cox HSI 3000/256
goldeneye_bill
Regular Member
Posts: 218
Joined: Tue Apr 09, 2002 11:02 pm
Location: Jacksonville

Post by goldeneye_bill »

Comcast 1500/128

190 Latency

35040 RWIN

On the speed test that I always use of downloading the 64 meg test file, I lost about 18 KB's...yes lost....But it did seem like the pages I went to popped up quicker. SO it might be in the test it was not so good, but in the actual surfing it could be better.....I did notice that the speedburst at the start of the download starting WAYYYYY higher than it did with my previous settings.
"Impersonators are people who have no personality themselves"
User avatar
Cypher
Posts: 2717
Joined: Tue Jul 02, 2002 12:00 pm
Location: Returning video tapes

Post by Cypher »

Originally posted by polishmafia4u
have you settings. was running at a constant 4000kbps but lowered a lot today. was running at 2500 for most of the day and now at 3000 about. gonna see if thost first tests were just luck or wether the value i have is effected by different things. more tests to come will post back...

edit: ok i cant get this latency thing to work. i visited the website and tried to type in c:\>tracert dslnuts.com but i just got an error that said it cant find the file. suggestions mnosteele?? oh yeah and running at about 2300-2500 mbits with 37960 as the rwin

Open command than type:
tracert http://www.speedguide.net
That should do it.
User avatar
mnosteele52
Posts: 11913
Joined: Tue Jul 24, 2001 12:00 pm
Location: Chesapeake, VA

Post by mnosteele52 »

polishmafia4u type in cmd then a DOS box will appear, then type tracert dslnuts.com (or whatever site you choose).

Thanks a bunch so far for the input everyone, what is important is for you to do is do Speakeasy's test from different servers across the US, they are the only ones I know of with multiple test sites across the US that are alike. I know Speakeasy is a java based test that isn't 100% accurate but they are all the same and you should be able to tell if things are improving or not.

Still compare things with the test you normally use just Speakeasy as well.

Thanks.

:D :cool: :)
User avatar
polishmafia4u
Regular Member
Posts: 353
Joined: Mon Aug 26, 2002 6:20 pm
Location: CA

Post by polishmafia4u »

ok got the tracert thing to work. will try and find the rwin and then post back after testing

edit: ok im not understanding one thing. when i run a tracert to dslnuts.com i get like 17 of those things and each has 3 different numbers liek 34ms 18ms and 50 ms or something like that. what am i suppose to do with all 17 of these? (please deal with me im a newbie) thanks
Comp 1: 1.4 Ghz P4, 128 MB RDRAM, Rage ATI 16 mB video card, XP Pro, Cox HSI 3000/256
Comp 2: 466Mhz Intel Celeron, 256 RAM, TDK 48x12x48 CD-RW, Win 98 SE, Cox HSI 3000/256
User avatar
hayc59
Posts: 2355
Joined: Fri Jul 20, 2001 12:00 pm
Location: LSD melts in your mind, not in your hand.

Post by hayc59 »

polishmafia4u, check this site on cablenuts
explains everything, including how to save the file
for posting.....

http://dslnuts.com/ping.shtml
ãrê ¥Øu êxpêriêncêD
User avatar
wareagle
Regular Member
Posts: 115
Joined: Sun Aug 04, 2002 9:39 pm
Location: nc

Post by wareagle »

Improved download by 200kbps
User avatar
polishmafia4u
Regular Member
Posts: 353
Joined: Mon Aug 26, 2002 6:20 pm
Location: CA

Post by polishmafia4u »

Originally posted by hayc59
polishmafia4u, check this site on cablenuts
explains everything, including how to save the file
for posting.....

http://dslnuts.com/ping.shtml


i did what they said but when i go to see the text file all i see is ".plugin141_01.trace" and no .txt file. man i suck at this stuff :cry: anyone else wanna help?
Comp 1: 1.4 Ghz P4, 128 MB RDRAM, Rage ATI 16 mB video card, XP Pro, Cox HSI 3000/256
Comp 2: 466Mhz Intel Celeron, 256 RAM, TDK 48x12x48 CD-RW, Win 98 SE, Cox HSI 3000/256
User avatar
mccoffee
Posts: 13365
Joined: Sat Nov 03, 2001 12:00 pm
Location: Cleveland, Ohio, United States

Post by mccoffee »

superman no change in speed but thanx for the help though sorry about the pm's and questions this isn't my week. :D
Comptia a+ n+
User avatar
WolfgangPC
Regular Member
Posts: 221
Joined: Sun Oct 06, 2002 1:18 pm
Location: Canada

Post by WolfgangPC »

Ah, not to sure about this latency thing, I am new to this, but I am on High Speed Sympatico and my caps are I believe 992/124, does this help at all, can you shoot me some calculations?? :(
User avatar
earthmofo
Senior Member
Posts: 1128
Joined: Fri Nov 17, 2000 12:00 am
Location: Providence, RI USA

Post by earthmofo »

Steele, after testing for a couple of days here are my results:

Cox HSI 3000/256
Maxium Anticipated Latency: 150 ms
RWIN: 55480

Average speed from various FTP and Speakeasy sites: 371 Kbytes/s or 2960 kbits/s using your latest Cablenut settings


My Cablenut settings with an RWIN of 601520 using the same test sites: 393 Kbytes/s or 3144 kbits/s.

I used Netstat Live to monitor all downloads.

My Cablenut settings are a little different than yours but not much. Basic settings are pretty much the same but I use much smaller large and medium buffers and a larger SmallBufferSize. MaxNormalLookupMemory is also much smaller.

With everything I've read and researched over the past couple of years I know my RWIN is way too high but I always get better overall results. I just wish I knew why.
"A never ending quest for knowledge as with knowledge comes wisdom"

Main System running Windows XP Pro: Intel Celeron 2.4 Ghz, 1 Gig Ram, 2 80 gig WD 7200 rpm HD's, Radeon 9200 Pro, Envision EN9110 19" LCD Display, HP 9500 CD-RW, D-Link DFE-530TX+ PCI Adapter, D-Link DI-704P Router, Motorola SB5100 Cable Modem with Cox HSI
goldeneye_bill
Regular Member
Posts: 218
Joined: Tue Apr 09, 2002 11:02 pm
Location: Jacksonville

Post by goldeneye_bill »

Hey Mr. Steele, should I use those cablenut settings you posted earlier on my computer, since I have Comcast same as that guy? Except mine is 1500 down and his is 1800
"Impersonators are people who have no personality themselves"
User avatar
Mopwr2u1
Regular Member
Posts: 266
Joined: Sun Dec 01, 2002 7:46 pm

Post by Mopwr2u1 »

1800/256 comcast cable
305 latency
rwin for formula 70080
ran 5 tests from 5 diff servers at speakeasy wdc,chi,nyc,la,sea
using rwin at 32120 128480 256960 513920 now fastest on the speakeasy was the 32120 rwin but when i did the ftp to 70 % complete from newaol on each setting I got these results
32120=211/212 KB/s
64240=213/214 KB/s
256960=213/214 KB/s
513920=216/217 KB/s
Now I have no idea where the server is for newaol but i seem to be faster at the largest #
hopefully that helps your test if ya have something else you would like me to run i'll be more than happy to help
Post Reply