Team - Hypervisor Kernel

Private

Posts

  • RE: PCIe Pass-through lanes and lane performance

    @JamesG said:

    When I ask the system what it thinks the capabilities are, again I get Gen1x1:

    cat /sys/bus/pci/devices/0000:00:08.0/current_link_speed
    2.5 GT/s PCIe
    cat /sys/bus/pci/devices/0000:00:08.0/current_link_width
    1
    cat /sys/bus/pci/devices/0000:00:08.0/max_link_speed
    2.5 GT/s PCIe
    cat /sys/bus/pci/devices/0000:00:08.0/max_link_width
    1

    This information is actually crafted by QEMU, it doesn't represent the actual real device PCI state; you should check this from Dom0 which should be closer to reality.

  • RE: PCIe Pass-through lanes and lane performance

    @JamesG

    I know I'm a bit out in uncharted territory here. I don't think XCP-ng supports ReBAR via pass-through (I think that's on the road-map for XenServer9 and maybe XCP-ng 9 as well), current gen GPUs all want ReBAR support, Intel GPU's are in a mostly experimental/developmental mode and might be having a murky future anyway...

    XCP-ng guest firmware have a very "legacy" initial BAR placement (i.e thus no explicit support for Resizable BAR, everything below 4G, ...), but the guest operating system can still replace the location of BAR itself if the hardware allows it (in particular Linux will try it, but I'm not sure Windows does).

    In your case, the GPU VRAM BAR is 16 GB, so it's obviously resized. And according to xe, you should see in dmesg something like BAR2 resized to 16384MiB

  • RE: XCP-ng 8.3 updates announcements and testing

    @Andrew said:
    HP DL G8 Intel E5-2673 v2 shows 64 CPUs. The actual CPUs show correctly, the higher ones (that don't exist) show [CPUxx] Unable to fetch temperature (19 - No such device)

    Machines with hotpluggable CPUs are a pretty tricky case, the logic tries up to "maximum possible CPU" and fails here because the CPU is not online (No such device error). That doesn't prevent the temperature from getting fetched for CPU that exists.
    I can try to add a check to hide this specific error, so it's doesn't create noise for offline CPUs on such machines.

  • RE: XCP-ng 8.3 updates announcements and testing

    @acebmxer said:

    @rzr

    Just installed updates on host 1. Once host rebooted it took an extra min or two to reconnect to xo, but did finally connect. Applying updates on host 2 now.

    Update - host2 no issues. Once reboot complete it connected to xo as expected without delay.

    I see these updates include -

    • xen: Add support for xenpm get-core-temp to query CPU temperature on Intel platforms.

    • Use xenpm get-core-temp to get the temperature on Intel's CPU, to fallback unsupported coretemp. Doc update being reviewed .

    My host are AMD so can verify these. I might be able to deploy a Intel host later tonight. Will this come to AMD later?

    AMD rely on a different method to expose the temperature, that don't require this xenpm-based approach. In principle, it should already work with plain sensors (through k10temp), but our driver may not be up to date for recent AMD CPUs.

  • RE: Slow boot on rocky linux 10 latest kernel

    Regarding upstream Linux, it should be addressed with https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=f24df84cbe05e4471c04ac4b921fc0340bbc7752

    Although, I have no ETA on when it will land to distros.

  • RE: Xen 8.2 isos
  • RE: The Lowest Priority Bug Ever? (/etc/udev/rules.d/z10-xen-vcpu-hotplug.rules)

    The rule is oddly written, and may conflict with another similar one that already exist in the distro (hence may not be useful to begin with).

    The modern generic rule for doing vCPU hotplug is, which would be preferable to the current z10-xen-vcpu-hotplug.rules.
    ACTION=="add", SUBSYSTEM=="cpu", ATTR{online}=="0", ATTR{online}="1"

  • RE: Slow boot on rocky linux 10 latest kernel

    @MajorP93 said:
    Do you think it is possible to fix this on hypervisor level while still having live migration etc. enabled or do we have to wait for an upstream fix within Linux kernel tree?

    Yes it's possible to fix it on the hypervisor level (Invariant TSC in guest), but it's quite a bit of work that still needs to be done. A Linux upstream fix for the underlying bug should come at some point hopefully.

  • RE: Slow boot on rocky linux 10 latest kernel

    @majorp93 @henri9813 @acebmxer
    Do you observe the same behavior after setting this for the VM ?

    xe vm-param-add uuid=$UUID param-name=platform tsc_mode=2
    xe vm-param-add uuid=$UUID param-name=platform nomigrate=true
    

    (beware you lose live migration support doing this, you can cancel these changes with matching vm-param-remove like xe vm-param-remove uuid=$UUID param-name=platform param-key=nomigrate)