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.4k 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.
    • olivierlambertO Online
      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 Online
          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 Online
              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 Online
                  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 Online
                              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 Online
                                    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 Online
                                          olivierlambert Vates πŸͺ Co-Founder CEO
                                          last edited by

                                          Great news πŸ™‚

                                          1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            tmservo433
                                            last edited by

                                            I've been spending time reading through this thread and running a few tests on my own just to make sure. It appears that the issue is far more present on Asus motherboards than others; when testing with both Asrock and Gigabyte boards, B650 and X670, the problem with 7900X and 7700X goes away. HOWEVER, if you do this on the Asus Prime board, you run into a series of fairly strange issues. First, I ran into both a combination of stability issues, random VM reboots, and after that it would simply perform at a pace far slower than I expected.

                                            Now, I have two general mods of looking at how I do this.. I store a few VMs locally, but I also keep VMs available via ISCSI and NFS on a TrueNAS over 2.5Gb/10GB (two different storage networks).

                                            For local VMs, my performance was very close on all boards tested. But if I'm using remote storage for hosting VMs, then the performance of the X series on Asus motherboards performed in a curve of falling behind other competitors as the speed needed increased. In other words, by the time I was accessing a high-test Windows Server on the 10Gb, the performance was significantly trailing the Asrock and Gigabyte products. And I mean SIGNIFICANTLY.

                                            I'm not sure what Asus has done with their BIOS, I am running the current BIOS as available today, 5/29, and similar newest on the other products.

                                            In the end, the Asrock (consumer) product provided the best overall transfer/stability/installation performance, Gigabyte a close second, and then Asus trailed significantly. I'm not sure what is wrong with their BIOS as of current, but it appears as though with Asus, you might be better with a non-X variant. I also used the ROG B650E-F Strix, thanks to Microcenter's sell on the product in a combo with the 7900X. I used the B650 Asrock and Gigabyte from holding with other products.

                                            NOTE: I've reworked with the latest XCP-NG build, and even on the new build, the 7900X performs MUCH better across the board, but the Asus board still lags behind the others by about 7-10%.

                                            This is just something of interest in my testing and YRMV.

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