Improve BitTorrent Download Speeds

Discussion in 'File Sharing' started by Malicious Intent, Jan 22, 2004.

Watchers:
This thread is being watched by 91 users.
  1. Malicious Intent

    Malicious Intent People on my cool list...

    ****DO NOT POST IN THIS THREAD!! IT WILL NOT BE ANSWERED! START A NEW THREAD IF YOU HAVE QUESTIONS!!*****

    This guide relies on the use of Azureus or uTorrent as they are highly recommended. Azureus requires Java. If after installation the application will not load, it is because you do not have Java. You are not the first to think you have Java when you do not! More information is available on the Azureus site.

    If you are not currently using uTorrent or Azureus, before starting this guide:
    Beginners: Please change to either uTorrent or Azureus now.
    Intermediate: It is recommended that you change client now. If you choose not to, remember to come back to this section if you get stuck during the guide.
    Advanced: You will likely be able to find the equivalent options in your current client, assuming your client has all the necessary options.

    Other BitTorrent clients are available to switch to after working through this guide.

    This guide has been updated for Azureus 2.5.0.0 and uTorrent 1.6. Different versions may vary.

    Contents:

    1.0 Why are my downloads going slow?
    - 1.1 Reason 1: Your ISP is limiting your download speed
    - 1.3 Reason 2: You have a “NAT Error”
    --> 1.3.1 How do I know if I have this problem?
    2.0 Fixing a NAT error
    - 2.1 Switch off UPnP
    - 2.2 Configure Your XP Firewall (ICF: Internet Connection Firewall)
    --> 2.2.1 Configure ICF in SP1
    --> 2.2.2 Configure ICF in SP2
    - 2.3 Configure Your Router
    - 2.4 Configure Microsoft Internet Connection Sharing (ICS)
    - 2.5 Configure Your Firewall
    3.0 Multiple BitTorrent users on a LAN
    4.0 Other things that could be wrong
    5.0 Asking for further help

    1.0 Why are my downloads going slow?

    1.1 Reason 1: Your ISP is limiting your download speed

    Some ISPs are limiting download speeds by controlling the bandwidth allocated to traffic using the default BitTorrent ports, which are 6881 to 6999.

    This is not just a problem for those who have nasty ISPs, it affects everybody. To avoid ISPs from damaging the efficiency of a torrent with their controls, some stringent tracker owners are blocking users trying to connect on the standard ports.

    So whether your ISP is limiting you or not, all BitTorrent users should stop using the default ports.

    For simplicity, this guide recommends the use of port 16881. Adding a 1 to the start is simple administratively, and is in a range unlikely to be used by other programs.

    You then need to set up your client to use the new port.

    AZUREUS
    Tools -> Options -> Connection
    -> Add a “1” before the current listen port number. For example, 6881 will now be 16881.

    uTorrent
    Options -> Preferences -> Connection
    -> Type 16881 for the port number for incoming connections. Untick the box for Randomize Port.

    Whatever client you use, make sure you update anywhere else you have entered the port numbers to account for the change.

    By completing this section, you have helped to avoid problems later down the line, but this will not solve the majority of slow downloads. Therefore, move on to reason 2.

    1.2 Reason 2: You have a “NAT Error”

    BitTorrent works on a credit system. By uploading parts of a file to other people, they allow you to download parts of the file from them. This is BitTorrents anti-leech measure. However, if you have a problem with your NAT (anything between you and the internet, such as a router or firewall), you will not get credit for what you are uploading. The only downloading that you can do is from people who upload a small amount to you in the hope that you will return the favour. Since their client will not recognise your response if you have a NAT problem, then they will stop uploading to you shortly after. This is what is causing your problem. You may also notice that torrent speeds go very high for 5 minutes, before slowing back down to 0-5kb/s.

    1.2.1 How do I know if I have this problem?

    You might not have a problem at all. Before continuing with this guide, leave your torrent running for at least ten minutes. If the speed hasn't picked up, stop and restart the torrent. If that fails, try at least two other torrents. If you are still having problems, continue on...

    Start to download a file using your chosen client.

    AZUREUS
    Wait a while for the torrent to get started; this may take up to five minutes.
    Look in the “Health” column. If it is showing a yellow spot, then you need to configure your firewall/NAT/router. If it is Green then all is OK. Your slow downloads are being caused by something else.
    A full list of the different colours can be seen [http://azureus.sourceforge.net/faq.php#21]here[/url].

    Azureus can also check your configuration for you.
    Select “Tools” -> “NAT / Firewall Test”
    The default TCP listen port is 6881. If you have changed the listening port, enter the new port in the “Incoming TCP Listening Port.”
    Press “Test”
    If the result is “NAT Error,” please continue with the guide.
    If the result is “OK”, then your slow speeds are being caused by something else.

    PLEASE NOTE: The Azureus checker can report a false NAT error if you are running PeerGuardian or Protowall. Make sure these are disabled before using the Azureus wizard.

    uTORRENT
    Wait a while for the torrent to get started; this may take up to five minutes.
    On the status bar, look for either a yellow warning triangle, or a green dot. If there is a yellow warning triangle, then you need to configure your firewall/NAT/router. If it is green then all is OK and your slow downloads are being caused by something else.

    uTorrent can also check your configuration for you.
    Select “Options” -> “Speed Guide…”
    Check the current port is set to the port used in the first section, i.e. 16881.
    Click “Test if port is forwarded properly”.
    If you get an error, then continue to follow this guide. If the port is correct set up, then skip to the section 4.0 – “Other things that could be wrong”.


    2.0 It’s showing yellow / warning triangle, I have a NAT error – what do I do?

    You need to configure your computer and/or network to accept incoming BitTorrent port connections. The tracker port is 6969. If this port is not correctly configured, downloads will not start at all. The download/upload ports used in this guide are 16881-16889. It is these ports that are causing your problems.

    2.1 Disable UPnP

    Universal Plug and Play (UPnP), it is a feature that works with some compatible routers to open the required ports automatically. However, some routers, even if they are compatible with UPnP, have problems with this.

    AZUREUS
    Tools -> Options
    Expand "Plugins" on the left hand tree.
    Select "UPnP"
    Deselect "Enable UPnP"

    uTORRENT
    Options -> Preferences -> Connection
    Deselect “Enable UPnP port mapping”.

    2.2 Configure Your XP Firewall (ICF: Internet Connection Firewall)

    Please go to the appropriate sub-section.
    - “Configure ICF in SP1” if you have NOT installed Service Pack 2
    - “Configure ICF in SP2” if you have installed Service Pack 2

    2.2.1 Configure ICF in SP1

    Open up your “Network Connections”. Right click on your internet connection or LAN connection and select “Properties”.
    ->Select the “Advance” tab
    ->If the “Internet Connection Firewall” is not ticked, then this is not your problem. Research into whether you need the XP firewall or not and jump to "Configure Your Router" below. If it is ticked, please continue:
    ->Click “Settings…”
    ->On the “Services” tab press “Add…”
    ->Description of service = BitTorrent
    Name or IP address of the computer hosting this service on your network = 127.0.0.1 (this means "the local machine.")
    External Port number for this service = 16881
    Internal Port number for this service = 16881
    TCP/UDP = TCP
    -> Press OK.

    -> With uTorrent, make sure Options -> Preferences -> Connection -> "Port used for incoming connections” is equal to 16881.

    -> With AZUREUS, make sure that "Tools -> Options -> Connection -> Incoming TCP Listen Port" is equal to 16881.

    Check if the torrent/health has gone green. If not, move on to section 2.2.

    2.2.2 Configure ICF in SP2

    -> Open your Windows Control Panel and select “Security Centre.”
    -> Scroll down to the “Manage security settings for:” section and select “Firewall”
    -> Decide whether you want to keep the firewall on or off. Make an informed decision based on more than the information provided by Microsoft. If you decide to switch it off, then do so and move onto section 2.2. Otherwise, continue this section.
    -> Select the “Exceptions” tab.
    -> Select “Add Port…”
    -> Name: = BitTorrent (or anything of your choice)
    -> Port number: = 16881
    -> TCP/UDP = TCP
    -> Press OK.

    -> With uTorrent, make sure Options -> Preferences -> Connection -> "Port used for incoming connections” is equal to 16881.

    -> With AZUREUS, make sure that "Tools -> Options -> Connection -> Incoming TCP Listen Port" is equal to 16881.

    Restart the client and wait five minutes. Check if the health has gone green or that the warning triangle has vanished. If not, move on to section 2.3.

    2.3 Configure Your Router

    If you are on a LAN with a router or hardware firewall, you may need to configure it. You need to forward BitTorrent’s connection ports to your specific PC on the LAN.
    If your connection is shared using Microsoft Internet Connection Sharing (ICS), go to section 2.3.
    There are too many routers to cover in this guide, so it is time to head to Google. Search for port forwarding, BitTorrent and the name of your router. Lots of manufacturers provide specific information on their sites. A generic guide to port forwarding for most routers can be found at PortForward.com.

    -> With uTorrent, make sure Options -> Preferences -> Connection -> "Port used for incoming connections” is equal to 16881.

    -> With AZUREUS, forward port 16881. Make sure this matches "Tools -> Options -> Connection -> "Incoming TCP Listen Port"

    Restart the client and wait five minutes. Check if the health has gone green or that the warning triangle has vanished. If not, move on to section 2.4.

    2.4 Configure Microsoft Internet Connection Sharing (ICS)

    If you are sharing an internet connection using ICS, then you will need to forward the BitTorrent ports.

    Windows 2000 users, click here for information on forwarding (mapping) ports.

    Other users:
    Shock Systems used to provide a useful tool called “ICS Configuration” for changing the settings of ICS to allow full BitTorrent access to a second computer. You can download a copy here thanks to Zeropaid member cpugenuismv.

    -> Install the program on the serving computer and run it
    -> Click “+ Add”
    -> Name = [whatever you want, e.g. BitTorrent]
    -> Target = Local IP of machine running BitTorrent, e.g. 192.168.0.2
    -> Description = [whatever you want, e.g. “allow BitTorrent for 192.168.0.2”]
    -> On the “Ports” tab, slect “+ Add”
    -> Select “Port Range” from the drop-down box
    -> Enter “16881” and “16889” into the relative boxes
    -> TCP/UDP = TCP
    -> Data translation = NORMAL
    -> Press “OK”, Press “Enable”, Press “OK”.
    -> Close everything and reboot the PC.

    The settings will be saved in your registry. There is no need to open ICS Configuration with ICS.

    -> With uTorrent, make sure Options -> Preferences -> Connection -> "Port used for incoming connections” is equal to 16881.

    With AZUREUS, forward port 16881. Make sure this matches "Tools -> Options -> Connection -> Incoming TCP Listen Port"

    Restart the client and wait five minutes. Check if the health has gone green or that the warning triangle has vanished. If not, move on to section 2.5.


    2.5 Configure Your Firewall

    As with routers, there are too many to cover here, so time to head to Google. Unlike with other sections to this guide, ports only have to be opened, rather than forwarded.

    With both AZUREUS and uTorrent, open port 16881.


    3.0 Multiple BitTorrent users on a LAN

    The same port can not be forwarded to different computers, so decide who gets which ports, for example:
    192.168.0.2 = 16881
    192.168.0.3 = 16882 etc.

    Set up your router or ICS to forward the ports to the chosen computers.

    Now you need to set up the BitTorrent Clients:

    AZUREUS
    Each computer only needs one port forwarded to it.
    -> Tools -> Options
    -> "Connection" on the side menu
    -> On “Incoming TCP Listen Port” enter the port number that is being forwarded to that computer. Taking from the above example, computer 192.168.0.3 would enter 16884.
    -> Repeat for all the users

    uTORRENT
    Options -> Preferences -> Connection -> is equal to 16881.
    -> Set "Port used for incoming connections” to the port number that is being forwarded to that computer. Taking from the above example, computer 192.168.0.3 would enter 16884.
    -> Press “OK”
    -> Repeat for all users.

    4.0 Other things that could be wrong

    Try limiting your upload if you have ADSL/DSL. Sometimes BitTorrent can try to upload so much that it floods your upload, making it difficult for incoming connections. Slyck.com explains further:
    CCSDUDE makes this recommendation on limiting your upload:
    Some ISPs recognise BitTorrent traffic and then limit it. Simply switching to Azureus or uTorrent will mean that you traffic will be encrypted between compatible clients. Without giving technical details, this will stop ISPs from recognising the traffic as being from BitTorrent.


    5.0 Asking for further help

    Start a second in order to ask for further help. DO NOT REPLY TO THIS THREAD. Please make sure that you have exhausted your Google skills before asking. Also, read carefully through this thread and others started at ZP for answers. DO NOT REPLY HERE.

    Another helpful guide on how to configure your BT client can be found here.

    If you still need to ask, please:
    -> Say clearly what the problem is
    -> Say what client you are using
    -> Say whether you are on SP1 or 2
    -> The exact setup of your network/ how your computer is connected to the net
    -> All the software you are running
    -> What you have done so far to try and resolve the problem

    I know it sounds harsh, but please do not expect a response to anything like “I’ve been through the guide, what else could it be?” If you health is green, start a new thread with your problem, I don't know the answer!

    ++There are no restrictions on copying and editing this guide. My only request is credit where it is due.++

    ****DO NOT POST IN THIS THREAD!! IT WILL NOT BE ANSWERED! START A NEW THREAD IF YOU HAVE QUESTIONS!!*****
     
    1 person likes this.
  2. cpugeniusmv

    cpugeniusmv Computer Genius Established Member

    very well written.

    good guide!
     
  3. wow... thank you. i had just guessed that my files of choice didnt have enough users. then i DLed azurus(sp?) and checked the health thing, and it was yellow. stupid ICF... i just disabled it since i have norton running.
     
  4. Malicious Intent

    Malicious Intent People on my cool list...

    With the number of people behind NATs, this must be a really common problem, so don't worry about being the only one with a bad set up wonderboy2005. Improving one persons download speeds has made it worth my while already!
    With SP2 being launched that puts the ICF on by defualt this problem is set to get worse. There are surprisingly few guides on the internet about setting up XP firewall. This one is made from a bunch of other vague guides.
     
  5. prodaytrader

    prodaytrader Member

    Malicious Intent thanks for your post. I have heard time and again that I needed to forward some ports on my router but since i was downloading i never thought i needed to do it. Since i read your section, i realized that even though i was downloading i wasnt doing so at its full potential. This made me finally forward those ports and since then my speeds have greatly improved. Sometimes i would get great connections and sometimes i wasnt. I never realized that i had a problem. point of advice for anyone on a router....open those ports regardless if you think you need to or not. Just do it! :p

    Why are my downloads going slow?
    BitTorrent works on a credit system. By uploading parts of a file other people, they allow you to download parts of the file from them. However, if you have a problem with your firewall, NAT or router, you will not get credit for what you are uploading. This is BitTorrents anti-leech measure. The only downloading that you can do is from people who upload a small amount to you in the hope that you will return the favour. Since their client will not recognise your response if you have a firewall problem, then they will stop uploading to you shortly after. This is what is causing your problem.
     
  6. CCSDUDE

    CCSDUDE Proud Girl Lover

    Looks good MI, try for some other clients down the road. :)
     
    1 person likes this.
  7. cjules13

    cjules13 Member Established Member

    I'm using the ol Experimental client, and I find that my upload for some reason caps at 50k, so therefore my download is capped at 50k... I have both settings set to unlimited... Not that 50k down consistently is terrible, but is there a way or another client that can boost the dl past 50k?
     
  8. zaphodiv

    zaphodiv Alpha Geek

    Not quite. A firewall or NAT will prvent you exchanging data with other firewalled/NATed bittorrent clients. You will get credit for what you upload but you can only upload to people with their BT port open.

    Yes, it's not unusuall for a torrent with a dozen downloaders to get stuck because the people who's client can receive incoming connection finish, close their client leaving firewalled users stuck because they havn't finished and can't excahnge data.
     
  9. Malicious Intent

    Malicious Intent People on my cool list...

    I'm sticking with my original statement. When the firewall is misconfigured you can see that people are snubbing you even when you are uploading to them. That is not because you can't upload to them (because you are), but because you arn't getting the credit.

    cjules13, BT doesn't work on the basis of one Kb up equals one Kb down. As long as you upload at least 16k a minute to a user, they will not snub you and will continue to upload to you at the rate they have their maximum upload set at.
    If you are on a 1mbit connection and you are totalling 100k, then that is about the most you will get. To increase your download, limit your upload.
     
  10. Bullet R|de

    Bullet R|de Member

    I have an ISP which requires you use http proxies.

    Azureus (unlike a few other BT clients) works and downloads fine. I DO get the green icon.. however i am only downloading at an average of about 28kb/s whereas my connection can handle 66kb/s.
    I am using a torrent with 100+ seeds and downloads so thats not the problem.. I have also limited my upload speed so thats not the problem either.

    Do i also have to change any configurations which might help my download speeds? Note that I have previously had troubles uploading files through Kazaa/IRC etc. if that helps any of you experts to determine the problem ;)

    Windows XP firewall is disabled and i am using ZoneAlarm through which of course i allowed full access to azureus.
     
  11. Malicious Intent

    Malicious Intent People on my cool list...

    I've upgraded the guide. It now has a few sentences on 100% CPU usage based on -RaZ-'s solution. I've also added a contents, updated the guides on Azureus to reflect the changes in the latest version and a few other minor changes.
    I'm hoping that the contents and 100% CPU usage parts don't damage the original simplicity.
    I'm waiting for extra information on the conflicts between Xfire and BT.
     
  12. Hey, i'm back here from a long, long break. I did everything in your guide port forwarding disabled firewall everything yet still get a yellow light and inadequate download speeds when people upload at 100 kbs and im downloading at 10.
     
  13. The Hunter

    The Hunter Janitor

    This thread has been stickied also.
     
  14. LiaScott

    LiaScott Member

    Thanks for the guide! I'd looked all over trying to figure out how to configure that stupid firewall. Tried turning it off but that seemed to cause more problems (sudden influx of viruses) than running Azureus with it on.

    Oh! I thought my speeds were for the most part what you should expect from a slow connection/old-ish computer, but my uploads not showing up on the tracker had been bugging me. Don't want to get banned for leeching when I'm not actually leeching. Thanks again.
     
  15. moneoa

    moneoa Vita!!!!!!! Staff Member Moderator

    I have a wireless Linksys Router with the home P.C directly wired into the router with my laptop using the wireless functions. I use Bittornado (newest version). My question is when I forward my ports to each computer I set it up like this 192.blah.blah= 6881-6939
    with my other Ip reciving 6940-6999 Does this mean because the tracker port is forwarded to the one computer I cant properly finish the donwload on the other computer? I am wondering because the download speeds and connections are never consistent with each other. (its green lighted as well) So is there a preferable way to forward the ports between the two? I have also wondered if the wireless connection effects speeds at all though I have gotten really nice speeds on my laptop (though really horrible ones) but usually the hardwired P.C plugged directly into the router never has TERRIBLE speeds...unless youconsider 40+ bad (maybe all you cable and dsl junkies not including myself, no bandwidth junkie here...really...no....really). Any insight from anyone would be helpful
     
  16. moneoa

    moneoa Vita!!!!!!! Staff Member Moderator

    your isp set these caps in place..most of the time to control what they term "bandwidth hogs"
    its becoming common with all this copyright garbage and the fact some people actually do download ALOt. *cough, Cough* I have downloaded more than 50 gigs some months and they include the upload and put in in those stats as well so it can add up (not saying you do, just explaining why they would cap it)
     
  17. Malicious Intent

    Malicious Intent People on my cool list...

    Thanks Moneoa - you have just found a major mistake in my guide. The port range is 6881-6889 and the tracker port is 6969.
    The tracker port does not need to be forwarded, just make sure that it is open.
    Remember that you only need one port for each simultanious download. The 50 odd each you currently have is a bit OTT anyway.
    I thought that the latest BitTornado, like Azureus, only needed one port now anyway?

    I'm about to upgrade the guide to include some information on ICS. I will correct this mistake while I'm at it.
     
  18. pipolis

    pipolis Member

    Bittorent !! better let the Fingers from it.

    Bittorent is way not so fast than Kazaa , it sucks all your Memory and other Computer Energies out as fast as Possible , the Time you launch this Prog , your resources are all gone , no more good Internet , even you are high speed before , Progs are going slow , even if Sp1 installed , all going down , me i call Bittorent the Vampire of the P2Prs.

    If you have about 5 Films or other Pgrs , everyone sucking on you , so much that the upload is faster than your download , and finaly all upploads are sucking so much that your Line is flatten so much you not even can Surf in normal Speed.

    The Best Programm i have for about Years , is Kazaa lite , and it will be until they shut it down .

    greetings to all..

    :devil2 Bittorent
     
  19. Malicious Intent

    Malicious Intent People on my cool list...

    I'm sorry you feel that way Pipolis.

    Enjoy using k-lite.
     
  20. homie_da_clownx

    homie_da_clownx End User

    Azureus

    I use Azureus have forarded the one required port and my Down speeds still suck, do i need to forward that whole range? 68** - 68** (couldnt remember the exact) or should i just wait and hope? any advice would be helpful pm me whatever thanks.
     

Share This Page