Home > Articles > Maximizing BitTorrent Speeds with uTorrent
Maximizing BitTorrent Speeds with uTorrent (Guide / Tutorial)
Version 1.078
This article explains how to get up and running with Bit Torrent technology efficiently. It shows how to battle ISPs throttling bit torrent speed and other ways to get the best optimization of your bandwidth.
Disclaimer
Proceed at your own risk! The information here is accurate to
the best of my knowledge. I will not be held responsible if this
document causes your computer to explode or burst into flames.
In real serious terms, if any corruption of data, hardware damage
or any other kind of damage/losses/etc. arises from the
use of this document, I will not be responsible for it. If you
don't like this, please don't read any further.
Introduction
This is a tutorial step by step guide on setting up uTorrent. It details all the steps from downloading to optimizing your settings. Many people have used Bit Torrent and think they are running with optimized settings, even then, it is advised to read through this guide and see what you may have missed to better optimize your settings.
BitComet ( http://www.bitcomet.com/ ) (popular but banned by some trackers due to incorrect reporting)
This guide will focus on the top most client, uTorrent. A quick rundown of its major features and we're talking SPEED here
Peer Exchange
Obtains more peers for your downloading torrent in addition to trackers. Peer exchange checks with other peers to see if they know of any other peers. More Peers = More Speed! (provided the peers are seeds and are not choked)
Protocol Encryption
This is the major speed booster if your ISP throttles bit torrent traffic. It can do wonders on torrents with high
seeds and can give high speeds especially if your peers are using the top 3 clients I mentioned above, as those are the popular ones that support this standard.
Capping Upload Speed
Uploading data to other peers at full throttle will severely limit your download rate. This is one key element we have to adjust for a good download / upload ratio. Unless you are purely seeding and not using your computer for other tasks, limit your upload to 80% of full bandwidth.
Distributed Hash Table (DHT)
Similar to Peer Exchange, it also obtains more peers for you to download from. If the tracker is down, and the torrent is not private, you can depend on DHT to continue to download!
Local Peer Discovery
Searches for peers in the same ISP as you. Connecting to a peer in the same network (or ISP) means you can get the maximum speeds from that peer, assuming he is generous with his uploads.
What We Need
An Internet Connection and its maximum download and upload speed. If unsure, visit http://www.speedtest.net/ to run a speed test. Note: Minimum Flash 7 is required.
Remember to select a download location closest to you, especially if you are outside US. The Recommended Server works out most of the time.
Patched TCPIP.sys to allow more concurrent half-open connections. Windows XP SP2 and Vista limits the number of half-connections to 10. This limitation can impact your Bittorrent experience.
NOTE: This step is OPTIONAL. It is strongly encouraged to skip this step as many people have reported that this fix does little or no good to their speeds. Try this only if the rest of the guide does not work for you.
To increase the limit,
Windows XP Users (NOT Vista users, see next step for Vista users) UPDATE: There has been a recent Automatic Update (MS08-001) released on January 8 2008 that addresses some network security concerns. The below has NOT been tested with the latest TCPIP.SYS (v5.0.2195.7147) file. Update:The patch has been tested with KB941644 (an automatic update) and works perfectly!
Open the file and run the program located inside the archive, agreeing to the security warning.
Some text should scroll by in a MS-DOS window, after it ends, type C.
Enter 100 for the number of concurrent half-open connections and press Enter.
Type Y and the file should be patched. Cancel any Windows XP warnings that should appear, it is part of Microsoft's way of ensuring its files are not tampered with (the utility tempers them to break the limit on purpose).
Windows VISTA Users (NOT XP users, see above for XP users) WARNING: The below has been known to cause problems for some people. The author of the fix (Yaronmaor) has posted newer versions, but it has still been reported to cause problems. Be warned - or you can just skip this part if you are unsure. Personal Opinion - Not recommended :( due to the amount of problems
Look for the item named - EventID4226Fix for Windows Vista which fits your current installed version. Follow the instructions included in the archive. If unsure, DO NOT PROCEED TO INSTALL. Be safe, rather than sorry later! Wait for a more stable version :(
A Bit Torrent Client - I recommend uTorrent. This guide uses uTorrent for the tutorial.
And finally, some torrents to kick off the download. A sample torrent file will be provided later.
Click "Get µTorrent 1.7.7 Stable (214 KB)". Choose to RUN it.
If any security dialogs appear, click Run as we know this is a safe file.
Configuring uTorrent
The configuration part is where most people mess up. Most of us will just click through the dialogs accepting the default values. This may apply to some of us, but not the majority.
Run the program. Ignore the security warning (Click Run) - we know perfectly well that the file is legitimate.
It will give the following dialog:
You want the program to be easily accessible, don't you? Click Yes and the shortcut will be created in your desktop and start menu.
And the next dialog box is the most important step
Now the value that we are interested in right now is the Upload Limit in kB/s (aka KBps). If you have trouble understanding your speed, consider this: Internet Explorer shows download speed as KBps when you download a file.
There is a big difference between 5Kbps and 5KBps. Make sure you got the right values in KBps (not kbps, the case of 'b' matters) . Use Google Calculator if you need help with conversions.
Click Current Settings
The authors of uTorrent have been very helpful in providing a list of predefined values. Your connection should be near to one of the above categories. "xx/384k" means that your download is unlimited and your upload is limited to 384kbps (which is 48KBps by Google Calculator).
With your results of the speed test you did above, select the closest upload speed from the list. uTorrent immediately adjusts the "Affected Settings" area with recommended values for your upload speed. We're not finished yet.
Note: The default download speed in utorrent is Unlimited. Even if your download is limited, it is always better to leave it at unlimited to get maximum download speeds. However, if you need to limit your download speeds, right-click the utorrent icon on the system tray (bottom right), click Download Limit and set accordingly. You can also set this in the Preferences dialog.
Note: uTorrent randomly generates a port number in Current Port. This guide assumes the port number to be 55641 - but you can substitute it with the number uTorrent shows.
Port forwarding is also important. Click on "Test if port is forwarded properly" to run the test. If you have trouble running the test, it could be due to one or more of the following reasons:
Home Router
If you are running a router (sometimes called wireless access point) at home, you will have to configure it to route all TCP / UDP bit torrent traffic to port 55641 to your computer. If so, visit this page for a guide on how to port forward. Click the router you are using and follow instructions.
Personal Firewall
If you are running a firewall software such as Norton Internet Security, Norton Personal Firewall, ZoneAlarm, etc, then configure your firewall such that uTorrent has access to port 55641. This is normally accomplished by starting up utorrent. The firewall should spring up an access alert. Simply select the option to "Always Allow" to allow the program to access the Internet. Messages such as "utorrent wants to act as a server" must be allowed as well. In fact, if the program in question is utorrent, you should always check "Allow" no matter what request it is.
Windows Firewall Users
uTorrent will automatically configure Windows Firewall for you so there is no action needed from you.
Corporate Firewall
Are you running this software in a corporate network? Bad news - you have to inform the admin that you want the port to be directed to your computer. The good news - you can still go by without port forwarding, but speeds will not be optimal.
Utorrent.Com Port Forward Checking Website has a problem
Yes, especially if you are accessing the Internet through a transparent proxy that your ISP forces you to use. This simply means that the website is reporting false info, and the best way to verify that your port is forwarded is to proceed into the next step. To verify if this is the case, uTorrent port checker runs an alternative version at port 16000, which you can access by using the form below:
Having done all the above, if the website still says that it has problems accessing the port, the ultimate test will be when we do a test file downloading. Let's click on Use Selected Settings.
Now you see the full uTorrent window in full glamour.
Starting a simple torrent
We need to start a simple download, and the one that will be using is a 650MB file of Ubuntu! It is a perfectly legal and free file to download. We will be downloading this file purely for testing and delete it later on (as it is of no use to us)
Minimize uTorrent for now. Notice it resides on the system tray (bottom right) automatically.
Look at the column labeled "complete". Find the row with the largest value. A quick way is to scan for a 4 digit value.
Now download the torrent - click the link in the 2nd column of that row
You should get this dialog:
This is the metadata file, it contains information on the file you want to download eventually. That is why it is so small. We want uTorrent to automatically start downloading it, so click Open.
NOTE: The "Name and Type" may differ on your system. This is normal, as Ubuntu is frequently updated
The file opens with uTorrent which automatically pops up this dialog (scaled for easier viewing)
All values are automatically filled in for you. Here is also where you select files that you don't want to download - if the download has many files which in this case is not. Remember where the file is stored in "Save As", or save it in a different location that is more convenient for you.
All looking good, click OK.
Progress of the Download
Click on the Ubuntu torrent (the only item in the list) to view more information on it. Suddenly all the values begin filling up!
Looks like the torrent has a total of 2703 seeds and 247 downloaders. 2703 seeds is a lot and it means you should get the full file in no time! A seed is a term used to refer to peers who have downloaded and sharing the complete file.
However, after running for 5 minutes, the speed refuses to go above 20 KB/s, which is not possible for a highly seeded torrent. Could it be my ISP throttling?
Enabling Protocol Encryption and Increasing Max Half Open Connections
uTorrent by default disables protocol encryption. We need to enable this so that the ISP's packet shaping hardware will detect our bit torrent traffic as normal traffic and hopefully let it pass.
Click on Options, Preferences.
Click on BitTorrent.
You should get a dialog similar to one below
The one we are concerned about is Protocol Encryption. Set the Outgoing to Enabled.
Click on Advanced.
Change the "net.max_halfopen" value to 50 by selecting the line, changing the value at the bottom to 50 and clicking Set. If you did NOT patch your TCPIP.sys to allow more concurrent half-open connections above (under 'what we need'), do NOT perform this step.
NOTE: It is normal for a asterisk(*) to appear. This is to indicate that the value has been changed from the default value.
Click OK. Stop all torrents, wait 10 seconds, and Start the torrent. Now let's watch the speeds.
Hopefully, the above changes will improve speeds. Ultimately, it depends on the number of seeders and peers with high upload rate. Remember, you must upload to enjoy good download rates, but not so high that it affects download speed. Experiment.
Bonus Tip! (Added 9th January 2008)
Look for more public tracker servers that have the file. I find that the best one place to get a torrent with many trackers already included is ISOHunt.com.
Before:
Only one tracker
After getting the same torrent from ISOHunt.com
Many tracker servers!
Needless to say, the speed increased tenfold!
Alternatively, you can search Google for the torrent name and download the torrent. uTorrent should pop-up a box when you attempt to add it. Answer yes, and utorrent will use the tracker(s) from it.
You can still add more trackers to your torrent by downloading the same file from different tracker servers
If the box does not come out, you are downloading a wrong torrent.
Further Things You Can Try For Optimum Speed
Pointers 3-7 and 9 below have the potential to affect your speeds positively and **negatively**. Experiment.
There should be a green tick at the bottom, not a exclamation mark as below.
If uTorrent keeps showing this even after 5 minutes, check the possible causes.
To get more peers, right-click the entry on the list, and click Update Tracker. Do this especially if you are on a private tracker before you exit the application, so that your ratio is maintained.
Setting a high upload can sometimes slow down a fast torrent. For example, in my ADSL connection, if I do upload at 10KB/s I can get up to 350KB/s. If I upload at 30KB/s, the download speed gets limited to 200KB/s. The total upload available to me is 60KB/s.
This is where you have to experiment by setting a low upload rate (from 10 at Preferences > Connection) and watching if the speeds increase for 5 minutes, especially if the torrent is heavily seeded.
But remember, you must upload in order for peers to share their downloaded data with you. It is possible to set a very low upload, but the chance of peers sending you their data will decrease, pulling down your download speed.
Some people have reported speed increases by setting the peer.lazy_bitfield setting to false in Advanced Preferences. However, in my case, it lowered the speeds.
Change the Protocol Encryption (Options, Preferences, Bittorrent) to Forced. This will force encryption on all outgoing packets and will not fallback to un-encrypted mode if the peer refuses to co-operate. Good to connect to only encryption-enabled peers. Avoid doing this for torrents with low peers/seeds.
Remove the check for "Allow Incoming Legacy Connections" (Options, Preferences, Bittorrent). This will make all your outgoing and incoming packets fully encrypted, except for tracker communications. Peers who are using a torrent software that doesn't support encryption are dropped. Avoid doing this for torrents with low peers/seeds.
Avoid private trackers, especially those with torrents that specifically tell utorrent to disable DHT (effectively disabling Peer Exchange and Local Peer Discovery too). You can tell if the torrent is private by selecting the torrent and looking at the DHT value. If it says "disabled", it is a private torrent.
That said, the main reason private trackers exist is because they enforce sharing rules that tries to prevent a person from downloading a torrent and running off without uploading back the same amount of data he downloaded.
For new and popular torrents on such trackers, you may be able to get good speeds as everyone will be trying to increase their upload/download ratio. Again, experiment. The key point here is the seeds/leechers ratio and the popularity of them in public and private trackers.
Check the Availability column for the torrent. If it is less than 1, chances are that the torrent is new and the original uploader is still uploading. However, if it remains at a value less than 1 (eg, 0.98) for more than a day, either the torrent does not have seeds or it is fake. (Thanks TTbarDJ)
Some people have reported speed increases using an older version of utorrent, specifically utorrent version 1.6.
Reset your internet connection by switching off and on the modem and router (if applicable).
Download the latest network driver, uninstall the current one and install back the latest network driver you downloaded by using Device Manager in Start > Control Panel > System > Hardware > Device Manager.
Make sure you did not set a download limit accidentally! Many people unknowingly set the download limit when they actually intended to set the upload limit in the right-click menu of the tray icon. To check, Options > Preferences > Connection > Download > Set to "0" > OK
Experiment. On a heavily seeded torrent with lots of peers, doing everything above (with the exception of 4) got me better speeds.
Readers' Suggestions for Improving Speed
The following tips were posted in the comments and found to be useful for some readers. You can try them out too.
Jen says: If Utorrent is really slow on Vista (on my computer everything was really slow... I.E, Outlook) try disabling IPv6. Go to Control Panel> Network and Sharing Centre. Click on view Status for your connection, then properties and uncheck Internet Protocol Version 6 (TCP/IPv6) then OK it etc. I didn't need to restart Utorrent or do anything else. The download I was on jumped from 5k right up to 200.
Jen says: Another one and it's really simple! I spent many an evening trying like hell to get my torrents to run faster and wasn't getting anywhere. a couple of weeks ago my ex was trying to download at 8pm and he was getting DL speeds like a 512 connection trouble is he's on an 8mb line. We couldn't figure it out and quite randomly whilst trying to figure it I checked the TOC for his ISP it turned out they restrict bandwidth at certain times, in his case 6pm to 9pm. Obviously I checked my ISP and mine is set 7pm to 10pm.
Geeman says: I noticed drastic increased speed by increasing the disk cache size (Tools > Preferences > Advanced > Disk Cache > Override automatic cache size > (set to higher number)
Masterkio says:
Change the following in the Advanced tab of uTorrent preferences peer. disconnect_inactive_interval
from 300 to 600.
You should be able to get a little bit more speed by doing this.
Frequently Asked Questions (FAQ)
1)
What are the good/best ports to open for uTorrent?
There's no "best port" or good ports . All ports are suitable for use with uTorrent, unless you are running a program that is using the port (use a port number above 49152 to be safe).
However, feel free to change the default port of it by going to Options, Preferences, Connection and adjusting the "Port used for incoming connections" as necessary. Remember to re-adjust your port forwarding settings in your firewall/router too.
2)
I have tried all the above and my speeds are still slow! In fact, it got worse! What can I do?
Try downloading a different torrent. A high ratio of seeds to leechers (Eg 2000 seeds to 10 leechers) will make a big difference in speeds. Make sure there is a green light at the bottom or check the possible causes.
Verify your speed by running a speed test from different locations to ensure your connection is fast to the major locations in the world. For example, if you are downloading Chinese torrents, you should select a download location from China (or somewhere nearby) in the speed test.
Finally, try enabling Forced encryption and performing the extra things outlined here. If speeds still do not improve, we are also not aware of the cause. Perhaps your ISP has managed to break encryption in bit torrent traffic. Or your ISP is limiting your connection speeds, especially if they are in this list of Bad ISPs. Do let us know in the comments if you have found a way to solve your problems even with the suggestions above.
One more thing - it has been reported that reinstalling the network driver has made speed differences for many people. To reinstall, go to Control Panel, Network Connections and locate your network connection - most of the time it should be "Local Area Connection 1". Right-click the icon, Properties and note down the name under "Connect Using". There are two ways to update drivers:
AUTOMATICALLY: Click Configure > Driver > Update Driver. Allow the system to connect to Microsoft Online to check for drivers. Only manufacturers who send their drivers for certification can be found in Microsoft's website.
MANUALLY: Locate the latest driver for this device by going to the official site and downloading and installing it. Blizzard also has a nice guide here. WARNING: Installing an incorrect driver can cut off your internet! If unsure, call the technical helpdesk (e.g. Dell / HP / Acer ) and request for assistance on updating network drivers.
3)
How do I reset utorrent settings?
Note that this will delete all saved torrents and settings. Go to your C:\Documents and Settings\<username>\Application Data folder and delete the utorrent folder.
To reset the max half open connections, run the lvllord utility again (for XP) or run the undopatch.bat (for Vista).
4)
Does this guide apply for BitTorrent application as well?
Yes - the application has just a name change so it is safe to use this guide. If you compare BitTorrent vs utorrent, both are almost the same in features except for the naming, branding, icons and some additional links. There may be additional 'features', but all features from utorrent are there.
Last Updated 7th May 2008.
Errors? Omissions? Need Help? Know something? Please post your queries
in our Discussion Forum.
Please do not post unsuccessful incidents in the Comments below. If it does not work, I am sorry. I tried my best. I have provided the instructions to undo everything above (in FAQ #3). If you found out how to workaround it, let us know below and I will include it in the guide crediting you as well.
Did you guys realize there are at least 2 values in the advanced settings missing in the new version 1.6. In version 1.5 there were "diskio.write_cache_size" and disktio.read_cache_size".
just add to de above comment.
i read the following some where.
change the following in the advanced tap of uTorrent
peer. disconnect_inactive_interval
from 300 to 600.
you should be able to get a little bit more speed by doing this
although i would like to hear other peoples comments one this one
I tried, and I get an * in front of the value. The same happens when I try to adjust my net max half value. If the value is any thing other than 8 for net max half value or 300 for peer disconect, an * appears in front of the value, and utorrent will not communicate.
Corporate Firewall
Are you running this software in a corporate network? Bad news - you have to inform the admin that you want the port to be directed to your computer. The good news - you can still go by without port forwarding, but speeds will not be optimal.
very usefull guide this ! only when i tried to download
TCPIP.sys patch i get an error message from my AV
NOD32 virus found ?? for the rest great stuff !
It's NOT a virus ! I did'nt read the FAQ on lvllord.de, sorry for that. If you get this : Win32/Tool.EvlD4226 infiltration from your AV you need to turn off your AV, then no problems.
Is port forwarding really necessary for DOWNload speed? I've read elsewhere that it only helps upload speed. Also, does port forwarding open your pc to hackers, as the forwarded ports by pass your security firewall etc?
yes, it helps in download speed as additional peers can connect to you, no it doesn't open to hackers unless utorrent has a security issue or the OS has a security issue
I'd just like to say thanks.This was really really helpful I was downloading anywhere between 40 -60.Now I'm downloading consistently over 100.Anyone skeptical about downloading the patch and tweaking your comp fear not.You will be very happy if you follow his guide.Once again thanks for this.
Wow, in about two minutes this had doubled my download speed, and it just keeps going up. Plus I learned a ton about something I knew nothing about. I'm incredibly impressed at the simplicity of this guide. All you need now is a miracle, and they'll make you a computer saint. Nice job!
This a great guide, nice 'n' easy. I used to get speeds of 240kbps but then one day it just absolutely screwed up (don't remember what happed) so I came here to try and get back to my con's glory days and it worked! it's back I love my dl speed...
Great guide, boosted my abysmal d/l and u/l speeds (roughly 10-25kbps and up to 15kbps) to something vaguely respectable, by my standards, only been looking every now and then but d/l and u/l speeds of around 40-60kbps each glance. I like.
thanks so much for putting this guide up. it helped me increase my pitiful download speeds by 2 - 3 times! still a pitiful 30KBps tops but hey, ill take what i can get. Thanks again mate!
WOW! Sweet guide! i followed the port forwarding instructions and BAM! my d/l speed jumped from like freaking 20kB/s to an avg of 150kB/s!!!!!! im like the happiest man on earth now! It no longer takes me like freaking 4hrs just to get 700mb!!! SWEET! Thanks for the tutorial! Very helpful i must say!
when I run the Vista patch I get an error: access is denied. Not all data was successfully written to the registry. Some keys are open by the system or other processes.
this was great info & it increased my DL & UPL speeds unbelievably. But i didn't see any info about Queueing. My Q settings from the top down are 3,2, 150%, (Ignore) and No check marks. Are these settings OK????...or................
Nice guide, thanks for posting, got my speeds up significantly on certain torrents. I was always wondering why some torrents would go much slower than others even tho they had more seeds.
good guide but i think the problem was other in the speed guide i selected 256 which gave me around 14kbps but when i did to 512 it gave double the speed so don't think the speed u have is necessary to be put u can select higher speed also believe me it works because it worked for me
This is a very good guide, but it did nothing for me. I am still getting slow downloads like if I was using a dialup modem 56k HAHA. But it work for some poeple as you can see just by looking at they comments.
Root
Thank You!
now i am getting max speed for my 512k adsl. (need to upgrade )
i read the following some where.
change the following in the advanced tap of uTorrent
peer. disconnect_inactive_interval
from 300 to 600.
you should be able to get a little bit more speed by doing this
although i would like to hear other peoples comments one this one
Are you running this software in a corporate network? Bad news - you have to inform the admin that you want the port to be directed to your computer. The good news - you can still go by without port forwarding, but speeds will not be optimal.
How do I do this then, hmm? ^_^;
Good luck
Borat- "Nice, Nice! I like'a you!"
TCPIP.sys patch i get an error message from my AV
NOD32 virus found ?? for the rest great stuff !
iam getting like 150
when i was only getting 24 skiping highest of 45 lol
crazy stuff man crzy.
thanks! :)
good one
used it just now.
Increased my speeds....Thank you
Cheers
keep on sharing
regards
esourabh
thanks
Quadrupled my speeds from a demonoid download.
was meant to say good GUIDE!! grrr typo ^^
Last edited by Ganesh on Sunday 8 Jul 07 12:55:55 PM. Reason: typo
Easy to understand. :)
I'm From Chile, Tnxs!!!!!
I Have Awesome speed in my utorrent downloads !!!
Tnxs!