The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    tweak congestion provider works on vista

    Discussion in 'Networking and Wireless' started by zfactor, Nov 10, 2007.

  1. zfactor

    zfactor Mastershake

    Reputations:
    2,894
    Messages:
    11,134
    Likes Received:
    3
    Trophy Points:
    455
    not sure if this has been mentioned before but.. go to the cmd prompt run it as admin. type exactly as follows:

    netsh int tcp set global congestionprovider=ctcp

    try it out great boost in speed
     
  2. zfactor

    zfactor Mastershake

    Reputations:
    2,894
    Messages:
    11,134
    Likes Received:
    3
    Trophy Points:
    455
    also you can enable ecn support by adding :

    netsh interface tcp set global ecncapability=enabled

    ths is normally off by default in vista
     
  3. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
  4. Les

    Les Not associated with NotebookReview in any way

    Reputations:
    4,706
    Messages:
    5,391
    Likes Received:
    1
    Trophy Points:
    0
    Can you elaborate on what exactly it does? I may add it...with recognition of course if it does give the great boost of speed.
     
  5. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    The link to the cable guy walks you through it, but needless to say it is an IMPROVEMENT over the current routing with TCP it has been around for awhile, and a lot of MVP's have been trying to get Microsoft to have this ON by default. It is a great feature, and to have it OFF by default is silly.

    "When routers become congested to the point in which their incoming packet buffers fill and they begin dropping packets, the effect on the network is reduced bandwidth, an impact on loss or time-sensitive traffic flows, and possibly link idle time after the congestion occurs. Explicit Congestion Notification (ECN) for TCP/IP provides a way for routers to inform Transmission Control Protocol (TCP) peers that their buffers are filling due to congestion in the network. In response, TCP peers slow their transmission of data to help prevent packet losses. This article describes the need for ECN, how it works, and how ECN is supported in the Release Candidate 1 release of Microsoft® Windows Vista"

    Flamenko if you want me to write a layman's version of the document I listed just ask, and I will do it as well as instructions on how to turn it off.

    Phil
     
  6. Les

    Les Not associated with NotebookReview in any way

    Reputations:
    4,706
    Messages:
    5,391
    Likes Received:
    1
    Trophy Points:
    0
    No, I think I know what it is now as i have read, at least, something similar previously but ide like a bit of a background, yes. I think this what i had considered previously but, in checking, was told/learned that it is not really an improvement because Vista, on its own, continuously monitors and provides the best internet acces speed.

    Would this be correct?
     
  7. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    Well Vista modifies receive window and other TCP settings, but the autotuning can't do anything about the congestion of packets. This does allow for their to be some improvment especially in high traffic situations. I guess it really depends on the environment. 1. It can't hurt. 2. It probably will improve the performance of your machine. The receive window size, etc. is autotuned by Vista and it does a great job compared to previous OS's.

    Phil

    BTW Using only tweak 1.
     
  8. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Interesting....will it stay this way after entering that command?
     
  9. zfactor

    zfactor Mastershake

    Reputations:
    2,894
    Messages:
    11,134
    Likes Received:
    3
    Trophy Points:
    455
    yes unless you disable it afterwards

    as a simpler example for those who are not technical.. think of a 4 way stop when the light is out and ONE traffic cop directing everyone. after adding this now think of there being 2 cops directing traffic, not really the best description but you maybe get the idea from that. this will usually take it from 10half to 20 half.. for those that know what i mean
     
  10. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    netsh interface tcp set global ecncapability=disabled

    is this how to turn off ecn?
     
  11. zfactor

    zfactor Mastershake

    Reputations:
    2,894
    Messages:
    11,134
    Likes Received:
    3
    Trophy Points:
    455
    that would be to disable the ecn support yes
     
  12. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    thanks....I noticed a speed boost with the first command in this thread, but the second one had a negative impact so I disabled it again....the speed is back. Gotta love a good tweak :D
     
  13. zfactor

    zfactor Mastershake

    Reputations:
    2,894
    Messages:
    11,134
    Likes Received:
    3
    Trophy Points:
    455
    yes you want to have ecn turned off while using the first command i have found. the second one i have found sometimes works and sometimes not. i currently only use the first tweak and yes it usually makes a large difference.
     
  14. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    That's what I found out....using the second with first slowed it to a crawl....disabled ecn again and the speed boost is back. thanks for the tip!
     
  15. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    Yes that will turn ECN off. You need to run CMD as an administrator to enable or disable it.
     
  16. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Philfna, I don't follow you on the two commands to enable part? thanks
     
  17. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    Oops to enable both features sorry.
     
  18. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Ok then....it's getting late here, thought my brain was shutting down! :D
     
  19. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    Btw I have ECN off as well..
     
  20. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Hey guys, how do you turn off the first command in this thread btw? I don't want to, think it would be good to list it here though.
     
  21. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    To disable CTCP on Vista, run 'netsh interface tcp set global congestionprovider=none'.
     
  22. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Thanks....that rounds out the thread...great thread btw! Today, I'm not noticing the same speed boost I got yesterday. Possible explanation for the layman somewhere?
     
  23. zfactor

    zfactor Mastershake

    Reputations:
    2,894
    Messages:
    11,134
    Likes Received:
    3
    Trophy Points:
    455
    check to make sure its still enabled. ive seen a few cases where with vista it reset on occasion after a re-boot. not usual for it to do that but i have seen it
     
  24. philfna

    philfna Notebook Evangelist NBR Reviewer

    Reputations:
    160
    Messages:
    532
    Likes Received:
    0
    Trophy Points:
    30
    High bandwidth environments is where CTCP really shines I have a research paper on it if anyone wants it...
     
  25. ortizl

    ortizl Newbie

    Reputations:
    0
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    Can someone tell me is there documentation that takes you step by step through setting up CTCP and commands that you use to send and receive files via CTCP