Network Physics Created by Ruslan Yavdoshak for Nikitova Games, 2008.

Slides:



Advertisements
Similar presentations
QoS Strategy in DiffServ aware MPLS environment Teerapat Sanguankotchakorn, D.Eng. Telecommunications Program, School of Advanced Technologies Asian Institute.
Advertisements

Using Edge-To-Edge Feedback Control to Make Assured Service More Assured in DiffServ Networks K.R.R.Kumar, A.L.Ananda, Lillykutty Jacob Centre for Internet.
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Dead Reckoning Objectives – –Understand what is meant by the term dead reckoning. –Realize the two major components of a dead reckoning protocol. –Be capable.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Next Generation Networks Chapter 10. Knowledge Concepts QoS concepts Bandwidth needs for Internet traffic.
ACN: IntServ and DiffServ1 Integrated Service (IntServ) versus Differentiated Service (Diffserv) Information taken from Kurose and Ross textbook “ Computer.
QoS Protocols & Architectures by Harizakis Costas.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
24-1 Chapter 24. Congestion Control and Quality of Service part Quality of Service 23.6 Techniques to Improve QoS 23.7 Integrated Services 23.8.
Switching, routing, and flow control in interconnection networks.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
1: Introduction1 Part I: Introduction Goal: r get context, overview, “feel” of networking r more depth, detail later in course r approach: m descriptive.
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
Computer Networking Quality-of-Service (QoS) Dr Sandra I. Woolley.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
1 Integrated and Differentiated Services Multimedia Systems(Module 5 Lesson 4) Summary: r Intserv Architecture RSVP signaling protocol r Diffserv Architecture.
IntServ / DiffServ Integrated Services (IntServ)
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
Tiziana Ferrari Quality of Service Support in Packet Networks1 Quality of Service Support in Packet Networks Tiziana Ferrari Italian.
QoS Architectures for Connectionless Networks
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
IP QoS for 3G. A Possible Solution The main focus of this network QoS mechanism is to provide one, real time, service in addition to the normal best effort.
© 2006 Cisco Systems, Inc. All rights reserved. 3.3: Selecting an Appropriate QoS Policy Model.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 3: Introduction to IP QoS.
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
Class-based QoS  Internet QoS model requires per session state at each router  1000s s of flows  per session RSVP is complex => reluctance.
The University of Bolton School of Games Computing & Creative Technologies LCT2516 Network Architecture CCNA Exploration LAN Switching and Wireless Chapter.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
Salim Hariri HPDC Laboratory Enhanced General Switch Management Protocol Salim Hariri Department of Electrical and Computer.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
CS 447 Network & Data Communication QoS (Quality of Service) & DiffServ Introduction Department of Computer Science Southern Illinois University Edwardsville.
Applicazione del paradigma Diffserv per il controllo della QoS in reti IP: aspetti teorici e sperimentali Stefano Salsano Università di Roma “La Sapienza”
Chapter 7 Backbone Network. Announcements and Outline Announcements Outline Backbone Network Components  Switches, Routers, Gateways Backbone Network.
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet.
CS640: Introduction to Computer Networks Aditya Akella Lecture 21 – QoS.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.
Differentiated Services IntServ is too complex –More focus on services than deployment –Functionality similar to ATM, but at the IP layer –Per flow QoS.
Challenges in the Next Generation Internet Xin Yuan Department of Computer Science Florida State University
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
Providing QoS in IP Networks
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
1. Layered Architecture of Communication Networks: Circuit Switching & Packet Switching.
On-time Network On-Chip: Analysis and Architecture CS252 Project Presentation Dai Bui.
1 Flow-Aware Networking Introduction Concepts, graphics, etc. from Guide to Flow-Aware Networking: Quality-of-Service Architectures and Techniques for.
Network Processing Systems Design
10. Mai 20061INF-3190: Multimedia Protocols Quality-of-Service Foreleser: Carsten Griwodz
Instructor Materials Chapter 6: Quality of Service
Chapter 7 Backbone Network
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
EE 122: Quality of Service and Resource Allocation
On-time Network On-chip
CIS679: Two Planes and Int-Serv Model
Presentation transcript:

Network Physics Created by Ruslan Yavdoshak for Nikitova Games, 2008

Index AI Cover Lags, Lag compensation Smoothing Priority channel, QoS

AI Cover Multiplayer = AI (realization) Multiplayer more fun than AI Conflict 2 side hosts [Player + AI], [Player], where AI is processing when lag has been happened? Prediction of the decision of AI on different hosts

LAGS: Plague of networked games Physics of Latency: <10ms LAN <30ms “Regional Lag” <100ms World Lag with fiber optics ms (avr.) Satellite communication >350ms overloaded channel, slow communication, delay filter Speed of transfer for “acknowledge” transport :PacketSize / (2*latency) Additional latency when packet has been drop Example: 1450 byte packets on a link that can handle 2500 bytes / s of data: Next Packet Time = Current Time + (1450 bytes + 28 byte UDP header) / 2500 = Current Time seconds Computer hardware and operating system latency

How to Overcome Latency Decouple the communications from your game: Place blocking communications calls in a separate thread or use asynchronous communications calls. Never await incoming data from another player before allowing game play to continue. Use predicting, interpolating, and reconciling later to improve game play. When using prediction, transmit not just position information, but also velocity and acceleration. Latch or queue user input (for example, keystrokes) until the next time communications data is to be sent. If you use the more traditional method of checking the keyboard at regular intervals during the game loop and perform this checking only at moments before sending data to the network, you will be prone to missing user input.

How to Overcome Latency Hide latencies in other game elements: Schedule events in the future if you want them to happen simultaneously for all users. Require multiple shots to kill someone, and minimize the number of all-or-nothing, deterministic, latency-sensitive events. Make rockets take a long time in the air (and reconcile the outcome while the rocket is flying). Require time to move from one location to another (don't allow any instantaneous teleporters). Make players, ships, and other objects move in ways that facilitate prediction. For example, build inertia into the way entities in your game move. Use your imagination to incorporate latency within the context of your game concept.

Dead Reckoning Algorithms Cubic splines

Lag Compensation Terminology: Server-side prediction Client-side prediction Drawbacks of movement prediction ( ms.) Hit-side prediction Cheat protection

Lag Compensation

Smoothing Extrapolation correction Queue of packets & “live-modifying” Speed limits Active walk system (steps & turn)

Quality-of-Service (IntServ ) Integrated Services (IntServ): architecture for providing QoS guarantees in IP networks for individual flows fundamental changes to the Internet to reserve end-to-end bandwidths components: admission control resource reservation routing classifier and route selection packet scheduling Problems with that approach: scalability/complexity: maintaining per-flow router state difficult with large number of flows flexible service models: IntServ has only two classes (controlled, guaranteed), we would like “qualitative” service classes

Quality-of-Service (DiffServ ) Differentiated Services (DiffServ): simple functions in network core, relatively complex functions at edge routers (or hosts) –edge: packet classification, packet marking, traffic conditioning –core: forwarding flows are aggregated into classes that receive ‘treatment’ depending on class parameters don’t define define service classes, provide functional components to build service classes

Channels/Flow