Code Monkey home page Code Monkey logo

tcc's Introduction

TCC

English

This repository contains my graduation project.

This project is a prototype of a cloud gaming service based on Sunshine and Moonlight.

I used sunshine docker image and customized it to run on Kubernetes. It was tested on AWS EKS.

A key difference in this project is the use of Nvidia MPS to run multiple games in the same GPU, using less resources than other approaches.

Português

Este repositório contém meu projeto final de graduação.

Este projeto é um protótipo de um servico de cloud gaming baseado no Sunshine e no Moonlight.

Eu usei as imagens docker do Sunshine e as customizei para rodar no Kubernetes. Foi testado no AWS EKS.

A principal diferença deste projeto em relação aos semelhantes é o uso do Nvidia MPS para rodar vários jogos na mesma GPU, usando então, menos recursos.

Use

Here there are some instructions to run the project (although there are scripts to do it, it could be automated more).

There are two directories in the repository. game_builds and infra. The game_builds contain Dockerfiles to build the images. The infra contains the definitions of the infrastructure. To create the infrastructure you need to have access to an AWS account that is able to create EC2 instances with GPUs. After configuring the AWS credentials, you need to install eksctl, kubectl, aws-cli to run the scripts.

The script infra_setup.sh contains the necessary steps to set up the infrastructure, but there are manual steps commented in the script that are necessary for the moment.

It is also possible to run this locally, although Nvidia MPS won't work on consumer GPUs since it is a datacenter technology only.

tcc's People

Contributors

naythann avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.