Giter VIP home page Giter VIP logo

compperfworkshop's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compperfworkshop's Issues

MPS v MIG v Neither

Hi Folks,

I am trying to gain understanding of how GPU (space and time) sharing works in nvidia. I have gone through the docs pages and also performed some experiments on it.

It would be of immense help to me if a GPU expert here could clarify if my understanding is correct.

Sorry if it is not appropriate channel for the query. Please let me know if you would recommend a more appropriate channel for discussion

As per my understanding:

  • For every CPU process an equivalent GPU context is created.

No MIG / MPS case (Normal)

  • Without MIG or MPS in place, we can have only 1 context utilizing the GPU.
  • However, a context, could use multiple streams to execute kernels asynchronously on GPU.
  • If there are more than 1 context spawned, it is time shared and never space shared.

MPS

  • MPS provides with a mechanism to chunk a GPU upto a maximum of 48 ways using Software segregation.
  • However, this is limited only to SMs and not its memory or cache.
  • Here we can divide SMs into decimal %ges at a process / context level.

MIG

  • MIG is the latest feature that allows for a complete compute and memory isolation where a GPU can be diveded upto a maximum of 7 partitions.
  • It promotes guaranteed performance

A few references:
https://stackoverflow.com/a/31643688/9328077
https://stackoverflow.com/a/14896945/9328077
https://www.nvidia.com/en-us/technologies/multi-instance-gpu/
https://docs.nvidia.com/deploy/mps/index.html

I am also searching for profilers that could give me insights from GPU standpoint and not from a process stand point Could you please share your inputs on this?

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.