Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2321 closed enhancement (fixed)

Bandwidth detection

Reported by: Zlatin Balevsky Owned by: zzz
Priority: minor Milestone: 0.9.38
Component: router/transport Version: 0.9.36
Keywords: Cc:
Parent Tickets: #1473 Sensitive: no


BiglyBT performs an Internet speed test upon installation and based on the results sets the upload and download speed limits. Something similar can be done with I2P.


Change History (6)

comment:1 Changed 3 years ago by zzz

Component: router/generalrouter/transport
Owner: set to zzz

more notes:
test request, response, and challenge are all bencoded
server or servers is hosted on AWS
"challenge" is sending requested portion of an Azureus jar file to the server
code at
test is scheduled
actual test is bittorrent
server reports results?
think we have an old related ticket, can't find it atm

comment:2 Changed 3 years ago by Zlatin Balevsky

Hi zab,

The code is contained in

and is a client of MLab's NDT performance tester - see

A long time back I hacked to make it work in the plugin,
amazing it still works…

Hope that helps!


comment:3 Changed 3 years ago by zzz

Interesting, so that's a whole different speed test subsystem than what I described in comment 1.
Here's the infrastructure it uses:
Note privacy policy. Of course any 3rd party solution comes with a number of concerns.
Startup code is in mlab/com/vuze/plugins/mlab/
Does a request to get closest server, results come back in json.

comment:4 Changed 3 years ago by Zlatin Balevsky

Parent Tickets: 1473

comment:5 Changed 3 years ago by zzz

Milestone: undecided0.9.38
Resolution: fixed
Status: newclosed

In 0.9.37-3; fixes and enhancements in -4 and -5. UI (wizard) cleanups to follow will be tracked in parent ticket #1473

comment:6 Changed 3 years ago by slumlord

Just a few queries:

  • Is this test carried out once - when the router is first installed, or does it detect changes in IP address range/ASN and re-test?
  • Is there going to be a configuration page where automated testing can be completely disabled?
  • Is it part of the startup configuration wizard?
  • Can users manually run a test from the console?

I have a backlog of trac tickets to go over so feel free to not answer any/all of these queries if they are answered elsewhere.

Note: See TracTickets for help on using tickets.