Cloud Gaming Architecture based on StarlingX and Akraino Integrated - - PowerPoint PPT Presentation

cloud gaming architecture
SMART_READER_LITE
LIVE PREVIEW

Cloud Gaming Architecture based on StarlingX and Akraino Integrated - - PowerPoint PPT Presentation

Cloud Gaming Architecture based on StarlingX and Akraino Integrated Cloud Native Edge Stack (ICN Blueprint) Ziheng Qin(SJTU), Ruoyu Ying(Intel) Dingyu Wang, Qiucheng Wu, Xinyu Ye, Zhengda Wu, Yong Long(SJTU), Forrest Zhao, Guangxin Xu(Intel)


slide-1
SLIDE 1

Cloud Gaming Architecture based on StarlingX and Akraino Integrated Cloud Native Edge Stack (ICN Blueprint)

Ziheng Qin(SJTU), Ruoyu Ying(Intel)

Dingyu Wang, Qiucheng Wu, Xinyu Ye, Zhengda Wu, Yong Long(SJTU), Forrest Zhao, Guangxin Xu(Intel) Date: Nov 6th, 2019

slide-2
SLIDE 2

Agenda

  • Concept and architecture
  • Cloud gaming design description
  • Prototype
  • Test result and discussion
  • Future plan
slide-3
SLIDE 3

Gaming: Expensive hardware or high latency? Edge cloud -- the balanced solution

slide-4
SLIDE 4

Concept Generation

  • AWS, GCP and Alibaba Cloud

Public Central Cloud

  • Server located in the company

Private Central Cloud

  • Edge Server located near terminal devices

Edge Servers

slide-5
SLIDE 5

Central Cloud Concept

Concept Diagram-Central Cloud

Central Cloud Graphic Rendering User Control Information User Device User Control Data Stream Web Game Server (Game running here)

slide-6
SLIDE 6

Edge Cloud Concept

Concept Diagram-Edge Cloud

Central Cloud Organizer User Control Information User Device Edge Cloud Graphic Rendering Management info (Initialization, Life cycle, etc.) (Game running here)

slide-7
SLIDE 7

Edge Cloud Concept (Web Game)

Concept Diagram-Edge Cloud

Central Cloud Organizer User Control Information User Device Edge Cloud Graphic Rendering Graphic Info Management info (Initialization, Life cycle, etc.) Web Game Server (Game client-side running here)

slide-8
SLIDE 8

Design Description - Container

slide-9
SLIDE 9

Design Description - StarlingX

slide-10
SLIDE 10

Design

CentOS Server (StarlingX) Kubernetes Docker

Game Rendered by OpenGL (C++)

Docker

Gameboy Emulator (Golang)

Clients C++ Win32 API

Control info Pixel Info

Clients Linux System

Control info Pixel Info

slide-11
SLIDE 11

Design

Central Cloud Organizer (StarlingX)

StarlingX: Deploy & Maintain In Large Scale

slide-12
SLIDE 12

Demo Game Details

Client

Control Table Input World Status Pixel Info

R/W R/W

Screen Buffer

R/W

Send Recv Display

Server Player

Mutex Render

slide-13
SLIDE 13

Manufacturing Process

Step 1: Building StarlingX(server) component at Intel

  • nsite

Step 2: Develop the game application on local host Step 3: Integrate developed application on StarlingX environment, establish the communication channel Step 4: Testing and Reflection based on engineering specifications

slide-14
SLIDE 14

Prototype

Client Initialize Interface Server Status Game Interface

slide-15
SLIDE 15

Prototype——Starting the server

Starting the server on the StarlingX

slide-16
SLIDE 16

Prototype——Initialize Client

Entering the server’s IP and Port

slide-17
SLIDE 17

Prototype——Game In Interface

slide-18
SLIDE 18

Prototype Demo Video

slide-19
SLIDE 19

Test result

Test Result: data latency between hardware and edge cloud is at most 200ms

Latency: around 40ms

slide-20
SLIDE 20

Project Plan Discussion

Pros:​

  • Showed how to use StarlingX(part of Akraino) to set up a real application​
  • Greatly reduce latency by employing edge cloud​
  • The architecture is easy to deploy and compatible

Our Design(Edge Cloud) AWS(Public Cloud)

slide-21
SLIDE 21

Project Plan Discussion

  • Cons:
  • Currently we run StarlingX in VirtualBox, which is slower than running

StarlingX directly on machine and it consumes a lot of CPU resource.

  • Currently resolution is limited by bandwidth
  • Possible Improvements
  • Deploy games with better hardware on the server
  • Run StarlingX directly on machine (This will need appropriate hardware)
  • Use video encoding-decoding process to reduce bandwidth consumption
  • Employ 5G to increase bandwidth and lower down latency
slide-22
SLIDE 22

Project Plan Conclusions

  • Outcomes
  • Create an easy to deploy model & sample for edge cloud gaming
  • Reduce latency by employing edge cloud and StarlingX(part of Akraino tech-

stack​)

  • Provide a more promising future for cloud gaming
slide-23
SLIDE 23

Future plan

  • Adopt more improvements on the edge server usage
  • Leverage acceleration technologies to facilitate the rendering process
  • Add remote control for cloud gaming
slide-24
SLIDE 24

Future plan – Cont’d

  • Adopt more improvements on the edge server usage

Choose the Akraino Integrated Cloud Native blueprint to acquire:

  • I. Co-existence of multiple deployment types(VNFs, CNFs, containers and

functions)

  • II. Advanced networking support(multiple networks, provider networks,

dynamic route/network creation, etc)

  • III. AI based predictive placement(Telemetry collected thru Prometheus,

training and inferencing framework) IV.Multi site scheduler(Based on ONAP4K8S for auto edge registration, workload placement, etc)

slide-25
SLIDE 25

Edge Stack (ICN) – Big picture

Hardware platform Operating system Virtualization & Container Run time Platform Services Edge Value added services Site level Orchestration Multi Cluster Orchestration Apps, VNFs, CNFs SmartNIC Inline Crypto Acceleration Autonomous Media Acceleration Elastic Power Management RDT Geo Distributed DBaaS Virtualization of

  • Local accelerators
  • Remote Accelerators

Multi-tenant Kubernetes QoS based Admission control MC Orchestrator (ONAP4K8S) Developer applications Augment K8S for all deployment types MC Security Controller MC Service Controller Infrastructure Orchestration (Metal3, Ironic, BPA) Geo Distributed Vault Distributed Security & Network functions Distributed Data & Analytics platform Monitoring Platform (fluentd, Elasticsearch, Kiana) Accelerator Plugins QAT, SRIOV Telemetry Collection Collectd , Prometheus 5G CBRS Stack Optimized Service mesh ISTIO/Envoy Docker Virtlet Kata Ubuntu CentOS Clear Tools to developers to optimize and convert for Edges (e.g DPDK, OneAPI)

New feature project

Multus OVN NFD OVN4K8S

Existing Open source, Major enhancement, work with upstream Enhancement in ICN project

Flannel

slide-26
SLIDE 26

Future plan – Cont’d

  • Leverage acceleration technologies to facilitate the

rendering process

Choose the VAAPI library to utilize the hardware capabilities(GPU) to accelerate the transcoding process in video rendering

  • Add remote control for cloud gaming

Choose the kernel module called ‘uinput’ to emulate input devices(such as keyboard and mouse) from user space in order to have the remote control for cloud gaming.

slide-27
SLIDE 27

Project Plan Q&A

Thanks for your time listening, any question is welcomed!

slide-28
SLIDE 28

Backup

slide-29
SLIDE 29

Reference

  • StarlingX documentation: https://www.starlingx.io/
  • Akraino Integrated Cloud Native(ICN) documentation:

https://wiki.akraino.org/pages/viewpage.action?pageId=11995140