Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-76448

"Auto" vcpu placement needed for best numa alignment of small VMs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • CNV Virt-Node
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      Since the addition of CPU hotplug, vcpu placement is now defaulting to "static" placement, ex:
        <vcpu placement='static' current='4'>16</vcpu>
      
      this allows vcpus to be scheduled across the entire host, which in cases of smaller VMs can mean higher cross numa penalties for workloads.
      
      Libvirt offers an "auto" vcpu placement option, ex:
        <vcpu placement='auto' current='4'>16</vcpu>
      
      this option makes a "one shot numad" call when the guest is started in order to apply a cpu affinity and memory binding which can significantly help performance when the VM can fit inside 1 NUMA node (or a subset of total host NUMA nodes). 
      However note, the host node needs numad installed to properly take advantage of this (not currently in default RHCOS).

      Version-Release number of selected component (if applicable):

      All supported

              sgott@redhat.com Stuart Gott
              jhopper@redhat.com Jenifer Abrams
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: