Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve GPU SR-IOV allocation #559

Merged
merged 3 commits into from
Feb 29, 2024
Merged

Improve GPU SR-IOV allocation #559

merged 3 commits into from
Feb 29, 2024

Commits on Feb 28, 2024

  1. incusd/device/gpu_sriov: Add locking

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    Sponsored-by: ActivePort (https://www.activeport.com.au)
    stgraber committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    d3820c8 View commit details
    Browse the repository at this point in the history
  2. incusd/device/gpu_sriov: Re-locate vfio-pci loading

    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    Sponsored-by: ActivePort (https://www.activeport.com.au)
    stgraber committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    769c003 View commit details
    Browse the repository at this point in the history
  3. incusd/device/gpu_sriov: Rework VF allocation logic

    Change VF allocation logic to rely more on the resources API data to
    locate potential VFs across multiple GPUs, then compare those to pick
    whichever suitable GPU is currently the least busy.
    
    Closes lxc#531
    
    Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
    Sponsored-by: ActivePort (https://www.activeport.com.au)
    stgraber committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b4e97da View commit details
    Browse the repository at this point in the history