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

Add limits.cpu.pin_strategy setting to disable VM CPU auto pinning by default #14171

Merged

Commits on Oct 21, 2024

  1. api: Add vm_limits_cpu_pin_strategy API extension.

    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    518148c View commit details
    Browse the repository at this point in the history
  2. lxd/instance: Add limits.cpu.pin_strategy config key for virtual ma…

    …chines
    
    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    80da1ef View commit details
    Browse the repository at this point in the history
  3. metadata: Run make update-metadata

    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    487d16a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    846cec4 View commit details
    Browse the repository at this point in the history
  5. lxd/devices: Disable VM CPU auto pinning by default

    Unless `limits.cpu.pin_strategy` is set to auto, VM CPU auto pinning is
    disabled
    
    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    411f0c3 View commit details
    Browse the repository at this point in the history
  6. doc: Update CPU pinning documentation for VMs

    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    963006d View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. lxd/cgroup: Add named results to ParseCPU and remove unnecesary typ…

    …e casting to `int64`
    
    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    7eee004 View commit details
    Browse the repository at this point in the history
  2. lxd/cgroup: Refactor srcType parameter in TaskSchedulerTrigger to…

    … use `instancetype.Type` instead of `string`
    
    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    6027e2a View commit details
    Browse the repository at this point in the history
  3. lxd/shared/validate: Add named results to ParseNetworkVLANRange and…

    … `ParseUint32Range`
    
    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    62cfe92 View commit details
    Browse the repository at this point in the history
  4. tests: Add tests for limits.cpu.pin_strategy and limits.cpu confi…

    …g and profile settings
    
    Signed-off-by: Kadin Sayani <[email protected]>
    kadinsayani committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    f6dc890 View commit details
    Browse the repository at this point in the history