Jump to content
Sign in to follow this  
mrproper

Help with my RWIN

Recommended Posts

mrproper ;Those may be too large it seems to have slowed down.So go back to the previous ones.I think they are close to best you are going to get.I could come up with a couple in between to fine tune it .Before you move these back down though try to time a large download with these & then the previous settings .Like you were doing in earlier posts.I think it was a 250MB download.I could go back & check but I think you get the idea.

Just to make sure that you are not tweaking just to the test but also to a real function that you use.

I paste you the results of downloading a 202 Mb file. First with current parameters (flashget1.jpg) and afterwards with the previous ones (flashget2.jpg). As you can see I get very similar results in direct downloads.

I will be near my PC in case you answer me.

Share this post


Link to post
Share on other sites

mrproper ;No I don't use any messenger program.Did you restart your PC after you changed the Cablenut settings again?You have to do this for them to go into your registry.

These did the best on the test so use them for now.

DefaultReceiveWindow =  524288         

TcpWindowSize        =  513920

GlobalMaxTcpWindowSize= 513920

Share this post


Link to post
Share on other sites

mrproper;Even though the large download was slightly faster with the larger RWIN values the testmy test did best with these.

DefaultReceiveWindow =  524288         

TcpWindowSize        =  513920

GlobalMaxTcpWindowSize= 513920

I think that would be a good place to leave those for now.

I'm not sure where to go with the send window But I think smaller.I haave seen some use 65536 so lets try that & see how the upload does.

DefaultSendWindow  = 65536

There are 3 more settings that I would like you to try at different values.First I want you to use the Microsoft default settings.

LargeBufferSize =8192

MediumBufferSize=1504

SmallBufferSize=128

Beleive it or not those are the default settings.

Share this post


Link to post
Share on other sites

mrproper;Even though the large download was slightly faster with the larger RWIN values the testmy test did best with these.

DefaultReceiveWindow =  524288         

TcpWindowSize        =  513920

GlobalMaxTcpWindowSize= 513920

I think that would be a good place to leave those for now.

I'm not sure where to go with the send window But I think smaller.I haave seen some use 65536 so lets try that & see how the upload does.

DefaultSendWindow  = 65536

There are 3 more settings that I would like you to try at different values.First I want you to use the Microsoft default settings.

LargeBufferSize =8192

MediumBufferSize=1504

SmallBufferSize=128

Beleive it or not those are the default settings.

I have set these to previous parameters:

DefaultReceiveWindow =  524288         

TcpWindowSize        =  513920

GlobalMaxTcpWindowSize= 513920

These ones are now:

DefaultSendWindow =    393216

LargeBufferSize =      819200

MediumBufferSize=      150400

SmallBufferSize=        12800

I have repeated the tests with above parameters so that we can compare:

[glow=red,2,300]Download Stats[/glow]

Download Connection is:: 4003 Kbps about 4 Mbps (tested with 20972 kB)

Download Speed is:: 489 kB/s

Tested From:: http://s2.testmy.net

Test Time:: 2006/08/18 - 5:55am

Bottom Line:: 70X faster than 56K 1MB Download in 2.09 sec

Tested from a 20972 kB file and took 42.922 seconds to complete

Download Diagnosis:: Looks Great : 6.83 % faster than the average for host (54.81)

D-Validation Link:: https://testmy.net/stats/id-G15F86OR9'>https://testmy.net/stats/id-G15F86OR9

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

[glow=red,2,300]Download Stats[/glow]

Download Connection is:: 3876 Kbps about 3.88 Mbps (tested with 20972 kB)

Download Speed is:: 473 kB/s

Tested From:: http://s2.testmy.net

Test Time:: 2006/08/18 - 5:56am

Bottom Line:: 68X faster than 56K 1MB Download in 2.16 sec

Tested from a 20972 kB file and took 44.328 seconds to complete

Download Diagnosis:: Looks Great : 3.28 % faster than the average for host (54.81)

D-Validation Link:: https://testmy.net/stats/id-SQKP1E8X4'>https://testmy.net/stats/id-SQKP1E8X4

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

[glow=red,2,300]Upload Stats[/glow]

Upload Connection is:: 403 Kbps about 0.4 Mbps (tested with 2992 kB)

Upload Speed is:: 49 kB/s

Tested From:: https://testmy.net/ (Server 2)

Test Time:: 2006/08/18 - 6:01am

Bottom Line:: 7X faster than 56K 1MB Upload in 20.9 sec

Tested from a 2992 kB file and took 60.79488 seconds to complete

Upload Diagnosis:: 90% + Okay : running at 100 % of your hosts average (54.81)

U-Validation Link:: https://testmy.net/stats/id-FLT87VSWN

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

[glow=red,2,300]Upload Stats[/glow]

Upload Connection is:: 403 Kbps about 0.4 Mbps (tested with 2992 kB)

Upload Speed is:: 49 kB/s

Tested From:: https://testmy.net/ (Server 2)

Test Time:: 2006/08/18 - 6:02am

Bottom Line:: 7X faster than 56K 1MB Upload in 20.9 sec

Tested from a 2992 kB file and took 60.79488 seconds to complete

Upload Diagnosis:: 90% + Okay : running at 100 % of your hosts average (54.81)

U-Validation Link:: https://testmy.net/stats/id-I6MKPO5HN

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

Now these are the results changing only DefaultSendWindow (65536) and remaining the others the same (I have read somewhere that the default value for DefaultSendWindow is 16384 for a 512 upload connection):

[glow=red,2,300]Download Stats[/glow]

Download Connection is:: 2290 Kbps about 2.29 Mbps (tested with 20972 kB)

Download Speed is:: 280 kB/s

Tested From:: http://s2.testmy.net

Test Time:: 2006/08/18 - 6:09am

Bottom Line:: 40X faster than 56K 1MB Download in 3.66 sec

Tested from a 20972 kB file and took 75.031 seconds to complete

Download Diagnosis:: May need help : running at only 60.52 % of your hosts average (54.81)

D-Validation Link:: https://testmy.net/stats/id-H5XZ3C9IO

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

[glow=red,2,300]Download Stats[/glow]

Download Connection is:: 1635 Kbps about 1.64 Mbps (tested with 20972 kB)

Download Speed is:: 200 kB/s

Tested From:: http://s2.testmy.net

Test Time:: 2006/08/18 - 6:11am

Bottom Line:: 29X faster than 56K 1MB Download in 5.12 sec

Tested from a 20972 kB file and took 105.062 seconds to complete

Download Diagnosis:: May need help : running at only 44.25 % of your hosts average (54.81)

D-Validation Link:: https://testmy.net/stats/id-Z53W9ECOF

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

[glow=red,2,300]Upload Stats[/glow]

Upload Connection is:: 351 Kbps about 0.35 Mbps (tested with 2992 kB)

Upload Speed is:: 43 kB/s

Tested From:: https://testmy.net/ (Server 2)

Test Time:: 2006/08/18 - 6:13am

Bottom Line:: 6X faster than 56K 1MB Upload in 23.81 sec

Tested from a 2992 kB file and took 69.79488 seconds to complete

Upload Diagnosis:: May need help : running at only 88.19 % of your hosts average (54.81)

U-Validation Link:: https://testmy.net/stats/id-EH0OPCGUD

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

[glow=red,2,300]Upload Stats[/glow]

Upload Connection is:: 406 Kbps about 0.41 Mbps (tested with 2992 kB)

Upload Speed is:: 50 kB/s

Tested From:: https://testmy.net/ (Server 2)

Test Time:: 2006/08/18 - 6:15am

Bottom Line:: 7X faster than 56K 1MB Upload in 20.48 sec

Tested from a 2992 kB file and took 60.33024 seconds to complete

Upload Diagnosis:: Looks Great : 2.01 % faster than the average for host (54.81)

U-Validation Link:: https://testmy.net/stats/id-96JDSQHAP

User Agent:: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 1.1.4322) [!]

And now I have set last three values to the default ones (LargeBufferSize = 8192, MediumBufferSize= 1504 and SmallBufferSize= 128), remaining DefaultSendWindow equal to 65536. Which are the results? Impossible to do the tests for a large file (neither download nor upload). I was only allowed to do a test with very small files. With large files even with medium sized files the tests stayed for a long time. These Microsfot default values are oblviously wrong.

MrProper

Share this post


Link to post
Share on other sites

mrproper;First thank you for testing the MS default values.I suspected they were wrong but since what I saw CableNut settings people were using were just the default values multiplied by either 10 or 100.This made me wonder if the just guessed & tried the settings that way.I haven't seen a good explaination for using 10 or 100 for the multplier.So it's possible the something else might be optimal.I would like you to try the muliplied by 10 to see if they work better for you that way.then if the don't put the ones back in that were multiplied by 100.

On the DefaultSendWindow it looks like the smalle setting was incorrect.I'm a bit suprised that it affected your download speed like it did .

You can either put it back to this 393216 or if you like try some of the values  used as we went up to find the RWIN values.

  This is the MS default information on the send window .The higher setting they recommend is still very low & would not work well with a fast connection.

2. DefaultSendWindow: Default: 4096/8192/8192

- This is similar to DefaultReceiveWindow, but for the send side of connections.

so MS would have you use 8192.

I think you have got about the best RWIN setting will do.I haven't been able to find enough to really help set the Buffers but I think if these were correctly tweaked they would allow more speed.If you think I can be of futher help some way let me know.

Share this post


Link to post
Share on other sites

mrproper;First thank you for testing the MS default values.

First of all, thanks to you. I am only testing your suggestions because you are trying to help me, so thanks to you again.

After reading your last post, I am going to tell you what I have understood because as you were told my english is not so good as I would like:

1. You recommeds me to set back DefaultSendWindow to 393216. Perhaps I can try to reduce a little its value, but how do I reduce it? As a percentage or as a multiple of some figure or do I have to do any calculation involving several variables? Can you tell me something about it? Anyway, one of the first changes we did was to set DefaultSendWindow to 8192 (one of the Microsoft default value) and it didn't work very bad, isn't it? Notice that all the changes we have made to this value (DefaultSendWindow) have been paralell to the DefaultReceiveWindow. Perhaps we should have set first the "send" one to a small value and we should have setted up little by little. Thai is to say, instead of coming back to 393216 as now, we can go back to 8192 and setting up little by little. Or do you think it isn't good?

2. With respect to Buffers, I have them now multiplied by 100. The Microsoft default values evidently doesn't work. I will try to set them multiplied by 10. I will look for something to read in internet. Have you asked Vanburen why he sets them multiplied by 100 or what is the valid range for the buffers? Perhaps he knows something and can give us a skillful lesson!! Anyway, what do the buffers affect to? Download, upload or both?

I will do several tests this night (for me) and paste the results.

Share this post


Link to post
Share on other sites

The formula for increasing DefaultReceiveWindow  & DefaultSendWindow is simple really.You add a multiple of 4096 this has to be an even number Like 2 times 4096 or 200 times 4096 .As long as it's an even multiplier.

Like 128 X 4096 = 524288 If you wanted try a step at a time the next one would be

130 X 4096 = 532480 & so on.

The formula for these 2 :

TcpWindowSize & GlobalMaxTcpWindowSize has to be even as well but it is based on the MSS value.In your case 1460.

352 X 1460 = 513920 so the next one up in size would be 354 X 1460 = 516840.

you can go smaller by the same method.

I hope the examples are good enough.I will look for a better explanation of the Buffers & make sure I understand it.I think I do now but I just want to make sure.

It's probably a good idea to see what VanBuren has to say about the multiplying the buffers by 100.

Share this post


Link to post
Share on other sites

I thought something as you have explained. In fact, I have made some tests with multiples of 4096 for DefaultSendWindow. I have currently 393216 (96 x 4096). I have tested with 262144 (64 x 4096) and 360448 (88 x 4096).

But I am really disappointed with the results because they are contradictories with all the tests we have made before. I really think that the connection is good tweacked but it depends on the moment we do the test. It's not the same now than in 3 minutes or 5 minutes. I should have 3 equals PCs with 3 internet connections and make the tests at the same moment to be able to compare the results consistently. The phone lines vary a lot in the time (in minutes).

What I think is that good values are:

DefaultReceiveWindow = 524288

TcpWindowSize = 513920

GlobalMaxTcpWindowSize = 513920

(All above had been written 2 hours before). Now, I have made more than 100 test (really true). I am crazy, I know... jajaja

I have tested all kind of combinations with buffers (x 1, x 10 and x 100) and DefaultSendWindow (393216, 360448, 262144 and even I have tested lower values: 16384, 32768 and tested again 65536).

I have obtanied best results with buffers x 100 and DefaultSendWindow = 65536. Yes!! 65536 (downloads = 6.33, 5.59, 5.06, 4.18, 2.63 and 6.22). I don't understand anything. The thing is that a value of 393216 seems to be very large, but it was giving good results, at least in that moment. But now the best results are for 65536. If I do test at this moment I obtain bad results for 65536. I don't know what to do. What logic can I apply?

Share this post


Link to post
Share on other sites

mrproper;I think it's Muy Bueno that you like to tweak & test.Don''t test my Spanish me comprende muy pacito.& even that's probably spelled wrong.

Take a look at these screen shots in these topics & see the variety of settings people use in cablenut.Then search the testmy site putting in "cablenut settings" & see how many posts you get.

So it's hard to know what's best all the time.I think we have made yours better.

About the 2 send settings I think 393216 seems large too but it worked well.Then I gave you 65536 to try & the first time it slowed you down then when you tried it again it gave you the best speed.

So look at these topics:

http://www.testmy.net/forum/index.php?topic=3274.msg30972#msg30972

http://www.testmy.net/forum/index.php?topic=5673.0

Then just to keep you wondering if these settings are correct for your connection.Heres a link about how ATM works ATM is the A in PPPoA.It's different than most connections it the way it stores data & sends it.Then it has to have settings like an MTU of 1500 to match it with the rest of the connections.If the whole internet was PPPoA it could be very fast.

http://en.wikipedia.org/wiki/AAL5

Share this post


Link to post
Share on other sites

Cholla, I think my english is not very good, but your spanish is a little worse... It is a joke !!  :haha:

My wife is telling me that someone or something is getting out of my PC and taking me in... And perhaps she is right. I am getting crazy.  :roll: I have tested so much settings combinations that I don't know which to choose. But it's true that my beginning connection didn't work and now it's one of the best according to my connection. And I due to you specially and all people has helped me (dlewsi23 and Vanburen). You have devoted (perhaps even wasted) to me and my madness a lot of time and I want to be thankful for it. All the forum members are fantastic and welcomed warmly.

Thanks to everybody.

Perhaps I will try more settings with you links... jajajajajajajaa  :haha:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...