XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Non-server CPU compatibility - Ryzen and Intel

    Scheduled Pinned Locked Moved Compute
    111 Posts 17 Posters 55.7k Views 16 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      BlueBadger @andyhhp
      last edited by

      @andyhhp I built a new machine with my Ryzen 7950x.
      Booting Xen with x2apic_phys=true did not seem to fix any issues.
      😞

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        Interesting, thanks for the feedback. @andyhhp should we provide a Xen version with the initial fix and see if it's better? (maybe combined to the x2apic param)

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sam
          last edited by

          I'm testing this combo:

          • AMD RYZEN 9 7900X
          • ASUS PRIME X670-P WIFI bios 1406
          • 2x32GB KINGSTON 5600 CL40 (max QLV)
          • Boot drive NVME 250gb (chipset) and SN850X 4.0 1TB on CPU.

          With setting: Local APIC Mode = X2APIC and UEFI set to Other OS. Installed 8.3 alpha and updated, got errors. Test installing XOA took too much time and booting was painfully slow using only 1 SSD on chipset NVME.

          Tried disabling IOMMU, but the same issue.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates πŸͺ Co-Founder CEO
            last edited by

            It's possible we got a fix, but we need sometime to generate the right build/RPM for you to test πŸ™‚

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              Sam @olivierlambert
              last edited by

              @olivierlambert said in Non-server CPU compatibility - Ryzen and Intel:

              It's possible we got a fix, but we need sometime to generate the right build/RPM for you to test πŸ™‚

              I have to identical setups for testing. With all the storage being pcie and interrupts. I also got a instlall with proxmox, but kind of same issues with IOMMU, trying to passtrough the 4.0 nvme. The disk was very slow, CPU wise performance on W11 machine was great.

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                I'm almost sure the future patch will fix the slow CPU behavior πŸ™‚ Hang on!

                peanutyostP 1 Reply Last reply Reply Quote 0
                • peanutyostP Offline
                  peanutyost @olivierlambert
                  last edited by

                  @olivierlambert said in Non-server CPU compatibility - Ryzen and Intel:

                  I'm almost sure the future patch will fix the slow CPU behavior πŸ™‚ Hang on!

                  Any update on when this fix is available. I got a x series cpu and am having these same problems.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates πŸͺ Co-Founder CEO
                    last edited by

                    We need to take a closer look, it's in our backlog but we also have other stuff pending (as you can imagine). Let me ping @stormi about this.

                    1 Reply Last reply Reply Quote 0
                    • stormiS Offline
                      stormi Vates πŸͺ XCP-ng Team
                      last edited by stormi

                      In theory we now have the relevant patches. We'll try to provide a patched build in the coming days, either this week or the next.

                      S 1 Reply Last reply Reply Quote 1
                      • peanutyostP Offline
                        peanutyost
                        last edited by

                        Awesome! I appreciate it.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Sam @stormi
                          last edited by

                          @stormi Good news! if you need some testing to be done, I've a 7900X avaliable for testing.

                          1 Reply Last reply Reply Quote 1
                          • stormiS Offline
                            stormi Vates πŸͺ XCP-ng Team
                            last edited by

                            Hi everyone!

                            So, @andSmv applied a few patches to Xen for you and built it.

                            As it's still only a temporary test build, you will find it in a special user repository at: https://koji.xcp-ng.org/repos/user/8/8.3/asemenov1/x86_64/

                            You may either add the repository (by creating a .repo file in /etc/yum.repos.d/) and then run yum update --enablerepo={nameofrepo}, or download the RPMs locally and then run yum update ./xen*.rpm.

                            Please let us know if it fixes issues with your CPUs.

                            B peanutyostP 2 Replies Last reply Reply Quote 1
                            • B Offline
                              BlueBadger @stormi
                              last edited by

                              @stormi @andSmv
                              Thank you!
                              The patch seems to work.
                              My VMs seem to run without any issues on my Ryzen 7950x.

                              1 Reply Last reply Reply Quote 1
                              • olivierlambertO Offline
                                olivierlambert Vates πŸͺ Co-Founder CEO
                                last edited by

                                Yay \o/

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mgales
                                  last edited by

                                  It's looking very good on my 7900X since applying the fixes:

                                  • Rolled back all the "nopv" boot options on Linux VMs (Ubuntu, Mint, Rocky) and they boot quickly.
                                  • Xen Orchestra has its IP address within a minute instead of around 10 minutes
                                  • Xen tools status on the Linux VMs are now showing "installed" (vs "not installed" before fixes)
                                  • No "stuck CPU" messages observed anywhere

                                  What a difference! Thanks!!

                                  1 Reply Last reply Reply Quote 2
                                  • peanutyostP Offline
                                    peanutyost @stormi
                                    last edited by peanutyost

                                    @stormi Everything seem to be running stable. Thanks for the updates and all the hard work. I'm running a Ryzen 7 7700x.

                                    1 Reply Last reply Reply Quote 2
                                    • olivierlambertO Offline
                                      olivierlambert Vates πŸͺ Co-Founder CEO
                                      last edited by

                                      Thanks for your feedback!

                                      1 Reply Last reply Reply Quote 0
                                      • stormiS Offline
                                        stormi Vates πŸͺ XCP-ng Team
                                        last edited by

                                        The patch is now included in the latest updates to XCP-ng 8.3 (see https://xcp-ng.org/forum/post/62263) so you can forget about the test build and just update normally.

                                        For those who installed the test build, it will be automatically replaced when you update.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          Sam @stormi
                                          last edited by Sam

                                          @stormi today I installed fresh on asus motherboard:
                                          7900X 2x32GB 5600 CL40 , X670-P-Wifi bios 1616 from May 16 2023.

                                          Without forcing X2APIC on the bios, the 8.3 installer gave KP.
                                          Installed to an nvme SSD and rebooted without issues. Added the repo and updated the system.

                                          Install XOA through https://xen-orchestra.com/#!/xoa And made a simple Windows 10 Client machine, with 2 cores, the installl went smooth.

                                          So good that I upgrade the VM with 24 cores just for testing and got a very nice surprise:
                                          2c722dc0-0018-4ae5-a633-8437c1a263a7-image.png

                                          Almost the same performance I've got through Windows 11 baremetal!

                                          Note this CPU only gets about 5.04 Ghz in one CCD and 4.85 Ghz in the other. When fully loaded. Not the best CPU I've got and runs 95ΒΊC (normal for this CPU).

                                          HTOP only shows 16 threads when X2apic enabled.

                                          I need to test the integrated 2.5Gb NIC and the PCIe passtrough:
                                          --> NVME pcie 4.0 directly to a VM (W11)
                                          --> i350-T4 SR-IOV testing
                                          ---> i350-T4 directly to a VM.
                                          ---> X710-DA2 / X520-DA2

                                          1 Reply Last reply Reply Quote 1
                                          • olivierlambertO Offline
                                            olivierlambert Vates πŸͺ Co-Founder CEO
                                            last edited by

                                            Great news πŸ™‚

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post