PDA

View Full Version : BitTorrent Solving slow BitTorrent download speeds



{I}{K}{E}
01-24-2005, 12:59 PM
This guide relies on the use of Azureus (http://azureus.sourceforge.net/) or Yet ABC (http://pingpong-abc.sourceforge.net/) as they are highly recommended. The ABC core is currently slightly dated, but this will be updated soon. (For those using BitTornado - ABC uses the BitTornado core, but has a queuing system for better control of multiple torrents). 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 ABC or Azureus, before starting this guide:
Beginners: Please change to either Yet ABC 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.3.0.4 and ABC 3.1. 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 Azureus users - 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 Your Firewall
3.0 Multiple BitTorrent users on a LAN
4.0 Other things that could be wrong
5.0 Freezing torrents and/or 100% CPU usage
6.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.

YET ABC
File -> Preferences -> Network
-> Type 16881 for the port number.

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 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 5mins, 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.

YET ABC
Wait a while for the torrent to get started; this may take up to five minutes.
Look at the colour of the torrent. If it is yellow (sometimes appears slimy green. If it is green then you will know it), 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 here (http://pingpong-abc.sourceforge.net/faq.html).

2.0 It’s showing yellow, 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 If you are a Azureus user, then switch disable UPnP
** If you are not using Azureus, skip to 2.2 **

Universal Plug and Play (UPnP), it is an Azureus 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.

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

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

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 ABC, make sure File-> Preferences -> Network -> "port” 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 ABC, make sure “Action-> Preference -> Network -> Minimum port” 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.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 (http://portforward.com/).

-> With ABC, make sure File-> Preferences -> Network -> "port” is equal to 16881.

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

Check if the torrent/health has gone green. If not, carry on:


2.4 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 YET ABC, 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

YET ABC
File -> Preferences -> Network
-> Set "port” 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:

It might seem strange to hear that your upload speed can directly affect your download speed, but it can, and quite dramatically. The reason behind it is based on the way the Internet works. When you download a file (or in this case, chunks of a file), your computer sends a tiny message back to the source computer, called an ACKnowledgement packet. These ACK packets tell the source computer that chunk #1 has arrived OK, please send #2. When #2 is down, it sends another, and so on. The source computer will not send #3 until it gets the ACK from #2. It uses a small amount of your upload bandwidth to do this. This works fine when downloading files off the Internet, but with P2P, you tend to upload as well.

This is especially true with BitTorrent – because you upload as well. If done efficiently, downloads can be very fast. The problem lies with the fact that you upload *so much* that the ACK's do not get sent out fast enough, which slows your download. The simplest way to solve this is to limit your upload bandwidth. 80% of the maximum is usually recommended, but I find I can set it to 90% with no adverse effects. This gives your ACKs a bit of breathing space to get out with.
CCSDUDE makes this recommendation on limiting your upload:

Originally Posted by CCSDUDE
Try 11kbs up as your limit on a 128k upload package...double it for 256/1.5mb lines and keep going up as you hit 384/ect. That seems to be the sweet spot on BT. Enough to keep everyone happy whilst not slowing your downloads down or slowing your surfing.
5.0 Common BitTorrent problems

This section covers other problems which BT users may be suffering from.

5.1 Client or program freezing

Symptoms: Torrent starts well, achieving good speeds. Speed then falls to zero. This is followed by the client freezing, computer freezing and/or loss of internet connection.

Solutions:
1) This is a common problem with ZoneAlarm 5. Switching it off may not solve the problem. It is recommended that users switch back to version 4.5.
2) Norton Anti-virus sometimes tries to scan the chunks which make up the files you are downloading. Get yourself a decent anti-virus program!

5.2 Freezing torrents and/or 100% CPU usage

Make sure you are running the latest version of your favourite client, as many have now solved this bug.

-RaZ- has provided help for those who are still having problems:

You need to limit the number of peer connections to 60.

AZUREUS
Tools -> Configuration -> Connection -> set the "Maximum number of connections per torrent" to 60.

YET ABC
File -> Preferences -> Network -> Advanced -> set the "Max peer connections" to 60


Original Created by Malicious Intent @ Zeropaid.com

thedazman
04-19-2005, 08:43 PM
May i add a note?

In your preferred client, the setting for 'max connections per transfer' or something along those lines may have a default value of less than 100.

If you have a torrent which has lots of peers, which you usually do, well you should set that to a higher value.

Well in my experience i have found that could cause a problem connecting to the optimal number of peers. ;)

Hope this helps

darklatin
07-22-2005, 02:24 AM
Just to add again to the last post, if you do set 'max/infinite outbound connections per torrent or globally then be prepared for a high CPU usage and clogged port. Its a bit of a double-edged thing whereby you can get the optimal # of peers but end up with slow everything-else. Unless ofcourse you have a beast of a PC :snooty: .

Also for Azureus users with torrents downloading slow and uploading obscene amounts i.e. 1.2kB/s-Down / 43.23kB/s-Up! :angry: , a little trick if you have time while downloading. Open up the details tab for the torrent and look for the 'Details' tab.

Then, if you can be bothered to scrutinise every connected peer you can see how much each peer is sharing with you under the down & up columns.

You will find that there are some cheeky sods :wacko: that are uploading huge speeds from you but only giving you tiny download speeds with them.

Please use discretion though as some peers are just starting up and will even out given a few minutes.

But in anycase if you do catch and kick the obvious culprits you will free a slot for another peer with (hopefully) better speeds in sharing. :unsure:

wit_
08-10-2005, 09:00 AM
This was very informative :D

I configured my Torrent-client and now I should get a bit better speeds ;)

oldjagman
10-24-2005, 09:06 PM
With Azureus 2.3.0.4 I have found that installing the "Multi-port Trackers" plug in has greatly increased my speeds. I am however on a stand alone PC and have no Network problems to contend with. I have 2.2Mbps ADSL and am experiencing high contention rates at present due to exchange congestion. Nevertheless I can download in the 100 - 180 kBps range with upload set to 20 kBps with this plug-in installed. Previously I was crawling along in the 0 - 25 range.

nukie
11-09-2005, 04:40 AM
thanks for the useful info..
U ROCKS!!!

oceansgurlie
11-12-2005, 10:00 PM
i have a quick question, i'm behind a network firewall and was wondering if the above method would work for bitcomet also?

thanks in advance!

brianhu458
11-16-2005, 03:42 AM
thanks a lot
here is another great guide for newbies:
http://forums.afterdawn.com/thread_view.cfm/229385

mufaa
01-28-2006, 06:35 AM
I solved my NAT error yesterday. I dont knw what triggered it to work because before i had my ports forwarded on my router but uTorrent still gave the NAT error.
What i did was to forward ports frm 50000 to 50003 TCP and the same for UDP. And it worked! Hope it helps somebody.

charro01
02-18-2006, 03:38 PM
thanks ,its the way simple to manage you speed to download

nocturne12
03-16-2006, 03:37 AM
thanks

coz
03-19-2006, 10:37 PM
thank you,am new to torrents this helped me understand quite alot.
cheers coz

vinwal
03-26-2006, 09:18 PM
Hi, sorry for being such a noob, but I have no clue how to install ABC. I am currently using Bittornado 3.7. I have downloaded ABC 3.1 but now I can't figure out installation. :frusty: any help would be appreciated.

ourfaza
05-08-2006, 08:25 AM
Oh great, thank you. :happy:

xplorebuddy
06-01-2006, 11:01 PM
i will sure try the utorrent suggestions

Thanks

sshaw1982
06-13-2006, 11:42 AM
Thanks for this! been trying to resolve my NAT error for a few days now!

hisamrain
06-22-2006, 02:09 AM
Great help.
thanks

wukka
06-25-2006, 06:04 PM
Hey everyone, yup µTorrent is superior to Azureus...JAVA apps are creepy-crawly slow and bog down your system.
http://www.utorrent.com/download.php

ernestus
06-26-2006, 03:38 PM
If you want better speeds, then use private trackers instead. Most public trackers are loaded with leechers who throttle their upload speed.

__B__
07-08-2006, 12:48 PM
wow, thanks! I just changed the port thing and my download is flying!

{I}{K}{E}
07-08-2006, 10:12 PM
updated the guide :)

PooBar
07-10-2006, 11:00 AM
May i add a note?

In your preferred client, the setting for 'max connections per transfer' or something along those lines may have a default value of less than 100.

If you have a torrent which has lots of peers, which you usually do, well you should set that to a higher value.

Well in my experience i have found that could cause a problem connecting to the optimal number of peers. ;)

Hope this helps

i'm not so sure in setting you max connection per torrent to a very high value as this can at time's slow the torrent down as it may chock you ..i set my max connection per torrent to 70 ..so if i get a average of 10kB/s from each connection i get a 700k download ..some connections will give you even more than just 10 .so setting your connection per torrent high does not mean a faster download ...i would only set it to a high number if you have a fast connection ,like a 1 bit up ..

__B__
07-12-2006, 07:27 PM
Can someone please tell me why id be getting crappy download speeds (around 15kbps) NAT is fine, ratio is good, i change ports but it only speeds up for about 20 seconds then goes back down


There are only 13 seeds and about 50 peers, would that have something to do with it?

and im in Australia, maybe AUstralia's broadbrand is just crap?

red_1tyme
08-14-2006, 02:32 AM
thanks for the info it has helped alot

enjoy_with_me
08-20-2006, 09:02 AM
thnx for topic

viet
08-22-2006, 09:31 PM
great guide, thanks

n1ke
08-25-2006, 04:30 PM
wooohooo this is great. solved all my downloading probs. before i was only downloading at 150kbps now its downloading at 700kbps.

PooBar
08-25-2006, 10:03 PM
Can someone please tell me why id be getting crappy download speeds (around 15kbps) NAT is fine, ratio is good, i change ports but it only speeds up for about 20 seconds then goes back down


There are only 13 seeds and about 50 peers, would that have something to do with it?

and im in Australia, maybe AUstralia's broadbrand is just crap?


im in australia and get good to great speeds ..it depends if you are using a private/public tracker. private are allways faster than public , so maybe it could be you are using a public tracker as i only use private and average speed of a torrent would be say around 500kB/s...if its below 150kB/s ..its slow......iv'e got cable 1.5/256

djlove
08-27-2006, 04:36 PM
thax a lot for dis info

InspiredMind
10-06-2006, 03:54 AM
Thanks for this guide.
I am now downloading Azureus as it's new to me. Have been using uTorrent till now (which I like, but it's the only one I've used so perhaps Az is better).

Files4Life
10-06-2006, 09:46 PM
thanks for the guide helps alot

Spudito
10-07-2006, 02:41 PM
thanks {I}{K}{E} (http://filesharingtalk.com/vb3/../../members/ike-10283) for the guide :)

Tmaster
10-12-2006, 10:45 PM
good work man

amermer
10-13-2006, 01:20 PM
I've resolved my NAT problem with your guide.
Thank you man :)

torzola
10-15-2006, 08:01 PM
hmm.. tnx m8te this could be useful...

moosetrap
12-30-2006, 05:30 AM
Thanks, everyone. This thread proved extremely helpful.

djsosofresh
01-02-2007, 04:33 AM
I am currently using BitLord to download torrents because a friend of mine told me about it. However my speeds arent that great. I was wondering what people think the best torrent client to use is? Or does speed have nothing to do with the client you are using?

drago2007
01-13-2007, 11:26 PM
I tried downloading torrents early last year but gave up on it fairly quickly because of poor download speeds and multiple disconnects. Thanks to this guide I got it all straightened out now and any client i use works like a champ now.

djsosofresh,
I had little to no luck with any client I used. most would not connect at all. BitTornado now and then but the speeds were bad. most stayed around 20k if it actually connected. After going through the guide I found my problem was port forwarding with my router and settings in my firewall. After trying a few downloads with multiple clients I get around 200 - 200k.

magicrabbit
01-15-2007, 04:49 AM
So much help, thank you

djsosofresh
01-15-2007, 04:53 AM
thanks!
looks like I will need to go through this guide and try to get my port forwarding to work.

djsosofresh
01-15-2007, 06:10 AM
this guide is great! i just got finished configuring my torrent client and my speeds increased drastically!

kingace
01-23-2007, 08:23 AM
Awesome Its Like My Client Is High !!!!

k0udek
01-24-2007, 01:52 AM
:D Awesome

orygun
02-03-2007, 12:07 AM
Improved a little for me except some of the tips I was already aware of.

dodlie
02-10-2007, 01:22 AM
working great

flape
02-11-2007, 06:18 PM
this guide is great !!!

djxkape
03-04-2007, 10:56 PM
hmm sounds interesting will give it a go

NeRoToXeN
03-05-2007, 12:09 AM
ll have to try this out when I get home... @my moms on her lappy... leeching wifi off of a neighboor ;)

Aaxel21
11-29-2007, 11:45 AM
Awesome. There is some great info here. This will come in handy a lot.

helsing
11-29-2007, 07:18 PM
For fixing slow speeds, also turn on encryption in your torrent program, cause maybe your isp limited your bandwidth for the torrent protocol.

Papps78
11-30-2007, 02:01 AM
Great guide, thanks.

LoKaLiRi
11-30-2007, 06:32 PM
very very thanks m8 :D

maddoxro
12-01-2007, 12:08 AM
i believe that 90% of the speed "problems" are from your ISP,not utorrent,or other bittorrent client...

Magnum
12-06-2007, 04:22 PM
Thanks for the useful info!!Great job!

0riGiNaLBoX
05-24-2008, 06:35 PM
thanks alot and i have other tutorial for this

HighestBiddeR
08-27-2008, 10:33 PM
thanks for sharing, this really helps a lot

omri08
08-28-2008, 02:26 PM
Thanks a lot man

snakebite
08-29-2008, 01:57 AM
Top work my good man....I think this will help out a lot of people

McBride
09-05-2008, 04:06 PM
This was very informative!Thx

aaa101
09-12-2008, 05:22 PM
Thanks for this guide!

pingusso
10-26-2008, 08:23 PM
http://www.bootstrike.com/Articles/BitTorrentGuide/
This tutorial also helped me a lot, you should check it out.
Btw great guide =}