Opened 12 months ago

Closed 10 months ago

Last modified 10 months 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

Description

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.

Subtickets

Change History (6)

comment:1 Changed 12 months ago by zzz

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

https://wiki.vuze.com/w/Speed_Test_FAQ

more notes:
test request, response, and challenge are all bencoded
server or servers is speedtest.vuze.com:6000 hosted on AWS
"challenge" is sending requested portion of an Azureus jar file to the server
code at https://github.com/BiglySoftware/BiglyBT/tree/master/core/src/com/biglybt/core/networkmanager/admin
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 12 months ago by Zlatin Balevsky

Hi zab,

The code is contained in

https://github.com/BiglySoftware/BiglyBT-plugin-mlab

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

https://www.measurementlab.net/tests/ndt/

http://software.internet2.edu/ndt/

http://software.internet2.edu/sources/ndt/

http://software.internet2.edu/sources/ndt/ndt-3.7.0.2.tar.gz

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

Hope that helps!

cheers
Parg

comment:3 Changed 12 months 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: https://speed.measurementlab.net/
Note privacy policy. Of course any 3rd party solution comes with a number of concerns.
Startup code is in mlab/com/vuze/plugins/mlab/MLabPlugin.java
Does a request to get closest server, results come back in json.

comment:4 Changed 11 months ago by Zlatin Balevsky

Parent Tickets: 1473

comment:5 Changed 10 months 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 10 months 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.