can realistic bittorrent experiments be performed on
play

Can Realistic BitTorrent Experiments Be Performed on Clusters? - PowerPoint PPT Presentation

Can Realistic BitTorrent Experiments Be Performed on Clusters? Ashwin Rao , Arnaud Legout, and Walid Dabbous INRIA, Project Plan` ete (ashwin.rao,arnaud.legout,walid.dabbous)@inria.fr 1 Overview of BitTorrent 2 Overview of BitTorrent 2


  1. Can Realistic BitTorrent Experiments Be Performed on Clusters? Ashwin Rao , Arnaud Legout, and Walid Dabbous INRIA, Project Plan` ete (ashwin.rao,arnaud.legout,walid.dabbous)@inria.fr 1

  2. Overview of BitTorrent 2

  3. Overview of BitTorrent 2

  4. Overview of BitTorrent 2

  5. Overview of BitTorrent 2

  6. Overview of BitTorrent 2

  7. Overview of BitTorrent 2

  8. Overview of BitTorrent 2

  9. Platforms for BitTorrent Experiments PlanetLab sites [planet-lab.org] 3

  10. Platforms for BitTorrent Experiments PlanetLab sites [planet-lab.org] Clusters 3

  11. Platforms for BitTorrent Experiments PlanetLab sites [planet-lab.org] Clusters PlanetLab Clusters � Reproducibility X � Scalability X 3

  12. Platforms for BitTorrent Experiments PlanetLab sites [planet-lab.org] Clusters PlanetLab Clusters � Reproducibility X � Scalability X � ? RTT & Packet Loss 3

  13. Platforms for BitTorrent Experiments Experiments on Clusters PlanetLab sites [planet-lab.org] Clusters Without Emulating RTT & Packet Loss? PlanetLab Clusters � Reproducibility X � Scalability X � ? RTT & Packet Loss 3

  14. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics 4

  15. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics 4

  16. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics 4

  17. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics 4

  18. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics • Pipeline Requests • Time between decisions ≈ 10 seconds 4

  19. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics • Pipeline Requests • Time between decisions ≈ 10 seconds • Throughput 4

  20. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics • Pipeline Requests • Time between decisions ≈ 10 seconds • Throughput 1 Throughput ∝ √ RTT Loss Rate 4

  21. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics • Pipeline Requests • Time between decisions ≈ 10 seconds • Throughput • Users limit Upload Rate 4

  22. Impact of RTT and Packet Loss • BitTorrent Protocol Dynamics • Pipeline Requests • Time between decisions ≈ 10 seconds • Throughput • Users limit Upload Rate Need to Validate Impact of RTT & Packet Loss 4

  23. Outline Motivation • Experiment Setup • Impact of RTT • Impact of Packet Loss 5

  24. Testbed Setup 4 Machines of a Cluster 6

  25. Testbed Setup A machine can have 100 instances of Real BitTorrent Client 1 tracker, 1 seed, 300 leechers 6

  26. Testbed Setup Loopback device: Peers on the same machine 6

  27. Testbed Setup Ethernet device: Peers on adjacent machines 6

  28. Testbed Setup Emulate Same RTT and Packet Loss Rate 6

  29. Experiment Parameters and Metric iPlane Measurement: 95% Paths • RTT ≤ 400 ms • Packet Loss Rate ≤ 5% iPlane: An Information Plane for Distributed Services. H. Madhyastha et al. , OSDI 2006. http://iplane.cs.washington.edu/ 7

  30. Experiment Parameters and Metric iPlane Measurement: 95% Paths • RTT ≤ 400 ms • Packet Loss Rate ≤ 5% Experiment Parameters • RTT - up to 1000 ms • Packet Loss Rate - up to 5% • 50 MB file Metric • Download completion time 7

  31. Outline Motivation Experiment Setup • Impact of RTT • Impact of Packet Loss 8

  32. Impact of RTT - Experiment Results 9

  33. Impact of RTT - Experiment Results 9

  34. Impact of RTT - Experiment Results 9

  35. Impact of RTT - Experiment Results 9

  36. Impact of RTT - Experiment Results 9

  37. Impact of RTT - Experiment Results 9

  38. Impact of RTT - Experiment Results 9

  39. Impact of RTT - Experiment Results Scenario Fast Seed and Slow Leechers 9

  40. Impact of RTT - Experiment Results Scenario of Fast Peers 9

  41. Impact of RTT - Experiment Results 9

  42. Impact of RTT - Experiment Results Marginal Impact of RTT 9

  43. Outline Motivation Experiment Setup Impact of RTT • Impact of Packet Loss 10

  44. Impact of Packet Loss (20 kB/s) 11

  45. Impact of Packet Loss (20 kB/s) 11

  46. Impact of Packet Loss (20 kB/s) 11

  47. Impact of Packet Loss (20 kB/s) 11

  48. Impact of Packet Loss (20 kB/s) 11

  49. Impact of Packet Loss (20 kB/s) 11

  50. Impact of Packet Loss (20 kB/s) Marginal Impact of Packet Loss 11

  51. Impact of Packet Loss (100 kB/s) 12

  52. Impact of Packet Loss (100 kB/s) 12

  53. Impact of Packet Loss (100 kB/s) 12

  54. Impact of Packet Loss (100 kB/s) Marginal Impact of Packet Loss 12

  55. Conclusions • Marginal Impact of RTT • Marginal Impact of Packet Loss • Avoid Emulation of RTT and Packet Loss 13

  56. Conclusions • Marginal Impact of RTT • Marginal Impact of Packet Loss • Avoid Emulation of RTT and Packet Loss Dedicated clusters can be used for BitTorrent Experiments 13

  57. Can Realistic BitTorrent Experiments Be Performed on Clusters? Questions ashwin.rao@inria.fr 14

  58. Can Realistic BitTorrent Experiments Be Performed on Clusters? Thank you! ashwin.rao@inria.fr 14

  59. BACKUPS Variable Latency .torrent file TCP SQRT B 1

  60. Heterogeneous Latency - Setup Different latency added on Loopback and Ethernet Devices BACKUP B 2

  61. Heterogeneous Latency - Setup Grid’5000 Machine to Abstract an AS BACKUP B 2

  62. Results - Small RTT Between Peers RTT between a pair of Upload Rate limited to leechers. 20 kB/s. RTT between any two peers is less than 100 ms BACKUP B 3

  63. Results - Small RTT Between Peers Upload Rate limited to RTT between a pair of 20 kB/s. leechers. RTT between any two peers is less than 100 ms BACKUP B 3

  64. Results - Small RTT Between Peers Upload Rate limited to RTT between a pair of 20 kB/s. leechers. RTT between any two peers is less than 100 ms BACKUP B 3

  65. Results - Large RTT Between Some Peers RTT between a pair of Upload Rate limited to leechers. 20 kB/s. RTT between some of the peers is greater than 200 ms BACKUP B 4

  66. Results - Large RTT Between Some Peers Upload Rate limited to RTT between a pair of 20 kB/s. leechers. RTT between some of the peers is greater than 200 ms BACKUP B 4

  67. .torrent File info dictionary describing files in torrent name File Name length File size in bytes piece length Size of a piece pieces 20-byte hash values; one per piece announce The announce URL of tracker ... BACKUP B 5

  68. TCP Square Root Throughput = MSS C √ p RTT where MSS Maximum Segment Size RTT Round trip time p Loss rate C constant depending on TCP implementation BACKUP B 6

Recommend


More recommend