Optimize and Increase BitTorrent (BT) Download Speed in Vista

Windows Vista, like Windows XP SP2 or XP SP3, has also limit the number of concurrent simultaneous half-open TCP connections or sync packets that the system can establish at any one time. To make thing worse, the TCP/IP network protocol stack in Windows Vista has been rewritten so that Vista can auto adapt and optimize network settings according to network connection configuration. The changes to Vista networking may make peer-to-peer downloading and uploading such as BitTorrent (BT) network crawling at slow speed.

P2P users using BitTorrent client such as uTorrent, BitComet, ABC, Azureus, or eDonkey network client such as eMule resorts various workarounds in order to speed up the torrents download speed. Other than the usual port forwarding in router, firewall setting to unblock the BT client or other P2P client, and tweaking of options in the client itself, some users use patched tcpip.sys that remove the half-open connection limit imposed by Microsoft.

If you don’t want to modify or patch the the tcpip.sys of the system, here’s another workaround which you can try if the change will solve the slow download problem and increase the P2P BitTorrent or ED2K download speed.

By default, Vista enables Receive Window Scaling and uses a RWIN (TCP/IP Receive Window) of 256 bytes with a scale factor of 8 (256^2*8=64K bytes) when performing the handshake, which allows the maximum size of RWIN at 16,776,960 bytes. Some older routers, switches, servers or network equipments do not negotiate the scale factor, and will always communicate with a RWIN of 65536 bytes. Thus in when Vista connects with 256 bytes RWIN, the connection speed will have slow start or dropped automatically.

The following command will set the TCP Auto Tuning feature to highly restricted, which allows the TCP/IP window to grow beyond its default value, and instructs Vista to use RWIN of 16,384 bytes with a scale factor of 2 (16384^2*2=64K bytes), with a maximum size of 262,140 bytes. Open an elevated command prompt to run the command.

netsh interface tcp set global autotuninglevel=highlyrestricted

If restricting TCP/IP Auto Tuning level doesn’t help, try the other values possible for the autoTuningLevel parameter:

  • disabled – Fix the receive window at the default value, which is 65536 bytes RWIN.
  • highlyrestricted – Allow for the receive window to grow beyond the default value, but do so very conservatively.
  • restricted – Allow for the receive window to grow beyond the default value, but limit such growth in some scenarios.
  • normal – Allow for the receive window to grow to accommodate almost all scenarios.
  • experimental – Allow for the receive window to grow to accommodate extreme scenarios.

Reboot the computer after changing this setting. The changing the autotuninglevel will also solve problems such as slow loading of website’s web page, or web site sending data slowly or drops the data completely as described in KB929868, or other slow connection problem such as slow downloading of POP3 email.

11 Responses to “Optimize and Increase BitTorrent (BT) Download Speed in Vista”

  1. kamari
    November 2nd, 2009 18:13
    11

    i get the following message when i try running the command “The following command was not found: interface tcp set global autotuninglevel=highlyrestricted”. am i doing something wrong?

  2. How to increase your download speed in Vista « paul jurco - personal blog
    January 25th, 2009 00:50
    10

    [...] a few minutes I have read from this site about this command: netsh interface tcp set global autotuninglevel=highlyrestricted [...]

  3. Download TCP-Z V2.4 Build 20090108 to Patch tcpip.sys of Windows 7 (32-bit and 64-bit Support) » My Digital Life
    January 15th, 2009 00:53
    9

    [...] default, the TCP/IP half open connection limited value is 10. The patch is required to increase and optimize P2P networking such as BT speed, and to avoid or fix Event ID 4226 from occurring in the [...]

  4. wace
    January 15th, 2009 00:03
    8

    netsh
    interface
    tcp
    set global autotuninglevel=highlyrestricted

    should say Ok when completed.

  5. Windows 7 Ultimate Build 6956 VHD and ISO HTTP Web Download Links » My Digital Life
    December 27th, 2008 03:25
    7

    [...] is slowing to crawl, causing the download is taking age to complete, and you can’t find ways to speed up the torrent, here’s the HTTP web download links to the image. Download Windows 7 build 6956 Setup [...]

  6. harry
    December 23rd, 2008 12:04
    6

    opened command prompt but nothing worked… to me theres nothing to undo… says the commands arent real

  7. Confused
    December 6th, 2008 14:55
    5

    Can anyone clarify if the above steps works or not? If it doesn’t how do you undo it? I am looking at trying the run the command prompt. netsh interface tcp set global autotuninglevel=highlyrestricted

  8. Download BT (BitTorrent) Files via HTTP with ImageShack Torrent Drive » My Digital Life
    October 29th, 2008 23:41
    4

    [...] download slow like crawling? With the popularity of post like ways to increase torrent speed, it looks like a lot of users have been facing slow torrents downloading speed using desktop BT or [...]

  9. Annoying Problem with Vista - FreddysHouse
    October 1st, 2008 23:51
    3

    [...] to utorrent instead of it trying to use both. I googled a bit and came across plenty of sites like this. Might be something you could check out. __________________ .: Bob :. He Lives in a pineapple [...]

  10. Download Vista tcpip.sys and UAC Auto Patcher to Increase TCP Connection Limit » My Digital Life
    May 18th, 2008 01:38
    2

    [...] Improve torrent speed and fix slow or even not moving downloading and uploading speed when using P2P programs. (see how to optimize torrent speed in Vista) [...]

  11. GreatLuck
    May 3rd, 2008 19:39
    1

    Im having problems with this.. something like TrueVector always stops responding and needs to be closed.. How can i resotre/undo this changes???

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

optimize bittorrent - increase download speed vista - how to increase download speed vista - increase bitcomet download speed vista - how to increase torrent speed in vista - how to optimize bittorrent - speeder vista download - download speeder vista - how to increase speed with bittorrent vista - how to increase download speed in bitcomet? - speed up bittorrent vista - increase utorrent speed vista - increase torrent download speed vista - optimize windows 7 tcp - how to increase bittorrent speeds - increase download speed in vista - torrent download slow windows 7 - increase vista download speed - increase bittorrent download speed vista - speed up bittorrent tcpip.sys sp3 - windows 7 torrent download slow - bittorrent optimize - optimize bittorrent 6.3 download speed preferences - bit torrent connection problems with windows 7 - BitTorrent speed up - how to increase bittorrent download speed - how to increase bitorrent download speed in vista - speed up torrent downloads vista - vista bittorrent - bittorrent optimizer - how to increase download speed - how to improve your download speed torrent vista - how to increase download speed on bittorrent - increase bitcomet speed vista - increasing download speed vista - optimize bittorrent vista - slow vista downloads - speed download vista - vista sucks torrent downloads slow - vista slow bittorrent - increase bittorrent speeds - meu torrent speed increaser - slow bittorrent speeds vista - increasing bittorrent download speed on vista - is torrent gives fast download on vista - windows 7 bt speed - how to increase download speed of bitcomet for vista - increase bt download speed vista - increase torrent download speed in vista - windows vista slow torrent download -