CS4513 Distributed Computing Systems Games in the Cloud.

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

Performance Analysis of Home Streaming Video Using Orb Rabin Karki, Thangam Seenivasan, Mark Claypool and Robert Kinicki Worcester Polytechnic Institute.
Thin to Win? Network Performance Analysis of the OnLive Thin Client Game System By Mark Claypool, David Finkel, Alexander Grant, and Michael Solano Submitted.
Networks & Multimedia Amit Pande, Post-doctoral fellow, Department of Computer Science, University of California Davis
CPSC Characteristics of Streaming Media Stored on the Web M. Li, M. Claypool, R. Kinicki, and J. Nichols To appear in ACM Transactions on Internet.
Application, Network and Link Layer Measurements of Streaming Video over a Wireless Campus Network Passive & Active Measurement Workshop 05 Boston, MA,
Motion and Scene Complexity for Streaming Video Games Mark Claypool Computer Science Department Worcester Polytechnic Institute Worcester, Massachusetts,
Mark Claypool’s MQP Projects Network Games Streaming Media.
Performance Analysis of Orb Rabin Karki and Thangam V. Seenivasan 1.
Perspectives, Frame Rates and Resolutions: It's all in the Game Mark Claypool Kajal Claypool Worcester Polytechnic Institute Worcester, MA, USA
Mark Claypool’s MQP Projects Network Games Streaming Media.
EE442—Multimedia Networking Jane Dong California State University, Los Angeles.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
The Effects of Loss and Latency on User Performance in Unreal Tournament 2003 Tom Beigbeder, Rory Coughlan, Corey Lusher, John Plunkett, Emmanuel Agu,
The Effects of Loss and Latency on User Performance in Unreal Tournament 2003 Tom Beigbeder, Rory Coughlan, Corey Lusher, John Plunkett, Emmanuel Agu,
The Effects of Loss and Latency on User Performance in Unreal Tournament 2003 Tom Beigbeder, Rory Coughlan, Corey Lusher, John Plunkett, Emmanuel Agu,
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute
Traffic Analysis of Avatars in Second Life James Kinicki and Mark Claypool Computer Science Department Worcester Polytechnic Institute Worcester, Massachusetts,
March 2008MQP TopicsSlide 1 Mark Claypool’s MQP Projects Network Games Streaming Media.
On the Turbulence * of Nintendo DS and Sony PSP Hand-held Network Games Mark Claypool Computer Science Department Worcester Polytechnic Institute.
1 The Effects of Latency on Online Madden NFL Football James Nichols and Mark Claypool Computer Science Department Worcester Polytechnic Institute Massachusetts,
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
Android in the Cloud Chromebooks, BYOD and Wearables Joel Isaacson Copyright 2014 Joel Isaacson
Measurement of the Congestion Responsiveness of RealPlayer Streaming Video Over UDP Jae Chung, Mark Claypool, Yali Zhu Proceedings of the International.
The Effects of Frame Rate and Resolution on Users Playing First Person Shooter Games Mark Claypool CS Department Worcester Polytechnic Institute
Guidelines for Selecting Practical MPEG Group of Pictures The IASTED International Conference on Internet and Multimedia Systems and Applications (EuroIMSA.
Network Analysis of Counter-strike and Starcraft Mark Claypool, David LaPoint, Josh Winslow Worcester Polytechnic Institute Worcester, MA, USA
The Effects of Latency on Player Performance in Cloud-based Games Mark Claypool and David Finkel Computer Science and Interactive.
Manasa Guduru Sai Prasanth Sridhar Malini srinivasan Sinduja Narasimhan Reference: Aymerich, F. M., Fenu, G., & Surcis, S. (2008). An approach to a cloud.
Mark Claypool’s MQP Projects Network Games Streaming Media.
Ryan Shea and Jiangchuan Liu, Simon Fraser University Edith C.-H. Ngai, Uppsala University, Yong Cui, Tsinghua University Published in August 2013 Presented.
Introducing MagicInfo Videowall 2
EEL 6935 Embedded Systems Long Presentation 2 Group Member: Qin Chen, Xiang Mao 4/2/20101.
Internet GIS. A vast network connecting computers throughout the world Computers on the Internet are physically connected Computers on the Internet use.
Client/Server Architectures
Video Streaming © Nanda Ganesan, Ph.D..
Sony Pictures1 Preparing your customers and your facilities for Blu-ray A powerful format that leads to new challenges in authoring and creative design.
Page 1 Transform SCN Sample, Compress, Network Transporting computer imagery over IP networks.
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
By Qian Deng MobiUS: Enable Together-Viewing Video Experience across Two Mobile Devices.
Exploiting Proxy-Based Transcoding to Increase the User Quality of Experience in Networked Applications Maarten Wijnants Patrick Monsieurs Peter Quax Wim.
EFFECTS OF LOCALITY, CONTENT AND JAVA RUNTIME ON VIDEO PERFORMANCE Vikram Chhabra, Akshay Kothare, Mark Claypool Computer Science Department Worcester.
Mark Claypool’s MQP Projects Network Games Streaming Media.
The Way Forward Factors Driving Video Conferencing Dr. Jan Linden, VP of Engineering Global IP Solutions.
Uniquitous: Implementation and Evaluation of a Cloud-based Game System in Unity3d IMGD M.S. Thesis Presentation Meng Luo Advisor: Professor Mark Claypool.
Data Compression. Compression? Compression refers to the ways in which the amount of data needed to store an image or other file can be reduced. This.
Adaptive Multi-path Prediction for Error Resilient H.264 Coding Xiaosong Zhou, C.-C. Jay Kuo University of Southern California Multimedia Signal Processing.
Latency Can Kill: Precision and Deadline in Online Games Mark Claypool Professor of CS Director of IMGD Worcester Polytechnic Institute Kajal Claypool.
Introducing MagicInfo Videowall I
Thin to Win? Network Performance Analysis of the OnLive Thin Client Game System Mark Claypool, David Finkel, Alexander Grant and Michael Solano Computer.
1 Measuring Congestion Responsiveness of Windows Streaming Media James Nichols Advisors: Prof. Mark Claypool Prof. Bob Kinicki Reader: Prof. David Finkel.
Latency and Player Actions in Online Games Mark Claypool & Kajal Claypool Worcester Polytechnic Institute Communications of the ACM, Nov Presented.
Elevator Pitch According to statistics, one in three people aged 18 to 40 years old interested in computer games. While all players experience some common.
New Video Conferencing Developments Bob Dixon - OSCnet & Ohio State University Megan Troyer - Ohio State University Gabe Moulton - Ohio State University.
Video Data Topic 4: Multimedia Technology. Learning Objectives Hardware required to capture Digital video How video files are stored Factors affecting.
Multiplexing Team Members: Cesar Chavez Arne Solas Steven Fong Vi Duong David Nguyen.
Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Advisor: Mark Claypool Reader: Bob Kinicki.
COMP1321 Digital Infrastructure Richard Henson March 2016.
Doc.: IEEE /1162r1 Submission Sept 2013 Guoqing Li (Intel)Slide 1 Video Application Categories and Characteristics Date: Authors: NameAffiliationsAddressPhone .
The Effects of Latency on Player Performance in Cloud-based Games Mark Claypool and David Finkel Worcester Polytechnic Institute 1 In Proceedings of the.
Cloud Computing ENG. YOUSSEF ABDELHAKIM. Agenda :  The definitions of Cloud Computing.  Examples of Cloud Computing.  Which companies are using Cloud.
Distributed Computing Systems Network Games. References / Reading [BT01] P. Bettner and M. Terrano Archers on a 28.8: Network Programming in Age.
Business System Development
MPEG-4 Binary Information for Scenes (BIFS)
H.264/SVC Video Transmission Over P2P Networks
Principles of Network Applications
Overview What is Multimedia? Characteristics of multimedia
Coding Approaches for End-to-End 3D TV Systems
Presentation transcript:

CS4513 Distributed Computing Systems Games in the Cloud

Introduction Growth: – Networks – high bandwidth to the home – Thin clients – Remote Desktop, Google Desktop – Online games Opportunity: – Heavyweight, “fat” server hosting game – Stream game as interactive video over network – Played on a lightweight, thin client Motivation: – Rendering game that requires data and specialized hardware not at client Sony Remote Play, OnLive – Augmented reality - physical world enhanced by thin, wearable computers (e.g., head-mounted displays) – Ease of implementation and maintenance

References [CCL14] W. Cai, M. Chen, and V. Leung. “Toward Gaming as a Service”, IEEE Internet Computing, May/June, 2014 (to appear) [Cla09] Mark Claypool. “Motion and Scene Complexity for Streaming Video Games”, In Proceedings of the 4th ACM International Conference on the Foundations of Digital Games (FDG), Florida, USA, April [CFGS14] Mark Claypool, David Finkel, Alexander Grant and Michael Solano. “On the Performance of OnLive Thin Client Games”, Springer Multimedia Systems Journal (MMSJ), February 2014.

Outline Introduction(done) Games as a Service(next) Games as Video Game Video Performance

Why Games as a Service? Potential scalability – Overcome processing and storage limitations Cross-platform support – Can run games built for different platforms (e.g., Xbox and Playstation) on one device Piracy prevention – Since game code is stored in cloud, cannot be copied Click-to-play – Game can be run without installation

Cloud Game Modules (1 of 2) Input – receives control messages from players Game logic – manages game content Networking – exchanges data with server Rendering – renders game frames How do put in cloud?

Cloud Game Modules (2 of 2) Cuts 1.All game logic on player, cloud only relay information (traditional network game) 2.Player only gets input and displays frames (remote rendering) 3.Player gets input and renders frames (local rendering)

Remote Rendering e.g., – Onlive (commercial) – Gaming Anywhere (research) – Cloud Saucer Shoot (teaching) Cloud runs full, traditional game Captures video (“scrape” screen) and encode Client only needs capability to decode and play – Relatively minor requirements Bitrate requirements can be an issue

Local Rendering Instead of video frames, send display instructions – Potentially great bitrate savings Challenge for instruction set: able to represent all images for all games e.g., Browser-based games (via HTML5 and/or Javascript), [De Winter et al., NOSSDAV ‘06]

Potential Distribution of Computing Partitioning coordinator if/when to migrate functionality (e.g., reduce cloud load and/or when terminal has greater capabilities) – Remote and Local rendering cases (above) are really just special cases Challenge: how to do so in general, how to synchronize if both cloud + terminal have module (e.g., “6”) e.g., [Cai et al., CloudCom 2013]

Outline Introduction(done) Games as a Service(done) Games as Video(next) Game Video Performance

Application Streams vs. Game Streams Traditional thin client applications (e.g., x-term, remote login shell): – Relatively casual interaction e.g., typing or mouse clicking – Infrequent display updates e.g., character updates or scrolling text Computer games: – Intense interaction e.g., avatar movement and shooting – Frequently changing displays e.g., 360 degree panning

Games as Streaming Video High bandwidth – push limits of graphics – Need efficient compression Adapting traditional video to network  motion and scene complexity crucial to maximize quality – High motion needs quality scaling – Low motion needs temporal scaling – Complex scenes limit ability to quality scale – Getting it “right” improves perceived quality by as much as 50% To more effectively stream games as video, need: 1.Standard measures of motion and scene complexity 2.Streaming game videos as benchmarks 3.Understanding how current thin tech is limited

Game Perspectives First Person Linear Third Person Linear Third Person Isometric Omnipresent

Motion 9 Videos varying motion/scene complexity Divide frame into 16 blocks User rated amount of motion (0, ¼, ½, ¾, 1) Results: – MPEG vector [12]: 0.51 – PMES [9]: 0.70 – Interpolated macroblocks [13]: 0.63 Our measure: – Percentage of Forward/backward or Intracoded Macroblocks (PFIM) 0.95

Scene Complexity Same 9 Videos varying motion/scene complexity Divide frame into 16 blocks User rated complexity (0, ¼, ½, ¾, 1) Our measure: – Intracoded Block Size (IBS) 0.68

Select Games

Capture Game Videos FRAPS (Direct X or OpenGL), 30 f/s PC Intel P4, 4.0 GHz, 512 MB RAM, nVidia Geforce 6800GT 256 – After: MPEG compress using Berkeley MPEG Tools Resolution: 800x600 pixels Length: 30 seconds

Select Videos Widely used by multimedia community Range of motion and scene complexity Each 10 seconds long

Motion and Scene Complexity MOTION Games from.20 to.95 – First highest  panning – Third iso  lowest (except side scroll ) – Omin  all medium Videos all.70 to ~1 SCENE COMPLEXITY Games vary considerably across all genres – First least (may value responsiveness) – Omni most (lots of detail for game play) – Third medium Videos vary low to high but a bit less than highest omni

Motion and Scene Complexity - Summary

Outline Introduction(done) Games as a Service(done) Games as Video(done) Game Video Performance(next)

What is OnLive and Why is it Important? Gaming in the cloud Thin client, no special hw requirements – PC, Mac, OnLive mini-console Game video streamed to client Importance: – Allows playing AAA games on simple devices – Provide access to legacy games on next-gen consoles without hardware compatibility

Goal of Study How does the magic of OnLive work? – “black box” Study network traffic turbulence of games on OnLive – Packet size – Inter-packet time – Overall bitrate up and down – Performance during loss & latency Controlled variation of network parameters Different genres of games

Unreal Tournament III (2007) First-person shooter

Batman: Arkham Asylum (2009) Third-person action-adventure

Grand Ages: Rome Real-time strategy, omnipresent (2009)

Experimental Set-Up

Design of Experiments All traffic measured UDP Varied capacity, loss and latency Parameters: – Capacity (down:up)5:1 Mb/s, 10:2 Mb/s, and unrestricted – Latency (round-trip)0, 40, and 70 ms – Loss (downstream)0%, 1%, and 1.5% – Iterations: 2.5 minute game runs, 3 iterations for each experiment, following longer pilot studies

Downstream Bitrate unrestricted UT, Batman similar Rome less dynamic display

Upstream Bitrate unrestricted Upstream similar Much less than downstream! Only UT for subsequent analysis

Downstream Bitrate Capacity restriction Bitrate responds to capacity

Downstream Bitrate Loss and Latency Bitrate does not respond to loss and latency

Downstream Bitrate TCP Friendly OnLive not TCP Friendly

Downstream Bitrate Capacity restriction Capacity affects frame rate (OnLive recommends 5 Mb/s, but accepts 2 Mb/s)

Predicted Player Performance (Model based on FPS data with restricted frame rates) Capacity affects performance

Downstream Bitrate vs. Other Applications Skype about ½ bitrate (but about ½ resolution) YouTube expands to use all available (over 90 seconds)

Turbulence Summary

Summary Games as service new model for cloud computing – Choices on distribution of rendering and computation Cloud games are like video, but different – Wider range of motion and scene complexity OnLive – Like video conference down, traditional games up – Bitrate responds to capacity, but not loss or latency Not TCP-Friendly – Best for players above 5 Mb/s, with 2 Mb/s minimum Lower capacities affect player performance