Scalable Peer-to-peer Network for Highly Synchronized Simulations Shun-Yun Hu Institute of Physics, Academia Sinica 2005/03/11.

Slides:



Advertisements
Similar presentations
A Construction of Locality-Aware Overlay Network: mOverlay and Its Performance Found in: IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 22, NO.
Advertisements

Dynamic Replica Placement for Scalable Content Delivery Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy, EECS Department.
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
Search in Power-Law Networks Presented by Hakim Weatherspoon CS294-4: Peer-to-Peer Systems Slides also borrowed from the following paper Path Finding Strategies.
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
Mohamed Hefeeda 1 School of Computing Science Simon Fraser University, Canada Multimedia Streaming in Dynamic Peer-to-Peer Systems and Mobile Wireless.
The Organic Grid: Self- Organizing Computation on a Peer-to-Peer Network Presented by : Xuan Lin.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
Cis e-commerce -- lecture #6: Content Distribution Networks and P2P (based on notes from Dr Peter McBurney © )
Peer-to-Peer 3D Streaming ACM Multimedia 2007 submission Presenter: Shun-Yun Hu ( 胡舜元 ) Adaptive Computing and Network Lab Dept. of CSIE,
1 Denial-of-Service Resilience in P2P File Sharing Systems Dan Dumitriu (EPFL) Ed Knightly (Rice) Aleksandar Kuzmanovic (Northwestern) Ion Stoica (Berkeley)
Atomistic Protein Folding Simulations on the Submillisecond Timescale Using Worldwide Distributed Computing Qing Lu CMSC 838 Presentation.
1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2008/05/08.
Rutgers PANIC Laboratory The State University of New Jersey Self-Managing Federated Services Francisco Matias Cuenca-Acuna and Thu D. Nguyen Department.
A. Frank 1 Internet Resources Discovery (IRD) Peer-to-Peer (P2P) Technology (1) Thanks to Carmit Valit and Olga Gamayunov.
P2P-based Simulator for Protein Folding Shun-Yun Hu 2005/06/03.
Vassilios V. Dimakopoulos and Evaggelia Pitoura Distributed Data Management Lab Dept. of Computer Science, Univ. of Ioannina, Greece
1 An Overlay Scheme for Streaming Media Distribution Using Minimum Spanning Tree Properties Journal of Internet Technology Volume 5(2004) No.4 Reporter.
1 CS 194: Distributed Systems Distributed Hash Tables Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
1 Enhancing Neighborship Consistency for Peer-to-Peer Distributed Virtual Environments Jehn-Ruey Jiang, Jiun-Shiang Chiou and Shun-Yun Hu Department of.
Improving Data Access in P2P Systems Karl Aberer and Magdalena Punceva Swiss Federal Institute of Technology Manfred Hauswirth and Roman Schmidt Technical.
1CS 6401 Peer-to-Peer Networks Outline Overview Gnutella Structured Overlays BitTorrent.
Middleware for P2P architecture Jikai Yin, Shuai Zhang, Ziwen Zhang.
Distributed Computer Architecture Benjamin Jordan, Kevin Cone, Jason Bradley.
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
Introduction Widespread unstructured P2P network
Survey of Peer to Peer Technologies Authors: Bratislav Milić, Jelena Krunić, Veljko Milutinović,
Developing Analytical Framework to Measure Robustness of Peer-to-Peer Networks Niloy Ganguly.
Distributed Systems Concepts and Design Chapter 10: Peer-to-Peer Systems Bruce Hammer, Steve Wallis, Raymond Ho.
GeoGrid: A scalable Location Service Network Authors: J.Zhang, G.Zhang, L.Liu Georgia Institute of Technology presented by Olga Weiss Com S 587x, Fall.
Introduction of P2P systems
黃福銘 (Angus F.M. Huang) ANTS Lab, IIS, Academia Sinica TrajPattern: Mining Sequential Patterns from Imprecise Trajectories.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2005/10/19.
N ETWORKed M EDIA L AB. D EPT. OF I NFO. & C OMM., K-JIST Scalable Overlay Network for Peer-to-Peer File Sharing Park, Chanmo Networked Media Lab. Kwang-Ju.
A Scalable Content-Addressable Network (CAN) Seminar “Peer-to-peer Information Systems” Speaker Vladimir Eske Advisor Dr. Ralf Schenkel November 2003.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/02/15.
Super-peer Network. Motivation: Search in P2P Centralised (Napster) Flooding (Gnutella)  Essentially a breadth-first search using TTLs Distributed Hash.
Distributed Avatar Management for Second Life Matteo Varvello (Eurecom-Thomson) With Stefano Ferrari (Eurecom-Thomson), Ernst Biersack (Eurecom) Christophe.
Distributed Computing CSC 345 – Operating Systems By - Fure Unukpo 1 Saturday, April 26, 2014.
Freelib: A Self-sustainable Digital Library for Education Community Ashraf Amrou, Kurt Maly, Mohammad Zubair Computer Science Dept., Old Dominion University.
FLoD: A Framework for Peer-to-Peer 3D Streaming IEEE INFOCOM 2008 Shun-Yun Hu*, Ting-Hao Huang, Shao-Chen Chang*, Wei-Lun Sung*, Jehn-Ruey Jiang*, and.
1 Scalable Peer-to-Peer Networked Virtual Environment Master Thesis Oral Examination Dept. of CSIE, Tamkang Univ. Advisor: Dr. Chen Jui-Fa Shun-Yun Hu.
A P2P-Based Architecture for Secure Software Delivery Using Volunteer Assistance Purvi Shah, Jehan-François Pâris, Jeffrey Morgan and John Schettino IEEE.
Scalable Peer-to-peer Network for Biological Simulations Shun-Yun Hu 2005/05/26.
1 Peer-to-Peer Networked Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/10/18.
1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu CSIE, National Central University, Taiwan 2008/06/03.
Efficient AOI-Cast for Peer-to-Peer Networked Virtual Environments.
Stefanos Antaris A Socio-Aware Decentralized Topology Construction Protocol Stefanos Antaris *, Despina Stasi *, Mikael Högqvist † George Pallis *, Marios.
Peer to Peer Network Design Discovery and Routing algorithms
1 Scalable AOI-cast for Peer-to-Peer Networked Virtual Environments Jehn-Ruey Jiang, Yu-Li Huang, and Shun-Yun Hu CSIE, National Central University, Taiwan.
Algorithms and Techniques in Structured Scalable Peer-to-Peer Networks
Two Peer-to-Peer Networking Approaches Ken Calvert Net Seminar, 23 October 2001 Note: Many slides “borrowed” from S. Ratnasamy’s Qualifying Exam talk.
Peer-to-Peer Video Systems: Storage Management CS587x Lecture Department of Computer Science Iowa State University.
Stefanos Antaris Distributed Publish/Subscribe Notification System for Online Social Networks Stefanos Antaris *, Sarunas Girdzijauskas † George Pallis.
P2P Search COP P2P Search Techniques Centralized P2P systems  e.g. Napster, Decentralized & unstructured P2P systems  e.g. Gnutella.
Peer-to-Peer Content Delivery for X3D Earth Shun-Yun Hu Adaptive Computing and Network Lab Dept. of CSIE, National Central University 2006/11/14.
1 Selection Strategies for Peer-to-Peer 3D Streaming Wei-Lun Sung, Shun-Yun Hu, Jehn-Ruey Jiang National Central University, Taiwan 2008/05/29.
Relying on Safe Distance to Achieve Strong Partitionable Group Membership in Ad Hoc Networks Authors: Q. Huang, C. Julien, G. Roman Presented By: Jeff.
1 Scalable Peer-to-Peer Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2008/05/26.
Repairing Sensor Network Using Mobile Robots Y. Mei, C. Xian, S. Das, Y. C. Hu and Y. H. Lu Purdue University, West Lafayette ICDCS 2006 Speaker : Shih-Yun.
Director: Sheng-Wei Chen Presenter: Shun-Yun Hu. MMNet Intro Multimedia Networking and Systems Laboratory Established since Dr. Sheng-Wei Chen (Associate.
1 VON: A Scalable Peer-to-Peer Network for Virtual Environments Shun-Yun Hu ( 胡舜元 ) CSIE, National Central University, Taiwan 2007/06/15.
2010 IEEE Global Telecommunications Conference (GLOBECOM 2010)
EE 122: Peer-to-Peer (P2P) Networks
Scalable Peer-to-Peer Networked Virtual Environment
A Case for Mutual Notification
Peer-to-Peer Video Services
Presentation transcript:

Scalable Peer-to-peer Network for Highly Synchronized Simulations Shun-Yun Hu Institute of Physics, Academia Sinica 2005/03/11

Outline Introduction Voronoi-based Overlay Network (VON) Simulation Results Conclusion

A Look at Simulations Simulations are important tools in scientific research Larger scale and higher resolution (more accurate and detailed simulations) are constantly sought However, computational resource can be limited

An Untapped Potential 300 Million PCs on the Internet (2000 est.) Up to 80% to 90% of CPU is wasted Large supply of computing resource, growing rapidly

An Example: Search for Extraterrestrial Intelligence (SETI) UC Berkeley Project launched in May 1999 PC User downloads a screen saver Calculations are done using idle CPU time 2005/03 statistics (in 6 years) 5.3 M world-wide participants 2.2 M years of single-processor CPU 54 teraflop machine (current top 3: 70.72, 51.87, 35.86)

Simulation: Stanford Project launched in Sept Seeks to determine protein’s 3D structure Screensaver that downloads “work units” 2002 Statistics: 30,000 volunteers 1 M days of single-processor CPU Published 23 papers in: Science, Nature, Nature Structural Biology, PNAS, JMB, etc.

The Grand Question Can we build the ultimate simulator for large-scale simulation utilizing millions of computers world-wide? Potential applications: Nuclear reaction Star clusters Atomic-scale modeling in material science Weather, earthquakes Biology (protein, ecosystem, brain,...)

Current Limitations Current methodology Centralized server + many clients Client requests “work unit” to process Communication is minimized Clients do not communicate Issues: Only suitable for “embarrassingly parallel” simulations Sophisticated server-side algorithm and management required An alternative: peer-to-peer (P2P) computing

What is Peer-to-Peer (P2P)? [Stoica et al. 2003] Distributed systems without any centralized control or hierarchical organization Runs software with equivalent functionality Examples File-sharing: Napster, Gnutella, eDonkey VoIP:Skype DHT:Chord, CAN, Pastry

Peer-to-Peer Overlay A P2P overlay network source: [Keller & Simon 2003]

Promise & Challenge of P2P Promises Growing resource, decentralized  Scalable Commodity hardware  Affordable Challenges Topology maintenance  dynamic join/leave Efficient content retrieval  no global knowledge

A Simulation Scenario How can we utilize P2P for simulation-purpose? Answer: depends on what you want to simulate We observe that many simulations… are spatially-oriented (i.e. based on coordinate systems) run in discrete time-steps require synchronization at each time-step exhibit localized interaction (i.e. short-range interaction) example: molecular dynamics (MD) simulation

Scenario Defined for P2P Many simulated entities (nodes) on a 2D plane ( > 1,000) Positions (coordinates) may change at each time-step How to synchronize positions with those in Area of Interest (AOI)? Area of Interest

P2P Design Goals Observation: the contents are information from AOI neighbors P2P content discovery is a neighbor discovery problem Solve the Neighbor Discovery Problem in a fully- distributed, message-efficient manner. Specific goals: Scalable  Limit & minimize message traffics Fast  Direct connection with AOI neighbors

Outline Introduction Voronoi-based Overlay Network (VON) Simulation Results Conclusion

Voronoi Diagram 2D Plane partitioned into regions by sites, each region contains all the points closest to its site Can be used to find k-nearest neighbor easily Neighbors Site Region

Design Concepts Identify enclosing and boundary neighbors Each node constructs a Voronoi of all AOI neighbors Enclosing neighbors are minimally maintained Mutual collaboration in neighbor discovery CircleArea of Interest (AOI) Whiteself Yellowenclosing neighbor (E.N.) L. Blueboundary neighbor (B.N.) PinkE.N. & B.N. GreenAOI neighbor D. Blueunknown neighbor Use Voronoi to solve the neighbor discovery problem

Procedure (JOIN) 1)Joining node sends coordinates to any existing node Join request is forwarded to acceptor 2)Acceptor sends back its own neighbor list joining node connects with other nodes on the list Acceptor’s region Joining node

Procedure (MOVE) 1)Positions sent to all neighbors, mark messages to B.N. B.N. checks for overlaps between mover’s AOI and its E.N. 2)Connect to new nodes upon notification by B.N. Disconnect any non-overlapped neighbor Boundary neighbors New neighbors Non-overlapped neighbors

Demonstration Simulation video General movements (30 nodes, 800x600 world) Local vs. global view

Outline Introduction Voronoi-based Overlay Network (VON) Simulation Results Conclusion

Simulation Method Condition World-size:1000x1000 AOI:150 Trials:10 ~ 250 nodes Time-steps:1000 Behavior model Random movement:random direction Constant velocity:5 units/step Movement duration:random (1-25 steps)

Consistency Metrics Topology Consistency [Kawahara, 2004] Number of observed AOI neighbors Number of actual AOI neighbors Drift Distance [Diot, 1999] Distance between observed position and actual position (average over all nodes)

Topology Consistency

Drift Distance

Scalability (1)

Scalability (2)

Scalability (3)

Outline Introduction Voronoi-based Overlay Network (VON) Simulation Results Conclusion

Summary Idle CPU and networks are untapped potential resources for large-scale simulation Current approaches do not support simulations that require frequent synchronization / updates A promising solution: Voronoi-based P2P Overlay Leverage knowledge of each peer to maintain topology Properties: scalable, efficient, fully-distributed Enable simulations with frequent localized synchronization

Future Works 3D Voronoi Heterogeneous node capacities Node failures Application to actual research problems

Acknowledgements Dr. Jui-Fa Chen ( 陳瑞發老師 ) Dr. Wei-Chuan Lin ( 林偉川老師 ) Members of the Alpha Lab, TKU CS Guan-Ming Liao( 廖冠名 ) Dr. Chin-Kun Hu( 胡進錕老師 ) LSCP, Institute of Physics, Academia Sinica Joaquin Keller(France Telecomm R&D, Solipsis) Bart Whitebook(butterfly.net) Jon Watte(there.com) Dr. Wen-Bing Horng( 洪文斌老師 ) Dr. Jiung-yao Huang( 黃俊堯老師 )

Protein Folding Problem Find native state (lowest free energy) 3D structure given a 1D sequence of amino acids Timescale limitation of classical MD methods Secondary structure folds in 0.1 ~ 10  s Small protein folds in tens of  s Current record: 1  s (villin headpiece) full-atomic simulation of 1 ns takes one CPU day 100 ~ 10,000 gap (it might take decades)

Parallelization Dynamics of complex system involves crossing of free energy barriers Most time is spent in free energy minimum “waiting” Possible to simulate using trajectories much shorter than folding time “ensemble dynamics” (same coords, different velocities)

Simulation Specifics free energy barrier crossing is identified by spike in energy variance Fs peptide (5-residue) (fold time 10ns and 160 +/-10ns) Artificial mini-protein BBA5 (23-residue) Tens of thousands of 5-20ns trajectories (total of 700us) Mean folding time is 10  s, 10 out of 10,000 folds in 10ns

Procedure (LEAVE) 1)Simply disconnect 2)Others then update their Voronoi new B.N. is discovered via existing B.N. Leaving node (also a B.N.) New boundary neighbor

Scalability (1) Average transmission size per node per second

Scalability (2) Maximum transmission size per second among all nodes

Scalability (3) Average neighbor size for basic and dynamic AOI models

Problems of Voronoi Approach Message traffic Circular round-up of nodes Redundant message sending (inherent to fully-distributed design) Incomplete neighbor discovery Can happen with inconsistent / incorrect neighbor list Fast moving node