Giter Club home page Giter Club logo

Comments (2)

edwarnicke avatar edwarnicke commented on August 25, 2024

Question... if we are statically configuring services to PFs... how does that link up with the real registry for the network service registry domain?

If we are configuring multiple capabilities for each PF... how does that map to the Device Plugin scheduling URL that has one capability?

from cmd-forwarder-sriov.

Bolodya1997 avatar Bolodya1997 commented on August 25, 2024
  1. My fault - it is not a service but serviceDomain. We can make some assumption that there is some set of Endpoints over the PF labeled as serviceDomain=... and there is at least one of them registered with the service we need. If not, request will fail on discovery stage.

  2. PF provides multiple token names: { service/intel, service/10G }. After client selects VF using one of the tokens, all the other tokens are marked as closed and set unhealthy for Device Plugin so it stops scheduling them to clients and reschedules clients for which those devices has been allocated.

PF = 2 * { service: intel, 10G } -> []{ 
    service/intel{1} - free,
    service/10G{2} - free,
    service/intel{3} - free,
    service/10G{4} - free
}
client-1  -allocate->  service/intel{1} - allocated
client-2  -allocate->  service/intel{3} - allocated
client-3  -allocate->  service/10G{2} - allocated
client-1    -use->    service/intel{1} - inUse, service/10G{4} - closed (first close free, then allocated)
client-3    -use->    service/10G{2} - inUse, service/intel{3} - closed (don't close inUse)
* * * reschedule client-2 to another node * * *

from cmd-forwarder-sriov.

Related Issues (15)

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.