1 / 30

Tribler Download Core Improvement

Tribler Download Core Improvement. IN3700 Bachelor Thesis. Presentation by Rick van Hattem Raynor Vliegendhart. Committee   Dr. Ir. J.A. Pouwelse Ir. B.R. Sodoyer. Overview. Introduction Problem Analysis Evolution of BitSMART (our measurement tool) Shortcomings of BitSMART

ownah
Download Presentation

Tribler Download Core Improvement

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tribler Download Core Improvement IN3700 Bachelor Thesis Presentation by Rick van Hattem Raynor Vliegendhart Committee   Dr. Ir. J.A. Pouwelse Ir. B.R. Sodoyer

  2. Overview • Introduction • Problem Analysis • Evolution of BitSMART (our measurement tool) • Shortcomings of BitSMART • Acquired Insights • Project’s Delays • Demonstration • Conclusion and Future Work • Questions

  3. Introduction (1) • Users want to share files • Peer-to-peer file sharing protocols • BitTorrent is popular BitTornado ABC Mainline Tribler BitComet Azureus et cetera… BitTyrant µTorrent

  4. Introduction (2) • Sharing versus Leeching • BitTorrent incents users to share • Reward: performance • How does Tribler fare? • Measuring is knowing!

  5. Problem Analysis • Performance  Behaviour • So what is good sharing behaviour? • Depends on point of view of other peers • Upload bandwidth is scarce • Ergo: bandwidth = currency • Research the best strategy:Optimize the value of your upload bandwidth

  6. Evolution of BitSMART (1) • Original project’s goal:Analysis and Implementation • Approach: Logging (next slide)

  7. logging Evolution of BitSMART (2)

  8. Evolution of BitSMART (3) • Disadvantages: • Not scalable • Limited applicability • Advantage: • All BitTorrent informationreadily available in memory

  9. Evolution of BitSMART (4) • Project’s change:Focus on Analysis only • Approach: Network traffic analysis (next slide)

  10. usual BT stack capture part Evolution of BitSMART (5)

  11. Evolution of BitSMART (6) • Advantages: • Scalable • Can be applied to all clients • Disadvantages: • Considerable more effort to implement • Not 100% reliable,encrypted connections cannot be deciphered

  12. Shortcomings of BitSMART (1) • Two possible alternative implementations: • PCAP (raw Ethernet frames) • PDML (XML format) • Choice: PDML format • Why? It seemed to be: • Easier • Less error prone • Less time to implement

  13. Shortcomings of BitSMART (2) Unfortunately, the easy path was deceiving • Large PDML files:DOM readers not feasible • PDML missing details • Packets lost in translation,PCAP  PDML

  14. Shortcomings of BitSMART (3) Consequences: • Dealing with these drawbackscost a lot of time • Missing details madethe resulting toolless powerful

  15. Shortcomings of BitSMART (4) • Choosing PCAP would have preventeda lot of problems • However, it would still have cost a lot of time to implement • Reason: Lots of low level tasks to be done

  16. Acquired Insights (1) • Due to the limitations of the PDML format,analysis was not as in-depth as desired • Nevertheless, we acquired some interesting insights

  17. Acquired Insights (2) • Attaining high download speeds as fast as possible • Finding and trying out peers is important

  18. Acquired Insights (3) • Endgame mode’s purpose is to retain speed

  19. Acquired Insights (4) • Explanation for Mainline’s bad performance:Peer discovery not aggressive

  20. Acquired Insights (5) However, a later measurement surprised us: • Mainline was the fastest • Mainline found the least amount of peers Mainline Tribler

  21. Acquired Insights (6) A possible explanation: • Mainline was lucky and immediately found good peers • Finding/Trying out peers costs time • If true, adaptive strategies are rewarding

  22. Project’s Delays (1) • Original planning:Begin of May to begin of July • Progress went fine • Project’s change:Begin of June • Re-planning failed:New tasks heavily underestimated

  23. Project’s Delays (2) • Underestimation caused by • Being optimistic • Trying to fit the new tasks in the remaining time • Underestimation was a source of delay • Due to the delay, other conflicting events increased the delay

  24. Demonstration (1) A true live demonstration not possible, so we show a few preliminary steps on these slides.

  25. Demonstration (2) • First, we start tshark

  26. Demonstration (3) • Then, start the BitTorrent client to be measured • Start the download

  27. Demonstration (4) • After the download, stop the BT client and tshark • Process the captured packets with BitSMART • Enjoy the live demonstration!

  28. Conclusion and Future Work (1) • Tribler is one of the slowest BitTorrent clients • Main improvements in: • Peer discovery • Endgame mode • To be researched: • Adaptive strategies

  29. Conclusion and Future Work (2) • BitSMART: • Tool is usable, but limited in power • PDML format is a dead-end • Effort should be spent in writing a PCAP analyser • Reason for further research: Measuring is knowing!

  30. Questions?

More Related