An Experimental Study of the Skype Peer-to-Peer VoIP System Saikat Guha (Cornell) Neil Daswani (Google) Ravi Jain (Google) IPTPS 2006

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

About Skype

I I I I

Voice over IP (VoIP) 50 million users Valued at $2.6 billion Proprietary

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

About Skype

“Internet Telephony that Just Works” I

Adaptive voice quality modem, broadband, T1, . . .

I

Works in any network topology one or more NATs, Firewalls, . . .

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

1 Outrageous Opinion #1 I

NAT Traversal in Skype: I I I I

Level Level Level Level

0: 1: 2: 3:

Initiator NAT’ed Recipient NAT’ed Both NAT’ed (well-behaved NATs) Both NAT’ed (broken NATs)

Outrageous Opinion NAT Traversal is essential for P2P I

1

How to pick NAT Traversal complexity, and make it scale?

does not, necessarily, reflect the views of all co-authors or employers Saikat Guha, Neil Daswani, Ravi Jain Experimental Study of Skype

NAT Traversal in Skype

Skype

Skype

NAT

Level 0: Initiator NAT’ed Solution: Don’t embed IP address in payload Apps: Most old software, almost all new software Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

NAT Traversal in Skype Rendezvous

Skype

Skype

NAT

Level 1: Recipient NAT’ed Solution: Use Rendezvous Service Apps: Bittorrent, MSN, Yahoo, Skype, . . . Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

NAT Traversal in Skype Rendezvous

Skype

NAT

NAT

Skype

Level 2: Both NAT’ed (well-behaved NATs) Solution: Use STUN (UDP) or STUNT (TCP) Apps: MSN, Yahoo, Skype, . . . Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

NAT Traversal in Skype Rendezvous

Skype

NAT

NAT

Skype

Level 3: Both NAT’ed (broken NATs) Solution: Use TURN Apps: MSN (limited), Yahoo (limited), Skype Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

NAT Traversal in Skype Rendezvous

Skype

NAT

NAT

Level 3: Both NAT’ed (broken NATs) Solution: Use TURN + P2P Apps: Skype Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Skype

Contributions 1. Properties of Skype’s P2P Rendezvous-Relay Service I

load (low), structure (yes), churn (low) . . .

2. Skype user behavior I

call-length (long), file-transfer (small), online activity (predictable) . . .

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Skype’s P2P Network I

Inherent structure: I I

I I

[Baset et al. INFOCOM ’06]

Supernodes (SN): no NAT, spare bandwidth Ordinary nodes (ON): associate with one (or a few) supernodes. Don’t contribute to overlay.

Skype network: FastTrack (likely) Experiment: Capture traffic for a SN I I

at Cornell, 4.5 months, ∼13GB Caveat: everything “encrypted”, only one SN

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

CDF

Skype’s P2P Network 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

Control traffic All traffic Relayed traffic 10

30 100 300 1k 3k 10k 30k Bandwidth (Bps)

Supernode: Low Network Load  Bandwidth: 51 Bps (median), 7.5 kBps (median relayed), 34 kBps (peak)  Control traffic (∼75%), Relayed traffic (∼10%) Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Skype’s P2P Network I I

I

Experiment: Estimate no. of active nodes Supernodes (SN): I Discover SN: crawl client SN cache I App-level ping: replay “hello”-packet I 30%–40% of SNs active, 250k found I Caveat: DHCP assigned SN address All Nodes (ON+SN): I Record number of active nodes I .4 million simultaneous users I Caveat: reported by proprietary client

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

1 Outrageous Opinion #2 I

I

Rough estimate: (just network, not CPU) I ∼1–2 GBps median relay-traffic I .20 well-provisioned boxes at PoPs I ∼ $10 million per year Supernodes mostly at universities (EU, Asia, US)

Outrageous Opinion Skype freeloads on university bandwidth I

Is there an ISP-friendly commercial model for P2P?

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Skype’s P2P Network Joins Departs

80%

Supernode Churn

Fraction Online

100%

60% 40% 20% Sun 9/18

5%

0%

-5%

All Nodes Supernodes Sun 9/25

Sun 10/2

Date (noon UTC)

0h

12h

24h

UTC Thu 9/22

0h

12h

UTC Thu 9/22

Supernodes: Diurnal, Work-week Patterns  Supernodes: low churn, .5% turnover (over 30-min) Saikat Guha, Neil Daswani, Ravi Jain

24h

Experimental Study of Skype

1 Outrageous Opinion #3 I

Handling Churn I a blood sport I Skype, perhaps intentionally, controls churn (based on NAT, bandwidth, maybe session history, . . .)

Outrageous Opinion Churn resistance is overrated. Control churn. I

Is there a price-performance tradeoff between controlling, and handling churn?

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Skype Users 1

1 0.8

0.1

0.7 CDF

P[session time > x]

0.9

0.01

0.6 0.5 0.4 0.3 0.2

0.001

0.1 1h 2h 4h 8h 1d 2d 4d 8d 16d Supernode Session Time

20s

1m 3m 10m 30m 1h Relayed Conversation Duration

Skype users: differ from file-sharing, phone users  Session Length: heavy-tailed, 5.5h median  File-Transfer: 346kB median  Call-Length: 12m 53s mean, 3h 26m max Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

3h

Summary 1. Properties of Skype’s P2P Rendezvous-Relay Service I

I I

Low Load: NAT traversal, many supernodes Stable: exploits heterogeneity ISP-unfriendly, taxes universities

2. Skype users I

Different from file-sharing users (longer session lengths, smaller files transferred)

I

Different from phone users

(longer calls)

3. Data available on request Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Discussion For a peer-to-peer application: I Complexity and scalability of NAT traversal I ISP-friendly commercial model I Tradeoffs between controlling and handling churn www.cs.cornell.edu/∼saikat/skype/ Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

2 Outrageous Opinions I I I

NAT Traversal is essential for P2P Skype freeloads on university bandwidth Churn resistance is overrated. Control churn.

www.cs.cornell.edu/∼saikat/skype/ 2

does not, necessarily, reflect the opinion of my co-authors, our employers, or anyone else. Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

Supernode Distribution 100%

North America Others Distribution of Supernodes

80%

Asia 60%

40%

Europe 20%

0% Sun 9/18

Sun 9/25 Date (noon UTC)

Saikat Guha, Neil Daswani, Ravi Jain

Sun 10/2

0h 6h 12h18h24h UTC Thu 9/22

Experimental Study of Skype

Filesize Distribution 1 0.9 0.8 0.7

CDF

0.6 0.5 0.4 0.3 0.2 0.1 Relayed File Size

0 1k

3k

10k

30k

100k

300k

1M

3M

10M

File Size (bytes)

Saikat Guha, Neil Daswani, Ravi Jain

Experimental Study of Skype

An Experimental Study of the Skype Peer-to-Peer VoIP ... - IPTPS'06

1. #1. ▷ NAT Traversal in Skype: ▻ Level 0: Initiator NAT'ed. ▻ Level 1: .... 1. #2. ▷ Rough estimate: (just network, not CPU). ▻ ~1–2 GBps median relay-traffic.

611KB Sizes 1 Downloads 194 Views

Recommend Documents

Minority vs. Majority: An Experimental Study of ...
Jan 11, 2008 - reason, you wish to vote for project 2, write 1 in the second cell in the first row and write 0 in the other two. You can choose only one project, that is there must appear a 1 and two zeros as your votes in every row. Choose your vote

Cross-situational learning: an experimental study of ...
Spoken forms were produced using the Victoria voice on the Apple Mac OS X speech synthe- ... .ac.uk/research/˜mtucker/SlideGenerator.htm), and participants were tested ... or 8 non-target referents co-present with the target referent on each ...

An Experimental Study of Security Vulnerabilities ... - Semantic Scholar
Networked systems, such as large web server farms and .... host. A user logon to an FTP server authenticates itself by user name and password and then ...

Cross-situational learning: an experimental study of ...
School of Philosophy, Psychology and Language Sciences, ... [email protected],[email protected]. Richard ... SUPA, School of Physics and Astronomy,.

An Experimental and Numerical Study of a Laminar ...
for broadband emissions by subtracting an im- ..... Figure 13 shows the comparison for the fuel ..... Lin˜án A., in Combustion in High Speed Flows (J. Buck-.

Cross-situational learning: an experimental study of ...
call Random from C, a learner would learn a given word with probability. 1. (C+1) ...... bridge, MA: MIT Press. Pinker, S. (1994). How could ... (Eds.), Proceedings of the 30th Annual Conference of the Cognitive Science Society (pp. 1023–1028).

CrossSituational Learning: An Experimental Study of ...
voice on the Apple Mac OS X speech synthesizer. The experiment ..... mize the likelihood of the data are preferred) and overfitting (strategies which account for.

CrossSituational Learning: An Experimental Study of ...
of various cross-situational learning strategies, depending on the difficulty of the ..... A more fine-grained tool to fit behavioral data to learning strategies is ...

An Experimental and Numerical Study of a Laminar ...
Department of Mechanical Power Engineering, University of Cairo, Egypt. A lifted laminar axisymmetric diffusion ... Published by Elsevier Science Inc. ..... computer program for the two-dimensional di- ...... stitute, Pittsburgh, pp. 1099–1106. 15.

An Experimental Study on Basic Performance of Flash ...
The simulator is expected to be effective to design flash-based database ... calculated the trend line for each data series. The ... RAID 0, 1, 5 and 10. Seagate ...

An experimental study of carbon-isotope fractionation ...
Abstract: The carbon-isotope composition of hair and feces offers a glimpse into the diets of mammalian herbivores. It is particularly useful for determining the relative consumption of browse and graze in tropical environments, as these foods have s

An Experimental Study of Sponsored-Search Auctions
Research Foundation of Korea funded by the Ministry of Education, Science and ... for more than $21 billion of revenue for search firms in US.1 The auction format used for selling ad ... 1See http://www.iab.net/media/file/IAB PwC 2007 full year.pdf.

An Experimental Study on the Capture Effect in ... - Semantic Scholar
A recent measurement work on the cap- ture effect in 802.11 networks [12] argues that the stronger frame can be successfully decoded only in two cases: (1) The.

Bad News: An Experimental Study On The ...
Sep 1, 2011 - rewards can be an effective way of motivating people, there is also a vast ..... We did not find any indication of order effects of the conditions (I-U.

Experimental and Theoretical Study of Light ...
distributed memory computers, provided that the number of dipoles per processor is large enough. The size of the dipoles was varied in the range λ/11 – λ/8 for ...

Negative Ion of Boron: An Experimental Study of the 3P ...
Mar 23, 1998 - and strong electron correlations give rise to correlation energies which are ... ing the neutral atom in its ground state [3–6], whereas the binding ...

Constrained School Choice: An Experimental Study
Nov 18, 2008 - Sönmez, Utku Ünver and participants of the Caltech SISL Mini-Conference on Matching for helpful discussions, and Sebastian Bervoets for ...

Write Here, Write Now!: An Experimental Study ... - Research at Google
particular on group maintenance, impression management and relationship-focused ... writing software is often not geared toward a relational ap- proach to ...

An Experimental Study on IO Optimization Techniques for Flash ...
We examined the IO optimization techniques and the distinct features of the flash SSD. The IOs applied with optimization techniques are analyzed through the IO ...

An Experimental Study on Non-Linear Vibration ...
... structures need stronger design and higher service life associated with saving in weight. ... top, keeping the chamber open to atmosphere. ... to account them.