Optimizing Vuze (formerly Azureus) for Speed

Introduction

Vuze-frog-imageThis guide shows how to speed up downloads in the freeware bittorrent client,  Vuze.  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 Vuze, 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 Vuze.  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.  Also, in IE, this guide is now showing at the bottom of the page,  with the top blank.  This apparently is due to the recent change in layout here, but the reason has not been determined.

This guide is applicable to all versions of Vuze (or the previous Azureus), BitTyrant and TopBT on Vuze.

If you are not using Vuze or one of the others,  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.

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

Depending on your Mode setting, you may only see one number

Vuze-Port-Setting-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.
Azureus-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 Vuze port or for the Vuze 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 (NAT-PMP in Mac).  However, this has a possible security issue.  Using UPnP, or NAT-PMP, allows any program to create a port mapping through the router without consent of the owner.  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 Vuze and router.
Automatically refresh mappings when NAT status is "firewalled"  should also be enabled.

Vuze-Options-Plugins-UPnP-Location-Image

 Vuze-Options-Plugins-UPnP-NAT-PMP-Location-Image

Manual Forwarding-The Preferred Way

  1. UPnP (NAT-PMP) must be disabled in Vuze (see Images above). 
  2. Use the Static IP Guide.
  3. Set permission for Vuze 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.

Adjusting Internal Settings

Introduction
The  most important setting here is to cap upload in Vuze to 80% of your overall upload capacity.   Setting upload in Vuze 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.
This section of the guide is based on the Azureus-Wiki: Good Settings page.

Mode
To make sure that you can see all the options referenced here you should be in Mode = Advanced.

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 left of the speedtest.net page and make certain the Speed Measurement is set to kilobytes.  This will help in inputting into the calculator below.

speedtest-net-settings-location-image

speedtest-net-settings-kilobytes-location-image

 

 


 

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-in-kilobytes-image

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 seeding 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, you should initially use the speed test results and then use the test method in the paragraph above.

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 µTorrent.

Azureus-Upload-Settings-Calculator-Results-Image

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

Vuze-Options-Transfer-Settings-Location-Image

Vuze-Options-Queue-Settings-Location-Image

Peer Sources & Encryption

Having the proper peer sources enabled, such as Peer Exchange (PEX) and Distributed Hash Table (DHT), will help download speeds as they will help you find additional seeds and peers for a torrent. 
Encryption was primarily designed to thwart Internet Service Providers interference with bittorrent.  Having encryption enabled and allowing incoming legacy (non-encrypted) connections will provide you with the largest pool of seeds/peers to select from.

The settings for peer sources are at Tools>Options>Connection and should be set as in the below image:

Vuze-peer-sources

The settings for encryption are at Tools>Options>Connection>Transport Encryption.  The settings shown in the image below will provide the highest encryption level and still allow connection with the most seeds/peers:

Vuze-encryption-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

 

4.301885
Average: 4.3 (53 votes)
Your rating: None

Many thanks from Romania, you really helped me a lot with your detailed writeup, so once again, Thank You Very Much !

woah nevermind, my kb/s rate is climbing by like 20 every second :o

Hmm, before i tried these steps i had around 150 k/s, now i have only 30 k/s on the same torrent...what happened? here are my results:

Speedtest- D-152.3 kb/s
U-49.6 kb/s
Success

superb work!

Easy to follow and set up.

Always had problems with vuze and could never understand why it was so slow or what to do to remedy the situation.

Many many thanks, Ill be directing plenty of people in this direction.

Thank u!!!:)

Perfect !

When I try to use the open port check tool, it has errors every time saying the connection timed out...what does that mean?

It means something is blocking the port.

Routers and firewalls will block incoming connections unless an exception is made.

Have you gone through the Forwarding The Port section of the guide?

Steve

Thank you so much! I had so much trouble understanding other instructions but you laid it out simply and clearly. My downloads were basically stopping and freezing and now they usually around 300-ish and up to 400 -ish at times. I can't say how much I appreciate the easy to follow steps.

Unbelievable!!!! I went from 30kb/s to 150kb/s, Thank you thank you thank you.

Great tutorial and advise!!!

Saves a lot of days or even weeks.
My torrent has 55G so just imagine....

Big THANKS !!!

How would you determine the router stuff for port forwarding on a college campus?

If you are talking about going through a campus network, that is difficult and varies from place to place.

Most college campuses have rules against and the network set up to prevent bittorrent traffic. If there is a way around you would have to find out from someone on your network who has figured it out.

There is the risk of them finding you as many do track down those who violate the no-bittorrent rule. Best to check and see what the rules are.

Great post, but I'm still having trouble forwarding ports.

My set up:
Macbook Pro
Siemens Speedstream 4200 modem
Belkin F5D7230-4 router

When I connect the ethernet cable directly from the Speedstream modem to the computer I can successfully forward ports and get good speed.

However, when I connect wirelessly via the Belkin router I can't forward the ports (they keep coming up as blocked in Vuze and in the port testing site you provide the link for). This is despite setting the Virtual Servers on the Belkin router to forward the relevant port.

Any ideas what might be going on here? Thanks.......

Since you mention virtual servers on the Belkin, I assume you either used this guide or got to the correct spot on your own. I'll post the guide link just to make sure:
http://portforward.com/english/routers/port_forwarding/Belkin/F5D7230-4/...

I am not sure what the issue could be though. I know that modem can be set differently by different ISPs, so that may be part of it.
Who is your ISP?

Steve

My ISP is Dodo.

Yes, I followed the instructions on that guide.

Very frustrating. I'm considering changing to a single combined modem/router so I don't need to forward ports through two devices. Also considering an Apple Airport Express as a router instead.

Just to check:
on the modem (Speedstream) do the ports need to be forwarded to the IP address of the connected router (Belkin) or to the IP address of the individual computer connecting to the router (the IP addresses are different of course)?

Thanks.

On the IP question, this guide should help:
http://portforward.com/english/routers/port_forwarding/Belkin/F5D7230-4/...

On the modem and Dodo I did not find anything, but if it is something to do with Dodo these Australian forums are excellent:
http://forums.whirlpool.net.au/

Thank you for your help.

I hope it does help.
thanks
Steve

thanks man! you are great! boosted up to 1mbps!

Thanks for the real clear tutorial. It appears that my problems are more with my ISP than my machine set-up. Here in Bangkok Thailand they are just introducing 3G, which is my primary internet source. My download speed is 400kbs / up 255kbs. On 3G I get ranges of 120 / 20kbs. On wireless, probably 20% faster and more stable - both using vuze.
At any rate, thanks for the neat info - best to you.
Don / Bangkok

...its very clear...., but i still only have a max of 20 kb/s using a 100mb/s internet conection and 20 is at the highest average is 10
my laptop is quite good
why cant i get a higher rate

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.

The 100Mbps connection is most likely your LAN connection speed, not your internet connection speed.

Steve

once i did the static ip...everything worked fine as far as internet connection however my downloads on vuze slowed down significantly. im at college and the isp blocks certain ports. in attempts to stop us from downloading music, videos etc. im using the tor network to bounce my ips. keep anonymity and most of all for vuze to work. vuze only works here when i have tor up and running. help me out?

When it comes to schools, each one uses a different system to block bittorrent and you would have to check with others at your school who might have gotten through.

Amazing post man , boosted my vuze download speed by 5 MB THANKS

i have a problem in NAT/Firewall test its said that Testing port 60006 ...
NAT Error - Connect attempt to 71.xx.xxx.xxx:60006 (your computer) timed out after 20 seconds. This means your port is probably closed.
and the download speed is very low like 10kbps..can u help me for that?

Edited to remove IP address

Usually the reason for the port in Vuze showing closed is that either a firewall or router is blocking it.

The "Forwarding the Port" section of the above guide will help with that.

do you have a router/modem? If so, what is the make and model?
What is the make and version of your software firewall?

Steve

I downloaded that legal torrent and the speed was 179k in wery short time :), i try a few more torrents and the speed was also 179k but it take few minutes to get that speed, on the torrent that i was getting 150k my friend told me that i has bad seed to leech ratio or some thing like that,except that torrent all is going well thanks a lot. Donnie

Good to hear.

Yes, the seed to leech ratio is important.
This torrent freak article has some good info on that:
http://torrentfreak.com/how-to-pick-the-fastest-torrents-090707/

Enjoy
Steve

Thanks a lot :) i have 1.5MBit connecton my download was 50k now it is 150k.. but when i download something from rapid speed is 180k can i fix vuze to have 180k plz help
Donnie

Hard to say if it is the torrent you are on or if your settings need adjustment. Since your download speed is dependent on the upload speed of others in the swarm, speeds on torrents can vary.

Try the torrent listed on this page (click the link next to "Torrent") and see what speed you get. It should reach max down speed fairly quickly. (it is a legal torrent). Stop other torrents before opening this one.
http://linuxtracker.org/index.php?page=torrent-details&id=f50434042e0f7d...

On the torrent where you are getting 150kBps, are you uploading at your cap?
If you are, you can try moving the upload cap up a little and see if it helps speed.
If that does not help, try moving the upload cap down a little and see if that helps.

What was your upload result on the speed test and what did you cap upload at?

Steve

Thank you so much for taking the time to write this article. I found it incredibly helpful and appreciate it greatly.

thank you very much, it actually worked. i have to admit my laptop is pretty crappy. but the upload speed went from 20kb to 60kb so im happy thanks :)
-bobby miller

thanks man,

speed was 30-60kbs,
now it's 55kbs min, 80kbs avg, 110kbs max.

great improvement, odd thing is I had had very similar settings before.

OMG it work very good from 10kb/s to 220kb/s

Thank

Thanks a ton!! Very through and clear, much appreciated, cheers

Thanks for this. I appears my problem was simply trying to DL too much at one time (6 files). Reset to 2 and they are both at 200ks and climbing

THIS SH** WORKS!

Went from 150 kb/s to 900+!

Moderators comment:
Please refrain from using words which many parents would not find acceptable for their children to read here.

Excellent Brotha

was a little skeptical clicking on those links (speed test and Azi calculator) but you proved me wrong (usually they send you to crap ass sites)

45kb/s to 138kb/s

FINALLY i can watch LOST without having major problems on aBC's media site

Dude..you are awesome! Thanks a million man..This really works!

wow omg!! finally .. Ive been having horrible luck tryin to download and after following these steps it is much better!.
Took a bit a time unblocking port and all mainly. Reset router/vuze a few times, kept checking website to see if it was unblockd and after around 5mins it finally kickd in. Website shows Success after doin router/windows firewall

and now i went from like 5-15kB/s to 45-60kB/s ..still would like more but thats a huge bonus from like 3days to 30mins lol

what the f_ck its working

Thank you my good man!! It worked!

Awesome speed improvement following your instructions! Thanks loads.

Whoa!
I really doubted this because it wasn't working..
first with the port then my speed test come out as 10.XXmB(not kB..)and then i forgot to let Vuze through the firewall..
after that it still didn't work..
until..
23kb/s shot up to 302kb/s!!!
even on my best days the speed only went up to 115kb/s.
Thanx for this nice guide^^

Great post. Appears as if this is doing the trick for me. I went from 45kb/s to 125kb/s on a large file I've been attempting to get. Thanks for the assist.

My only issue was with the Mainline DHT option. I received an error indicating my Java version does not mee the minimum requirements (1.6). I checked...Vuze shows 1.5 althought I've downloaded and installed 1.6 on my Mac (Ver. 10.5).

Can't figure out the rub there, but overall this has helped tremendously.

Thanks!

Great to hear on the speed.

As to the Mainline DHT, I may take that out of the article.
Apparently it is not being actively maintained and it looks like it was last worked on back in the 3 series of Vuze.
It always had issues with Mac. When first released it could not be used because Mac did not have 1.6.
I am thinking that maybe the Mac Java 1.6 came out when the plugin was not being maintained and they never adapted the plugin to the Mac 1.6.

Anyhow, I did not find it made much of a difference myself and had deleted it some time ago.

Steve

Update: Now 300 kb/s!! Fantastic.

1.3 MB/s!!!!! Who knew Vuze could fly like this?!

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <b> <address> <blockquote> <br> <caption> <center> <code> <dd> <del> <div> <dl> <dt> <em> <font> <h2> <h3> <h4> <h5> <h6> <hr> <i> <img> <li> <ol> <p> <pre> <span> <strong> <sub> <sup> <table> <tbody> <td> <tfoot> <th> <thead> <tr> <u> <ul> <tr>
  • Lines and paragraphs break automatically.
  • [node:123] - insert full text (themed by theme('node'))
    [node:123 body] - insert node's body
    [node:123 teaser] - insert node's teaser
    [node:123 link] - insert link to node
    [node:123 collapsed] - insert collapsed node's body
  • You may use [view:viewname] tags to display listings of nodes.

More information about formatting options