Tracker-based Peer Selection using ALTO Map Information draft-yang-tracker-peer-selection-00 Y. Richard Yang Richard Alimi, Ye Wang, David Zhang, Kai Lee.

Slides:



Advertisements
Similar presentations
Digital Library Service – An overview Introduction System Architecture Components and their functionalities Experimental Results.
Advertisements

Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
20/10/2006ALPAGE1 Ordered slicing of very large scale overlay networks Mark Jelasity University of Bologna, Italy Anne-Marie Kermarrec INRIA Rennes/IRISA,
More on protocol implementation Version walks Timers and their problems.
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Conducted by:Cheng Wen Chi Chiu Kwok Shing Choi Kwok Yam Advised by Prof. Danny Tsang TD1a-09, BEng of Computer Engineering, HKUST.
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
PERSISTENT DROPPING: An Efficient Control of Traffic Aggregates Hani JamjoomKang G. Shin Electrical Engineering & Computer Science UNIVERSITY OF MICHIGAN,
Efficient and Flexible Parallel Retrieval using Priority Encoded Transmission(2004) CMPT 886 Represented By: Lilong Shi.
Router Architecture : Building high-performance routers Ian Pratt
A Peer-to-Peer On-Demand Streaming Service and Its Performance Evaluation Presenter: Nera Liu Author: Yang Guo, Kyoungwon Suh, Jim Kurose and Don Towsley.
CStream: Neighborhood Bandwidth Aggregation For Better Video Streaming Thangam Vedagiri Seenivasan Advisor: Mark Claypool Reader: Robert Kinicki 1 M.S.
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada ISP-Friendly Peer Matching without ISP Collaboration Mohamed Hefeeda (Joint.
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony L. T.
Boost Write Performance for DBMS on Solid State Drive Yu LI.
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
Distributed Systems CS Naming – Part II Lecture 6, Sep 26, 2011 Majd F. Sakr, Vinay Kolar, Mohammad Hammoud.
Study of IP address lookup Schemes
1 CS 194: Distributed Systems Distributed Hash Tables Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
Peer To Peer Distributed Systems Pete Keleher. Why Distributed Systems? l Aggregate resources! –memory –disk –CPU cycles l Proximity to physical stuff.
Management by Network Search
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
PARALLEL TABLE LOOKUP FOR NEXT GENERATION INTERNET
Grid Appliance – On the Design of Self-Organizing, Decentralized Grids David Wolinsky, Arjun Prakash, and Renato Figueiredo ACIS Lab at the University.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Department of Information Engineering The Chinese University of Hong Kong A Framework for Monitoring and Measuring a Large-Scale Distributed System in.
P2P Traffic Localization by Alias Tracker for Tracker-based P2P applications (ATTP) draft-zhang-alto-attp-02 Yunfei Zhang China Mobile.
Query Optimization Chap. 19. Evaluation of SQL Conceptual order of evaluation – Cartesian product of all tables in from clause – Rows not satisfying where.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
A Scalable Content-Addressable Network (CAN) Seminar “Peer-to-peer Information Systems” Speaker Vladimir Eske Advisor Dr. Ralf Schenkel November 2003.
Towards a Billion Routing Lookups per Second in Software  Author: Marko Zec, Luigi, Rizzo Miljenko Mikuc  Publisher: SIGCOMM Computer Communication Review,
NIBEDITA MAULIK GRAND SEMINAR PRESENTATION OCT 21 st 2002.
MATRIX MULTIPLY WITH DRYAD B649 Course Project Introduction.
P4P Implementation Yale LANS. P4P Portal Services Location Portal Service pDistance Portal Service Two services because  Different functionalities 
ALTO Protocol draft-penno-alto-protocol-03 Presenters: R. Alimi, R. Penno Current Design Team working on the draft: Richard Alimi, Reinaldo Penno, Stefano.
SIGCOMM 2001 Lecture slides by Dr. Yingwu Zhu Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications.
P2P Streaming Protocol (PPSP) Requirements draft-zong-ppsp-reqs-03.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
1. Outline  Introduction  Different Mechanisms Broadcasting Multicasting Forward Pointers Home-based approach Distributed Hash Tables Hierarchical approaches.
LogTree: A Framework for Generating System Events from Raw Textual Logs Liang Tang and Tao Li School of Computing and Information Sciences Florida International.
1. Efficient Peer-to-Peer Lookup Based on a Distributed Trie 2. Complex Queries in DHT-based Peer-to-Peer Networks Lintao Liu 5/21/2002.
Peer to Peer Network Design Discovery and Routing algorithms
P4P : Provider Portal for P2P Applications Richard Alimi, Doug Pasko, Laird Popkin, Ye Wang, Y. Richard Yang ALTO/IETF 73, November 18, 2008.
Algorithms and Techniques in Structured Scalable Peer-to-Peer Networks
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
INTERNET TECHNOLOGIES Week 10 Peer to Peer Paradigm 1.
File Processing : Query Processing 2008, Spring Pusan National University Ki-Joune Li.
Evaluating the performance of Seagate Kinetic Drives Technology and its integration with the CERN EOS storage system Ivana Pejeva openlab Summer Student.
Bigtable: A Distributed Storage System for Structured Data
CSCI 599: Beyond Web Browsers Professor Shahram Ghandeharizadeh Computer Science Department Los Angeles, CA
Ofir Luzon Supervisor: Prof. Michael Segal Longest Prefix Match For IP Lookup.
A Practical Performance Analysis of Stream Reuse Techniques in Peer-to-Peer VoD Systems Leonardo B. Pinho and Claudio L. Amorim Parallel Computing Laboratory.
Naming for Mobile Systems
An example of peer-to-peer application
IP Routers – internal view
COS 461: Computer Networks
Database Management Systems (CS 564)
EE 122: Peer-to-Peer (P2P) Networks
5.2 FLAT NAMING.
Physical Database Design
Selected Topics: External Sorting, Join Algorithms, …
Distributed Systems CS
Mobile P2P Data Retrieval and Caching
COS 461: Computer Networks
Presentation transcript:

Tracker-based Peer Selection using ALTO Map Information draft-yang-tracker-peer-selection-00 Y. Richard Yang Richard Alimi, Ye Wang, David Zhang, Kai Lee IETF 79 - Beijing, China - Nov 2010

Challenges Tracker Scalability  Many peers distributed in many torrents/channels  Many ISPs providing ALTO info Application-Network Information Fusion  Application requirements/policies  Application endpoint info  Network providers’ ALTO info  Third-party database info 2 IETF 79 - Beijing, China - Nov 2010

Simple Representation Problem: scanning Peer Table to select peers can be inefficient Peer IDIP AddressUpload Capacity Play PointALTO Network Info City… GH4C kbps01:19:21pid1.yaleNew Haven … J8NRE Mbps00:05:37pid2.yaleUnknown… ………………… 3 IETF 79 - Beijing, China - Nov 2010 Peer Table Cost Tables, e.g.,  ALTO Cost table

Peer Selection using Classification Objective  Aggregation to improve scalability only need to match categories  better scalability Many Classification Attributes, e.g.,  Upload capacity class, play point cluster, ALTO Network Map Multi-Dimension Classification  Classify peers using multiple attributes, e.g., Level 1: ALTO Network Map Level 2: Upload capacity 4 IETF 79 - Beijing, China - Nov 2010

Peer Classification: an Example IETF 79 - Beijing, China - Nov Classification 1 (upload capacity) Classification 2 (ALTO map) n1 (Root) n2 (low) n3 (med) n4 (high) n5 (Root) n6 (ISP1) n7 (ISP2) n8 (PID1) n9 (PID2) n10 (PIDA) n11 (PIDB)

Peer Classification: an Example IETF 79 - Beijing, China - Nov new peer (high capacity) (IP address in ISP1:PID2) Classification 1 (upload capacity) Classification 2 (ALTO map) n1 (Root) n2 (low) n3 (med) n4 (high) n5 (Root) n6 (ISP1) n7 (ISP2) n8 (PID1) n9 (PID2) n10 (PIDA) n11 (PIDB)

Peer Selection using Classification Home Node  A leaf category node where the peer issuing LISTING request belongs to Peer Selection Sequence  A mapping: from a home node to a traversal sequence of category nodes, with a specified target fraction to be reached upon visiting each node Peer Selection Process  Sequentially follow the nodes in the sequence in order 7 IETF 79 - Beijing, China - Nov 2010

An Example Peer A in n4 (home leaf) requests 50 neighbors: - select up to 25 (50%) peers from n4; - continue to reach up to 40 (80%) from n5; - continue to reach up to 49 (95%) from n2; - continue to reach up to 50 (100%) from n3 Peering Selection Table n4→[n4, 50%] [n5, 80%] [n2, 95%] [n3, 100%] n5→[n4, 20%] [n5, 60%] [n2, 95%] [n3, 100%] … n9→… 8 IETF 79 - Beijing, China - Nov 2010 A, B, C… D, E… A, B, C, D, E… Root ISP1 (n1) HC (n4) LC (n5) ISP2 (n2) HC (n6) LC (n7) ISP3 (n3) HC (n8) LC (n9)

Simple Peer Classification using ALTO Network Maps One three-layer classification tree using the ALTO Network Map of each ISP  Used in P4P trials  Can be used with distributed trackers (one tracker per ISP) … … 9 IETF 79 - Beijing, China - Nov 2010 ISP1 Root Intra- ISP1 iPID ePID … …

Peering Matrix Computation Bandwidth Matching  Consider both application requirements and ALTO info for each PID, tracker periodically estimates aggregated upload capacity and download demand use bandwidth matching algorithm to compute weights Generic Peering Matrix bandwidth matching, assuming uniform supply and demand across PIDs ALTO Services Application Peering Matrix Computation Network Map Cost Map App-specific or generic peering matrix App-specific states 10 IETF 79 - Beijing, China - Nov 2010

ALTO/P4P Library for Tracker Peer Selection 11 Application Optimization Engine (peering matrix computation; a separate thread or machine) ALTO Info update (run in its own thread) Peer Classification: -Upon peer arrival, looks up new address in each ALTO Network Map IETF 79 - Beijing, China - Nov 2010 Peer Selection: -Upon peer LISTING request, selects peers according to classification Peer Update: -Upon peer keep alive, update statistics of classification

Memory: < 150 MB Benchmarking 12 Application Optimization Engine (if state dependent, 5 sec) ALTO Info update (run in its own thread; potentially slowest) Peer Classification: -Lookup rate: ~2,000,000 lookups/sec using Patricia tree IETF 79 - Beijing, China - Nov 2010 Peer Selection: -Join rate (classification + peer selection): 25,000 peers/sec in single thread Peer Update 1,000,000 peers; Network Map/Cost Map with 10 to 30 PIDs

PlanetLab Experiments Experiment Setup  ~2500 P2P live streaming clients 4 instances running on each PlanetLab node  Three emulated ALTO servers US, Europe, Asia  Generic Peering Matrix using the library Results Metricw/o ALTOw/ ALTO Network Efficiency Intra-US supply ratio 25.9 GB (/44.1 GB) 58.7% 40.9 GB (/52.6 GB) 77.8% Intra-PID supply ratio 6.9 GB 15.6% 22.7 GB 43.2% Application Performance Avg. Playback Startup Delay 31.1 seconds26.9 seconds #Playback Freezes106 for all clients52 for all clients 13 IETF 79 - Beijing, China - Nov 2010

Thank you! IETF 79 - Beijing, China - Nov

Backup Slides

Tracker ISP Data Structures ISP 1ISP M ISPPIDMap PIDMap PIDMapPortalAPI ISPPDistanceMap PDistanceMap PDistanceMapPortalAPI 16 IETF 79 - Beijing, China - Nov 2010

Per Channel Data Structures isp1ispK Peer Group1 Peer Group2 Peer Group 3 Peer Group 4 17 IETF 79 - Beijing, China - Nov 2010

Peering Matrix  A data structure to implement peering weights of per-ISP classification tree each entry in matrix encodes peering weight from row to column complexity: O(N) iPID1iPID2iPID3iPID4intra ISP ePID1ePID2ePID3 iPID1 iPID2 iPID3 iPID4 18 IETF 79 - Beijing, China - Nov 2010

Implementation Experience Processing Complexity  Peer IP lookup in peer classification We use Patricia Trie for IP address lookup: > 2,000,000/second  extended LC-trie can be more efficient  hash map is slow Multi-thread Processing  ALTO info update should run in a thread periodically refresh ALTO maps Network Map update triggers Cost Map update and peer classification update  slowest part Cost Map update triggers Peering Matrix update  e.g., by calling AOE  Can run multi-thread workers for peer classification if peer arrival/departure rate is high 19 IETF 79 - Beijing, China - Nov 2010