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
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
Ashwin Rao, Arnaud Legout, and Walid Dabbous
INRIA, Project Plan` ete (ashwin.rao,arnaud.legout,walid.dabbous)@inria.fr
1
2
2
2
2
2
2
2
PlanetLab sites [planet-lab.org]
3
PlanetLab sites [planet-lab.org] Clusters
3
PlanetLab sites [planet-lab.org] Clusters PlanetLab Clusters Reproducibility X
X
PlanetLab sites [planet-lab.org] Clusters PlanetLab Clusters Reproducibility X
X
3
PlanetLab sites [planet-lab.org] Clusters PlanetLab Clusters Reproducibility X
X
3
4
4
4
4
4
4
Throughput ∝ 1 RTT √ Loss Rate
4
4
4
Motivation
5
4 Machines of a Cluster
6
A machine can have 100 instances of Real BitTorrent Client 1 tracker, 1 seed, 300 leechers
6
Loopback device: Peers on the same machine
6
Ethernet device: Peers on adjacent machines
6
Emulate Same RTT and Packet Loss Rate
6
iPlane: An Information Plane for Distributed Services.
http://iplane.cs.washington.edu/
7
7
Motivation Experiment Setup
8
9
9
9
9
9
9
9
Scenario Fast Seed and Slow Leechers
9
Scenario of Fast Peers
9
9
9
Motivation Experiment Setup Impact of RTT
10
11
11
11
11
11
11
11
12
12
12
12
13
13
14
14
Variable Latency .torrent file TCP SQRT B1
Different latency added on Loopback and Ethernet Devices
BACKUP B2
Grid’5000 Machine to Abstract an AS
BACKUP B2
Upload Rate limited to 20 kB/s. RTT between a pair of leechers. RTT between any two peers is less than 100 ms
BACKUP B3
Upload Rate limited to 20 kB/s. RTT between a pair of leechers. RTT between any two peers is less than 100 ms
BACKUP B3
Upload Rate limited to 20 kB/s. RTT between a pair of leechers. RTT between any two peers is less than 100 ms
BACKUP B3
Upload Rate limited to 20 kB/s. RTT between a pair of leechers. RTT between some of the peers is greater than 200 ms
BACKUP B4
Upload Rate limited to 20 kB/s. RTT between a pair of leechers. RTT between some of the peers is greater than 200 ms
BACKUP B4
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 B5
Throughput = MSS RTT C √p where MSS Maximum Segment Size RTT Round trip time p Loss rate C constant depending on TCP implementation
BACKUP B6