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

    Non-server CPU compatibility - Ryzen and Intel

    Scheduled Pinned Locked Moved Compute
    116 Posts 19 Posters 97.5k Views 18 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.
    • M Offline
      mgales @BlueBadger
      last edited by

      @BlueBadger - Thank you! Looking forward to see what else you learn.

      1 Reply Last reply Reply Quote 0
      • B Offline
        BlueBadger
        last edited by

        I was having issues (download stalls) with the onboard 2.5Gb NIC (RTL8125) on the ASUS Prime B650M-A II-CSM motherboard even after I switched from the Ryzen 7950x to the 7900.
        My setup also includes a X540 10Gb NIC which seemed to be working well.

        I swapped the motherboard back to the ASRock B650M PG Riptide and was still having issues with the onboard 2.5Gb NIC.

        I disabled the onboard NIC and installed a second X540 and have not have any network issues so far.

        I'm guessing there might be an issue with the r8125 driver.

        Excluding the onboard 2.5Gb NIC, XCP-ng seems to run well on both motherboards.

        The BIOS errors in dmesg don't seem to be causing any issues.
        (The ASRock B650M PG Riptide seems like a nicer motherboard.)

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          That's… interesting šŸ¤” So the "X" series seems to have some issues in the end? It's weird since it should be very different than it's non-X counterpart.

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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better šŸ’—

                                            Register Login
                                            • First post
                                              Last post