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.
    • A Offline
      andyhhp Xen Guru
      last edited by

      So, we've had reports on xen-devel which look a little like this.

      @BlueBadger are you able to switch back to your 7950x and try booting Xen with x2apic_phys=true ? It appears that the -X processors are missing a feature in their IOMMU and Xen was getting confused when setting up interrupt handling.

      https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=0d2686f6b66b4b1b3c72c3525083b0ce02830054 is at least part of the fix, but so far feedback on the mailing lists suggests it's not a complete fix.

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

        @andyhhp Thanks for the info.
        I plan to leave my current machine (Ryzen 7900) as is since it seems to be running well.
        I plan to build a new machine with the extra 7950x. The motherboard is on back order.
        I will try the new setting once it is built.

        1 Reply Last reply Reply Quote 1
        • 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
                                            • First post
                                              Last post