1 IMPROVING RESPONSIVENESS BY LOCALITY IN DISTRIBUTED VIRTUAL ENVIRONMENTS Luca Genovali, Laura Ricci, Fabrizio Baiardi Lucca Institute for Advanced Studies.

Slides:



Advertisements
Similar presentations
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Advertisements

1 EuroIMSA 2007 Chamonix, March th 2007 A PUBLISH SUBSCRIBE SUPPORT FOR NETWORKED MULTIPLAYER GAMES IASTED European Conference on INTERNET AND MULTIMEDIA.
Synchronization Chapter clock synchronization * 5.2 logical clocks * 5.3 global state * 5.4 election algorithm * 5.5 mutual exclusion * 5.6 distributed.
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
Time and Clock Primary standard = rotation of earth De facto primary standard = atomic clock (1 atomic second = 9,192,631,770 orbital transitions of Cesium.
CS-550: Distributed File Systems [SiS]1 Resource Management in Distributed Systems: Distributed File Systems.
An Associative Broadcast Based Coordination Model for Distributed Processes James C. Browne Kevin Kane Hongxia Tian Department of Computer Sciences The.
Peer-to-Peer Support for Massively Multiplayer Games Bjorn Knutsson, Honghui Lu, Wei Xu, Bryan Hopkins Presented by Mohammed Alam (Shahed)
Ashish Gupta Under Guidance of Prof. B.N. Jain Department of Computer Science and Engineering Advanced Networking Laboratory.
JaDE: A JXTA Support for Distributed Virtual Environments Luca Genovali Laura Ricci Luca Genovali, Laura Ricci Università degli Studi di Pisa JaDE: A JXTA.
1 AINA 2006 Wien, April th 2006 DiVES: A DISTRIBUTED SUPPORT FOR NETWORKED VIRTUAL ENVIRONMENTS The IEEE 20th International Conference on Advanced.
1 Efficient Retrieval of User Contents in MANETs Marco Fiore, Claudio Casetti, Carla-Fabiana Chiasserini Dipartimento di Elettronica, Politecnico di Torino,
AOI cast Based Compass Routing in Distributed Virtual Environments Michele Albano, Luca Genovali Antonio Quartulli, Laura Ricci AOI CAST TOLERANCE BASED.
EEC-681/781 Distributed Computing Systems Lecture 3 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
Distributed Systems Fall 2009 Replication Fall 20095DV0203 Outline Group communication Fault-tolerant services –Passive and active replication Highly.
Lecture 13 Synchronization (cont). EECE 411: Design of Distributed Software Applications Logistics Last quiz Max: 69 / Median: 52 / Min: 24 In a box outside.
Performance Comparison of Existing Leader Election Algorithms for Dynamic Networks Mobile Ad Hoc (Dynamic) Networks: Collection of potentially mobile computing.
EEC-681/781 Distributed Computing Systems Lecture 11 Wenbing Zhao Cleveland State University.
1 Enhancing Neighborship Consistency for Peer-to-Peer Distributed Virtual Environments Jehn-Ruey Jiang, Jiun-Shiang Chiou and Shun-Yun Hu Department of.
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
EEC-681/781 Distributed Computing Systems Lecture 10 Wenbing Zhao Cleveland State University.
Lecture 12 Synchronization. EECE 411: Design of Distributed Software Applications Summary so far … A distributed system is: a collection of independent.
Hierarchical P2P Overlays for DVE: An Additively Weighted Voronoi Based Approach Michele Albano Luca Genovali Laura Ricci HIERARCHICAL P2P OVERLAYS FOR.
JokerStars: Online Card Playing William Sanville Milestone 4.
1 Efficient Management of Data Center Resources for Massively Multiplayer Online Games V. Nae, A. Iosup, S. Podlipnig, R. Prodan, D. Epema, T. Fahringer,
Chapter 1 The Challenges of Networked Games. Online Gaming Desire for entertainment has pushed the frontiers of computing and networking technologies.
Magda El Zarki Professor of CS Univ. of CA, Irvine
These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer.
A Delaunay Triangulation Architecture Supporting Churn and User Mobility in MMVEs Mohsen Ghaffari, Behnoosh Hariri and Shervin Shirmohammadi Advanced Communications.
1 System Models. 2 Outline Introduction Architectural models Fundamental models Guideline.
Team ThinkTank. Specifications Ad Hoc networking game. Similar to the Atari Combat! Players control their tank and shoot enemy tanks. Each player gets.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
© 2002, Cisco Systems, Inc. All rights reserved..
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Reliable Communication in the Presence of Failures Based on the paper by: Kenneth Birman and Thomas A. Joseph Cesar Talledo COEN 317 Fall 05.
Computer Science Lecture 10, page 1 CS677: Distributed OS Last Class: Naming Name distribution: use hierarchies DNS X.500 and LDAP.
Parallel and Distributed Simulation Synchronizing Wallclock Time.
ONLINE GAME NETWORK TRAFFIC OPTIMIZATION Jaewoo kim Youngho yi Minsik cho.
Distributed Virtual Environments Introduction. Outline What are they? DVEs vs. Analytic Simulations DIS –Design principles Example.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Lecture 4: Sun: 23/4/1435 Distributed Operating Systems Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
An IP Address Based Caching Scheme for Peer-to-Peer Networks Ronaldo Alves Ferreira Joint work with Ananth Grama and Suresh Jagannathan Department of Computer.
Agenda Fail Stop Processors –Problem Definition –Implementation with reliable stable storage –Implementation without reliable stable storage Failure Detection.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Real-Time & MultiMedia Lab Synchronization Distributed System Jin-Seung,KIM.
A Grid-enabled Multi-server Network Game Architecture Tianqi Wang, Cho-Li Wang, Francis C.M.Lau Department of Computer Science and Information Systems.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Lazy Release Consistency for Software Distributed Shared Memory Pete Keleher Alan L. Cox Willy Z. By Nooruddin Shaik.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
An Extensible RTCP Control Framework for Large Multimedia Distributions Paper by: Julian Chesterfield Eve M. Schooler Presented by: Phillip H. Jones.
Relying on Safe Distance to Achieve Strong Partitionable Group Membership in Ad Hoc Networks Authors: Q. Huang, C. Julien, G. Roman Presented By: Jeff.
Network Topologies for Scalable Multi-User Virtual Environments Lingrui Liang.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
CCNA 2 Router and Routing Basics Module 8 TCP/IP Suite Error and Control Messages.
EEC 688/788 Secure and Dependable Computing Lecture 10 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
Parallel and Distributed Simulation Techniques
CSE 486/586 Distributed Systems Logical Time
CHAPTER 3 Architectures for Distributed Systems
CSE 486/586 Distributed Systems Logical Time
COT 5611 Operating Systems Design Principles Spring 2012
EEC 688/788 Secure and Dependable Computing
Layering & protocol stacks Johan Lukkien
EEC 688/788 Secure and Dependable Computing
EEC 688/788 Secure and Dependable Computing
CSE 486/586 Distributed Systems Logical Time
COT 5611 Operating Systems Design Principles Spring 2014
Last Class: Naming Name distribution: use hierarchies DNS
Presentation transcript:

1 IMPROVING RESPONSIVENESS BY LOCALITY IN DISTRIBUTED VIRTUAL ENVIRONMENTS Luca Genovali, Laura Ricci, Fabrizio Baiardi Lucca Institute for Advanced Studies & Department of Computer Science University of Pisa, Italy ECMS 2007-Prague – 4-6 th June 2007

2 PRESENTATION OUTLINE ● DVE: an overview ● Consistency Models, Perceptive Consistency ● Local Lag ● Our proposal: the MultiLags approach ● Experimental results

3 DISTRIBUTED VIRTUAL ENVIRONMENTS ● Distributed Virtual Environments (DVE) = A Virtual Environment including a set of Avatars: ● Interacting within a virtual world. ● Hosted by geographically distributed computers. ● Usually controlled by the users ● Instances of DVE are: ● Large scale combat simulations. ● Massively Multiplayer Online Games (MMOG). ● Distributed simulations of complex physical models based upon domain decomposition approach.

4 DVE: RELATED ISSUES Issues related to the definition of a large-scale DVE ● Consistency ● Scalability ● Performance/Responsiveness ● Persistency ● Reliability ● Security

5 CONSISTENCY MODELS Causality Concurrency Simultaneity Instantaneity

6 PERCEPTIVE CONSISTENCY Perceptive Consistency: a wall-clock time based model integrating Simultaneity: if two actions occurs simultaneously, then all the hosts perceive them at the same instant of time. Each host perceives at t + ∆ any action occurring at time t It requires clocks synchronization but it guarantees a total order of events (a tiebreaker may be introduced to order simultaneous events) ∆ = Response Time (typical values millisec) = These values guarantee that humans cannot perceive the delay ∆, because of their perceptive limits

7 THE LOCAL LAG TECHNIQUE ● Local lag: a technque to implement perceptive consistency ● Basic idea: rendering of events is delayed by any host of an interval of time ∆, (local lag) in order ● to hide the delay due to network latencies in the notification of events to other hosts. ● to guarantee event simultaneity ● Problems to be solved: ●Instantaneusness is maintained provided that ∆ is kept small ● If ∆ is statically defined ● it may be overestimated because of latency jitter ●Overestimation of ∆ decreases the responsiveness of the application and favours cheating.

8 THE LOCAL LAG TECHNIQUE: IMPLEMENTATION Each event e is associated with a timestamp T= t + ∆, where t is the wall clock time corresponding to the generation of e ∆ is the value of the local lag An event e on the local host is stored and rendered at T on the remote hosts if e is received on time: e is rendered at T if e is received after T: e is discarded

9 OUR PROPOSAL: THE MULTILAGS APPROACH ● Multilags extends the local lag approach by ● Dynamic definition of the value of ∆ ● Multiple values for ∆ are associated to different groups of interacting hosts ● Dynamic definition of ∆: ● ∆ is dinamically updated according to network conditions. It is increased if the network is congestioned, it is decreased if the latency is low ● Multiple values of ∆: ● DVE locality: each DVE entity interacts with a subset other entities of the DVE only ● Groups of interacting entities may exploit different values of ∆.

10 DVE LOCALITY: AREA OF INTEREST Area of Interest (AOI) of a DVE entity e: it includes entities which may interact with e Mobile Area of Interest Area surronding the avatar’s position. Dynamically updated as the avatar moves. Static AOI: Tightly bounded to a particular portion of virtual environment, not to a particular avatar May be dinamically modified Area of Interest: generally exploited to define scalable DVEs overlay topologies

11 STATIC AOI: THE MULTILAGS APPROACH Static AOI: ● a distinct value of ∆ i for each static region r i ● ∆ i ● is exploited by any entity in r i ● depends upon the state of network connections among the players belonging r i. ● Each entity updates ∆ i when it moves to a new region ● ∆ i Caching ● ∆ i Prefetching

12 DYNAMIC AOI: THE MULTILAGS APPROACH ● Dynamic AOI: detecting groups of mutually interacting entities ● Definition: belongs to relation = A belongs to B  A belongs to the AOI of B. ● A group S of interacting entitities is a set of entities such that belongs to on S is equal to its transitive and symmetric closure. ● Complex dynamic tests to verify this condition in a distributed environment. S

13 OUR PROPOSAL Our solution exploits static AOIs A multicast group for each region The value of ∆ is updated according to the interactions among the entities in a region ∆ is updated periodically, while the entity stays in a region anytime the entity moves to a new region

14 MULTILAGS IMPLEMENTATION The value of ∆ is dynamically computed by each host according to its Local Network View (LNV) Local Network View = information collected by H on the network status. It depends upon the number of late messages with respect to their timestamps the number of lost messages Each host may perceive different LNV compute a distinct values of ∆ but.... all the interacting entities must exploit the same value of ∆ to guarantee simultaneousness and correct event ordering

15 MULTILAGS IMPLEMENTATION A set of interacting hosts executes a protocol to reach a distributed consensus on a common value of ∆ Each host: updates its LNV at each message reception broadcasts its LNV to all the interacting entities. Heartbeat messages may be exploited update local lag: periodically combines its LNV with those received from the interacting hosts in order to refine the value of the local lag

16 MULTILAGS IMPLEMENTATION ● Each event sent by an entity E is associated with ● the local lag ● the LNV of E ● When an host P receives a messages ● Computes the delay/...of the message with respect to its timestamp ● Updates P LNV Sending operations Receiving operations

17 MULTILAGS IMPLEMENTATION ● A fully distributed consensus may introduce inconsistencies because distinct hosts may ● perceive different values of LNV due to packet loss ● execute the procedure at different instants of time ● Definition of a coordinator: ● computes the new value of the local lag and send this value to all the interacting hosts ● coordination selection: based upon the IP address ● SPMD-like code

18 LOCAL LAG DYNAMIC UPDATE

19 EXPERIMENTAL RESULTS ● Testing Environment: 16 hosts, connected by a local network. ● The DVE is partitioned into four rectangular regions ● Wide area network conditions simulation: network delays generated according to an exponential distribution. ● A distinct average latency has been associated to each region. ● The values associated with the regions 0…3 are, respectively, 80,120,160,200 ms. ● Update Local Lag is executed every 5 seconds. The response time is incr\decr by 10 msec. The initial value of the response time is 100 msec.

20 EXPERIMENTAL RESULTS: AVERAGE DRIFT

21 EXPERIMENTAL RESULTS: NUMBER OF ERRORS

22 DEADLINE BASED CONSISTENCY MODELS ∆- Sequential/Causal Consistency Introduces the notion of physical time Simultaneity is not captured. ‘’Reading in Time’’ = ’A Read operation R on a object X executed at time T(R) occurs in time if it returns the value written by operation W at time T(W) and no intermediate writes occur in the system in the interval of time [T(W), T(R)-∆], where ∆ is a parameter characterizing the model.’’ An implementation of the models requires physical clocks synchronization (ex: via NTP)