Optimizing the Transmission Bittorrent Client for Speed

Transmission-Icon-ImageThis guide shows how to speed up downloads in Transmission.  All bittorrent programs need to have their incoming and outgoing communications flow freely in order to achieve the highest download speeds and that is essentially what this guide is about.

This guide was put together using information given by the developers of bittorrent programs at their forums, guides and FAQs.  There are no secret tricks, just the real basics of proper set up of a bittorrent program.  Following these simple steps should result in increased download speed.

These are the basic principles of optimizing a bittorrent client, like Transmisssion, for speed: 

  • Choose a proper port to avoid ISP blocks and conflicts with other programs
  • Forward that port through any software firewall and router to allow incoming connections
  • Adjust internal settings based upon upload capacity of the internet connection to allow room for outgoing communications and to distribute upload efficiently. 

There are some programs that claim to optimize speed in Transmission.  Such programs are a scam and generally contain adware or spyware.  I have seen it said, by the developers of all bittorrent programs, that nothing will increase your download speed in a bittorrent client more than the basic steps set forth herein.

 Note When viewing this guide in Internet Explorer the Mac command key symbol appears as a box.  I do not know why yet.
This guide is now for Transmission 1.33, thanks to the anonymous poster below who provided the screen shots

If you are not using Transmission, there are several other specific guides for other clients and a general guide here:
Optimizing Bittorrent Clients

 

Choosing A Proper Port

To avoid messing up a network connection that is already cleared, first check and see if your communications are blocked or are already clear.  Have Transmission running while testing the port.

Click to Test Your Port  Success-just go to Adjusting Internal Settings.   Error- follow all steps.

This setting in Transmission is at Preferences (? + ,) or (Ctrl+,)>Network -"Network: Peer listening port":

transmission-preferences-network-port-choice-location-image

If you failed the port test above, then you should first set your port to a proper one.  The most important choice here is to avoid using a port within the 6881-6999 range.  This was the range originally used by bittorrent programs and is often blocked by Internet Service Providers (ISPs).  (If your port was in this range, change and re-test). The safest choice is a port in the 49152-65534 range as this will avoid ISP blocks and possible conflicts with other applications.
Vuze-Wiki:  Port is Blacklisted

Forwarding The Port

Introduction
A router will block incoming communications unless an exception is made.  All software firewalls will block incoming communications and most will also block outgoing communications, unless an exception is made.  If you are "firewalled", then other people will not be able to initiate connections with you (see Why Is Being Firewalled Bad).
As there are many firewalls and routers, this guide can not give explanations as to each.  However, there are guides available, on the internet for most firewalls and routers and this guide will link you to them.

Software Firewall - The permission should be set to allow TCP and UDP in both directions.  Generally, you will have a choice to set permission for  the Transmission port or for the Transmission program.  Setting permission for the port is the safer choice.  You can check these options for guides:

Router - There are two choices here.  The easier way is to use UPnP.  However, this has a possible security issue.  Using UPnP allows any program to create a port mapping through the router without consent of the owner.  Note:  Given the recent findings of Rapid7 regarding security flaws in UPnP, it is generally suggested here that manual forwarding be used.  If you still want to use UPnP, then it would be a good idea to test and see if your device is vulnerable to attack through UPnP.

The other choice is to manually forward the port through the router.  This does not have that security issue, but involves going through several steps to accomplish.  Using the guides linked herein, this should not be that difficult and is the preferred method.

UPnP (NAT-PMP in Apple) - The Easy Way Enable UPnP (NAT-PMP for Apple) in Transmission and router.
In Transmission this setting is at Preferences (? + ,) or (Ctrl+,)>Network "Automatically Map Port"
transmission-preferences-network-upnp-location-image

Manual Forwarding-The Preferred Way

  1. UPnP (NAT-PMP) must be disabled in Transmission (see Image above). 
  2. Use the Static IP Guide.
  3. Set permission for Transmission port.  This should be set to allow both TCP and UDP communications.
    You can check these options for guides: 

Click Here to Re-Test Port    Success-Proceed to next step.   Error- re-do steps or seek help in Forums.  Have Transmission running while re-testing the port.

Note:  Portforward.com does not have guides specific to Transmission.  Use the guides for Azureus/uTorrent and the screen shots from this guide.

Adjusting Internal Settings

Introduction
The  most important setting here is to cap upload in  Transmission to 80% of your overall upload capacity.   Setting upload in Transmission is a fine line.  The more upload you give, the more download you will get from other peers. However, if upload is set too high, or to unlimited, then download speeds will suffer as outgoing communications (acknowledgment signals, resend requests etc) will be interfered with. Other adjustments are made here to distribute your upload so that you receive back the most download from other peers.

Speed Test: Speedtest.net (Click for Test)
First the upload capacity of your internet connection must be determined by taking an online speed test.  Speedtest.net has test locations worldwide and will highlight the one closest to you.
To take the test you must have Flash installed and javascript enabled.

Before taking the speed test, press Settings in the upper right of the speedtest.net page.  This will take you to another page.  At the bottom of that page is the "Global Settings" options.  Set "Speed Measurement" to kilobytes and press "Save" .  This will facilitate entry into the calculator below and will lessen confusion as Transmission  shows speeds in kilobytes.

 speedtest-net-settings-button-location

 

speedtest-net-speed-measurement-kilobytes

speedtest-net-save-settings-button

You should stop all internet activity, including torrents, before taking the test and the test should be taken a few times to obtain a reliable average. Results will now show in KiloBytes. It is the upload rate that is important here.

speedtest-net-results-kilobytes

Another Way To Test Upload Speed
For most people these test results will be reliable (Comcast users see Note).  However, you may wish to do a double check on real life upload speed.  When you are active on a torrent with a good number of peers and you are using your upload cap, set upload to unlimited and watch for about 5-10 minutes and see where upload settles in at.  Then input that number into the calculator in the kiloBytes section. 

Note:  Some ISPs will show inaccurate results on the speed test.  If your ISP has anything like Comcast's PowerBoost, then your results will show higher than the actual speed of your connection.  PowerBoost provides a burst of download and upload speeds above your provisioned download and upload speeds for the first 10MB and 5MB respectively.  Since the speed test involves relatively small files, this will skew results upward.
If you have PowerBoost, or something similar, my findings from my own results and those of others is that the actual speeds are 60% of the test result.  So if you get 200kB/s for upload at the test, you should enter 120 in the kB/s box in the calculator.  Using Google ("speed result" x .6) will get the proper number to enter in  the calculator and this actually turns out to be very accurate.  You should end up with the calculator showing a cap that is about half of the test result.

Calculator Azureus Upload Settings Calculator
Once you have an average upload speed for your connection go to the online Azureus Upload Settings Calculator. Although designed for Azureus, this calculator will work for all bittorrent clients.
This calculator was created by the8472 a contributor to Vuze (fka Azureus) and part of the team that created Bittorrent Protocol Encryption.

Enter your average upload speed in the appropriate box

azureus-upload-settings-calculator-kBs-entry-image

The calculator will automatically give the proper figures to adjust various options in Transmission

calculator-transmission-bandwidth-results

calculator-transmission-connections-results

calculator-transmission-queue-results

 

Input Results Into Transmission - Screen shots of locations in Transmission of settings to be adjusted

Preferences (? + ,) or (Ctrl+,)>Bandwidth
transmission-preferences-bandwidth-settings-image

NOTE:  The calculator will give a reading of "0" for download as this means "unlimited" for all other bittorrent clients.  For Transmission if you want download set to unlimited, then do not check the box to limit bandwidth for download.  The only box that should be checked is the one for "Upload rate" and the appropriate number from the calculator should be entered in the box.

The "Speed Limit Mode" is a scheduler and should not be enabled at this time.  If you are with and ISP that limits bandwidth usage at certain times of day, this would be useful.

 

Preferences (? + ,) or (Ctrl+,)>Peers

transmission-connections-settings-location-peers

The three options below the connections options should be enabled.  Peer Exchange (PEX) allows Transmission to seek seeds/peers outside of the tracker.  This will obviously help torrent health and speeds.  Transmission does not have DHT (Distributed Hash Table) capability at this time.  DHT, like PEX seeks additional seeds/peers outside of the tracker.  In my readings at their forum, it appears that there recently has been some work on this and it may be included in the future.  However, it is not one of their priorities.
The "Prefer Encrypted Peers" option means that Transmission will accept all seeds/peers, but will first attempt to contact via an encrypted connection.  Clients like Vuze/uTorrent will switch to encrypted automatically upon such contact.
The "Prevent known bad peers from connecting" option utilizes a blocklist of known anti-P2P IPs, to prevent them from connecting and possibly interfering with transfers.  I do not have information on setting up the list as of yet.

Preferences (? + ,) or (Ctrl+,)>Transfers>Management
transmission-queue-settings-tranfers-management

Transmission does not have the "Max Active Torrents" setting.  I would suggest using the Max simultaneous downloads figure from the calculator for both of these Queue settings.

Good Torrents

The general rule here is to choose torrents that have a high seed to peer ratio. Seeds have 100% of the content associated with the torrent and are only uploading to peers. Peers also upload to other peers, but are also looking for other peers to upload to themselves and their download capacity is almost always higher than their upload capacity.

This applies even though one swarm has significantly more active users than another. For example, a torrent with 30 seeders and 70 peers (30% seeders) will generally be faster than one with 500 seeders and 2500 peers (20% seeders) as the average upload capacity available to the peers will be higher. (TorrentFreak).

For more information see Good Torrents

Related Articles

Gizmo's Best Ever Freeware Forums

If you still have issues after using this guide and would like some assistance, you may post here or our Forums.  The comments section here is not well set up for ongoing discussions, so the forums are a better place.

When posting on a speed issue, please provide

  • Your speed test result for both upload and download speed in kiloBytes per second (kBps)
  • Your result at canyouseeme, both before taking any steps and after.  Just indicate Success or Error do not post your IP address.

If you have a suggestion or correction for the guide, please post here.

Those who wish to post a thanks may post here or in the forums. I always appreciate hearing from those who this helped and I do read the posts regularly. I used to respond to each thanks, but realized it was clogging up the comments section. I thank all those who have posted their appreciation and all those who will.

So, to those who post a "Thanks", I appreciate it.

Steve

Share this
4.569765
Average: 4.6 (86 votes)
Your rating: None

Comments

by exodous on 24. February 2013 - 17:43  (105714)

Are there any updated guides? I'm running 2.74 and most of these options are not there anymore. Did Transmission simplify things?

Also, if one site I get torrents from pretty much maxes out my speed with a lot fewer peers and then another site is painfully slow that has peers in the thousands will optimizing help? Like the torrents that are slow there are like 30 peers that have 100% and I can't get anything from them. On the site that has a few peers everyone uploads to me. Does this mean that the site just doesn't have any good seeders?

by mr6n8 on 24. February 2013 - 18:10  (105715)

Are you running on Mac, Linux or Windows?

It is quite possible this is out of date. I do not have Linux or Mac and only put up the guide for someone who requested it (using screenshots they provided). This is based upon screen shots from version 1.33.

If you could take screen shots of your preferences screens and get them to me, I could redo the guide.

As to the other question, I am not quite sure what you mean. Could you put up number of seeds/number of peers for each that you are talking about? I realize it is just an example, so they do not need to be exact. But, I can not tell from your post what the seed to peer ratio is and that is the best determinant of speed.

Are these public or private sites?
Are you using any kind of blocklist like Peerblock or an IP filter?

by exodous on 24. February 2013 - 18:27  (105716)

I use Linux, what kind of screen shots do you need? Just one for each of the preference screens?

Can I meantion torrent site names here or will I get in trouble?

Both sites are private, I used to get great speeds from deamonoid but they went away. . . Site 1 is where I get horrible speeds but Site 2 gives me great speeds. Also Linux torrents give me great speeds. I'm guessing Site 1 just sucks? I connect to 60 peers on them, 30+ are seeding and I still get horrible speeds, like 50 kB/s where Site 2 has hardly any peers I get 500 kB/s, same with Linux torrents (each distro makes their one torrent so they aren't really from a site per se. I do use an IP filter, but it has never affected me before.

by mr6n8 on 24. February 2013 - 20:13  (105720)

Not really a need to mention site names, but if you want to you can send me the names through contact form here.

The most common IP Filter lists used will block almost all seedboxes and there are a lot of seedboxes at private sites. When running at the private sites, try with the filter disabled. IP Filters block ranges, so even if a small percentage of IPs are bad, a whole range is blocked. Not much to worry about at at a private site.

I have yet to see a private site without good speed, except for when I tested an IP Filter at a smaller site and got no speed as the only active were seedboxes. As soon as I disabled the IP Filter, I got max speed for my connection (2MB/s).

The difference may be on Linux, I believe these are from a Mac. Yes screen shots of the preferences pages (sorry I can not be sure which ones would be needed). Also, the main page and some info on accessing the preferences (not for you, but for others).

That would be great. Let me know when you have them and I will contact you through the site with my email.

Steve

by exodous on 24. February 2013 - 20:48  (105723)

So even if I can see seeds through Transmission they might not be able to share with me because of my ip blocklist? Is it just better going through a VPN? I really don't want to drop my ip filter otherwise.

I'll try to get those screen captures to you soon, I'm not that good at edditing photos, I'll try to find a program that only takes a picture of a single window rather than a whole screen.

by mr6n8 on 24. February 2013 - 21:13  (105724)

On the screens, check out the article here on best free screen capture utility. I am sure they have an option to capture the active window.
http://www.techsupportalert.com/best-free-screen-capture-utility.htm

As to the seedboxes and IP Filters, yes you could see them in the count of seeds and be blocked by the IP Filter. The IP filter only kicks in when a communication is made and that is a separate function from the tracker scrape.

Check the rules of the site on VPNs. Some allow and some do not.

Steve

by Jessie087 (not verified) on 27. November 2011 - 4:06  (83975)

I followed the steps for port forwarding and when i checked using canyouseeme.org it says the port is open, however Transmission still tells me that my port is closed. Is there anything that I can do?

by mr6n8 on 27. November 2011 - 8:10  (83979)

Have you tried a torrent?

by Jessie087 (not verified) on 29. November 2011 - 15:45  (84122)

Just tried it and there's quite a significant increase in the download speed (around 100-200 kb/s) from the usual 50. Thanks a ton! It still shows that my port is closed, but it should be fine since the speed has increased right?

by mr6n8 on 29. November 2011 - 17:47  (84127)

I think so.

The reason I asked about trying a torrent is that I saw a number of Transmission users with a similar issue (canyouseeme shows open-Transmission shows closed).

Some say a file in the Transmission config folder gets corrupted and I had a guess that the place Transmission uses to test was not working properly (not confirmed).

What was your result on the speed test for download speed?

Steve

by SAM MEX (not verified) on 17. February 2012 - 15:15  (88966)

I had the same problem the port was still closed, I fixed this issue just by going to:

-> SYSTEM PREFERENCES
-> SECURITY
-> FIREWALL
-> SET ACCESS TO SPECIFIC SERVICES AND APPLICATIONS
-> FILE SHARING (AFP) AND THEN JUST INCLUDE TRANSMISSION THERE AND IT SHOULD OPEN THE PORT STRAIGHT AWAY

I DUNNO IF THIS IS HELPFUL BUT IT WORKED JUST FINE FOR ME.

by Jessie087 (not verified) on 4. December 2011 - 15:19  (84362)

Download speed - 3641.4 kb/s
Upload speed - 5141.0 kb/s

by mr6n8 on 4. December 2011 - 20:57  (84383)

I do not know if you followed the part of the guide regarding settings in Transmission. If you did, you might have gotten the wrong numbers for settings as your results are in kilobits (kb).

Have you capped your upload in Transmission? If, so to what?

You should be getting better speeds, but it may just be the torrent you are on. Try this torrent. It should go to your max speed quickly. It is legal and you do not need to get the whole download. Just enough to see where your peak download is.
http://www.linuxmint.com/edition.php?id=93

Stop all other torrents and internet activity.

8b (bits) = 1B (bytes) so your Transmission should show around 450kBps.

BTW did you stop all download activity when taking the test? It is unusual for download rate to exceed upload.

by Jessie087 (not verified) on 6. December 2011 - 11:09  (84491)

I just took another speed test and my upload and download speeds are 5198 kB/s and 3224 kB/s respectively. Capped my upload speed at 4158.

Tried that link you gave me and the max speed is about 800 KB/s, average around 600, is that good?

by mr6n8 on 6. December 2011 - 12:03  (84494)

Are you sure those are in kilobytes (kB)?
Still have higher upload than download-were all downloads stopped?

Please take the test again and after the test press the "Share This Result" button and copy the url and paste here.

I still have the feeling you have gotten the settings wrong as those are unusual results.

Those speeds are good, but I am not sure if you are reaching your max and the down speed does not match up with your test result.

Steve

by Jessie087 (not verified) on 6. December 2011 - 13:13  (84500)

Closed all my running applications before running this test..
http://www.speedtest.net/result/1632905147.png
Sorry for all the trouble and thanks so much!

by mr6n8 on 6. December 2011 - 13:51  (84505)

Nothing to be sorry for, you were reporting the correct numbers.
It is very unusual for upload to be higher than download. Almost all results are similar to mine where download is way higher than upload
http://www.speedtest.net/result/1632961694.png

I just re-ran that torrent in my qBittorrent and was almost instantly over 2MB/s and settled in around 1.5MB/s, which is right for my advertised 12Mbps connection.

Anyhow, it looks like there is still some issue on your end as you should have gotten better speeds.

What OS are you using. I would like to see if a different bittorrent client would work.

by Jessie087 (not verified) on 6. December 2011 - 17:29  (84519)

OS X Lion Version 10.7.2

by mr6n8 on 6. December 2011 - 18:56  (84521)

You could try qBittorrent.
http://www.qbittorrent.org/download.php

Basically go through the same process for the port.
Some screen shots you may need here
http://www.techsupportalert.com/optimizing-qbittorrent-speed

For now, you do not even need to adjust internal settings. After the port shows open try the same torrent and see what speeds you get.

by onlyice (not verified) on 28. August 2011 - 20:51  (78520)

thanks,

by bernie (not verified) on 16. February 2011 - 12:34  (66532)

thanks a lot for the tutorial. learnt a lot on adjusting speeds for uploads and downloads...

by dizzay (not verified) on 21. October 2010 - 9:58  (59843)

Hey great article it really boosted my speeds from 100-150kb/s to up to 2 mb/s, I am forever in your debt :)

by Kropserkel (not verified) on 2. October 2010 - 11:01  (58894)

New to cable speeds having nothing but dial up for several years.

I followed the instructions and managed to achieve port is open status.

Had to configure firewall and router settings but the instructions were easy to follow.

Thank you for posting this guide. It has helped me greatly.

by Anonymous on 3. April 2010 - 21:44  (46892)

Thanks for that. I had my port open for tcp only and although it worked, now I have opened the port for udp too it is definitely faster.

by mr6n8 on 4. April 2010 - 12:30  (46929)

There was a time when only TCP was used for bittorrent and there probably are still some guides around that reflect this.

UDP is now used with DHT (Distributed Hash Table) which may greatly help speeds as it finds additional seeds and peers outside of the tracker(s).

Steve

by Anonymous on 16. March 2010 - 20:41  (45671)

I did my port forwarding through a program called PFconfig. It changed my router settings for port forwarding with Bit Torrent 6.3 My upload speed is 564.9 kilobytes/sec but I have comcast with speedboost. The calculator (above) determined that I should use 451 as my Max Upload Rate. The guide also mentioned that my ISP with speedboost is not accurate. It said I should set my Max Upload rate to zero and as long as I am at my "UPLOAD CAP" while observing a live torrent with a good amout of peers. I did watch a torrent for about 10 to 15 minutes that had 99(3776)peers and the upload speed only went up as high as about 260 Should I enter this number for my max upload rate into the calculator to determine the other numbers??

by mr6n8 on 16. March 2010 - 22:19  (45681)

If 260kBps is the average high upload rate, then yes that is what should be entered in the calculator.
BitTorrent shows speeds in kilobytes (kB) so make sure to enter in the kilobytes box at the calculator.

by Anonymous on 22. February 2010 - 18:32  (44200)

Thanks. I noticed a good boost in performance.

by Anonymous on 29. November 2009 - 2:16  (37492)

Thanks heaps. You've just saved my hairline....

by Anonymous on 7. October 2009 - 7:53  (34087)

Thanks, great article, had no idea caping upload speeds would effect the down speeds... If you cap your download speed does it help upload speed?

Gizmos Needs You

Gizmo's Freeware is Recruiting

 We are looking for people with skills or interest in the following areas:
 -  Mobile Platform App Reviews for Android and iOS
 -  Windows, Mac and Linux software reviews       Interested? Click here