-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1 TByte of seeding #21
Comments
Fixes magnetlink unittest.
"Performance analysis of a Tor-like onion routing implementation", Quinten Stokkink, Harmjan Treep, http://arxiv.org/abs/1507.00245 @qstokkink student Wouter is aiming to repeat your work and do a CPU performance analysis automagically after each pull request. |
@Pathemeous Found interesting code from Quinten: devel...qstokkink:devel |
If you want to re-use our code you should extract the start_profiling and stop_profiling functions from our code and call them respectively before and after whatever you want to profile (and make sure it's in the filter). The tunnel_piecharts.R script can then parse profiling files in this format. We integrated this into the Gumby pipeline with a script added to the .conf file. |
Thanks @qstokkink, I will have a look. |
We do already have memory profiling and manhole (telnet into the process to inspect it in real time) It would be cool to have the profiling integrated into gumby's instrumentation.py so all the experiments can use it straight away. |
A simple 1 week starting experiment without Tribler, Tor-stack, and no Gumby. Goal is to first detect if there are Libtorrent bottlenecks. Experimental setup consists of just Libttorrent on Ubuntu. Libtorrent with seeding of 50GB..250GByte and testing the local download performance. With 1000 swarms or so, it is expected that Libtorrent grinds to a halt in normal settings. Outcome: Spend 2 weeks to create graph to show performance development, as you're seeding more GBytes and swarms. Experiment:
|
Progress: first script to seed and control Libtorrent from Python. Measure in an easy to build setting the cost of 1 TByte seeding (or MaxHardDiskCapacity). Start Libtorrent for 1 hour with various seeding size settings and measure the total consumed bandwidth. Goal is to identify the overhead. For instance, set the seeding upload bandwidth to just 10 KByte or so. This need to be subtracted to obtain the DHT, PEX, and othe control overhead protocol traffic. Docs: The limits of the number of downloading and seeding torrents are controlled via active_downloads, active_seeds and active_limit in session_settings change the default of 5 active seed to 10000 :-) |
|
Some of the I'm crawling mininova now, but I got blocked so maybe it will take some time to get more torrents on this site. AFAIK mininova now hosts legal torrents only. |
@ardhipoetra great, thanks for sharing! You might want to rate-limit your requests and maybe use HTTP proxies for the crawling process? |
In the end, I used rate-limit my request and it works. As @devos50 requested, here is the link to the collection, zipped. You can put that in the bbq. As for the crawler, I made the repository on https://github.com/ardhipoetra/legal-torrent-crawler |
Currently, Tribler will create an introduction point for every torrent it is seeding. This could potentially overload the exit nodes, especially now that exit nodes are also running the |
Sure. Why not? |
@drew2a Just a small reminder. Please setup a seedbox for a Tribler channel with lots of Creative Commons music. (e.g. different then superapp; overlap). Simple static dump. For demo purposes only. Show that we can seed lots of stuff: https://github.com/mdeff/fma EDIT: then please use that to setup a demo channel with markdown and real content #3615 |
For further development. An idea. As I see, there are two types of Tribler's users:
So, what if we developed a tool that makes it easier to create and seed a channel? Like:
Where is a folder with the following structure:
The behavior:
@ichorid what do you think? |
What are the |
Actual files (discussed offline). |
I did an experiment:
No trackers were used. |
Ability to seed 1 TByte of content using Tribler.
This requires announcing, say, 1000 swarms of content in the DHT.
This is a problem, as shown here: http://blog.libtorrent.org/2012/01/seeding-a-million-torrents/
The announce interval needs to be prolonged in order to reduce DHT announce traffic.
Perhaps the DHT cannot handle this and a new peer discovery method is required: #13.
As a quick partial fix we can put a cap on the maximum swarms to DHT announce. Then use a simple round-robin method to cycle slowly through all available swarms.
The text was updated successfully, but these errors were encountered: