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

    Epyc VM to VM networking slow

    Scheduled Pinned Locked Moved Compute
    206 Posts 23 Posters 101.3k Views 26 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.
    • florentF Offline
      florent Vates 🪐 XO Team @manilx
      last edited by

      @manilx hi, I am working on the backup side, that is a very interesting finding. I have some question to rule out some hypothesis :

      What storage do you use on both side ? iscsi / nfs ?
      Is XO running on the master ?

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

        @bleader do you remember if we also had slower network speed between a VM and the Dom0 or only between 2 regular guests?

        bleaderB 1 Reply Last reply Reply Quote 0
        • S Offline
          Seneram @manilx
          last edited by

          @manilx @florent it would make sense since XOA vm for backups is after all an VM and should be impacted by VM network issues for epycs.

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

            Not necessarily. XOA is a VM, but it's communicating with the Dom0, which is a VM indeed, but not a regular one. Could have been interesting to check if XOA VM is not sitting on the same host it's doing a backup, to see the result.

            M S 2 Replies Last reply Reply Quote 0
            • bleaderB Offline
              bleader Vates 🪐 XCP-ng Team @olivierlambert
              last edited by

              @olivierlambert vm to host is impacted too, althrough less, reaching over 10Gbps on a zen2 epyc.

              1 Reply Last reply Reply Quote 0
              • M Offline
                manilx @florent
                last edited by

                @florent Hi,
                Both storages are NFS, all connections 10G.
                On both cases XO/XOA is running on the master.

                florentF 1 Reply Last reply Reply Quote 0
                • M Offline
                  manilx @olivierlambert
                  last edited by

                  @olivierlambert I have tested this already. It doesn't matter if the XOA VM is on the master or another host. Backup speeds are "the same"

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

                    @olivierlambert as @bleader mentioned. All testing shows that it is any VM networking at all. Vm to vm, vm to host, vm to external appliances are all equally affected. Just that vm to vm issue is half the bandwidth of all other usecases since i has to handle traffic to both VMs and as such is found faster. But no matter how the VM communicates there is an upper roof bandwidth limit that is VERY low.

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      manilx @Seneram
                      last edited by manilx

                      @Seneram As explained, we have been living with this for 1yr now but at the time Vates told us that all was OK and that backup speeds were normal at 80-90 MiB/s.

                      It was just NOW that I have it running at the HomeLab on crap Intel PC's ( 😉 ) that I see that HUGE speed difference. And this thread has opened my eyes also.....

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        JamesG @olivierlambert
                        last edited by

                        While I'm very happy to see this getting some attention now, I am a bit disappointed that this has been reported for so long (easily two years or more) and is only now getting serious attention. Hopefully it will be resolved fairly soon.

                        That said...If you need high-speed networking in Epyc VM's now, SR-IOV can be your friend. Using ConnectX-4 25Gb cards I can hit 22-23Gb/s with guest VM's. Obviously SR-IOV brings along a whole other set of issues, but it's a way to get fast networking today.

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          Seneram @JamesG
                          last edited by

                          @JamesG this bug has not been reported for two years. This thread is 6 months and our big report is open about the same amount of time.

                          It has had excellent attention since day one of us reporting it .

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JamesG @Seneram
                            last edited by

                            @Seneram If you search the forum you'll find other topics that discuss this. In January/February 2023 I reported it myself because I was trying to build a cluster that needed high-performance networking and found that the VM's couldn't do it. While researching the issue then, I seem to recall seeing other topics from a year or so prior to that.

                            Just because this one thread isn't two years old doesn't mean this is the only topic reporting the issue.

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

                              @JamesG As of now, we roughly spent 50k€ on this issue already (in time and expenses), so your impression of something not taken seriously is a bit wrong. If you want us to speed up, I'll be happy to get even more budget 🙂

                              Chasing those very low level CPUs architecture issues are really costly.

                              M 1 Reply Last reply Reply Quote 1
                              • S Offline
                                Seneram @JamesG
                                last edited by

                                @JamesG sure but none of those do concrete troubleshooting and digging to establish where it is and it also only seems like isolated issues and not something broad (while it is but people didnt look at it as such).

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  manilx @olivierlambert
                                  last edited by

                                  @olivierlambert I believe that this is costly, nevertheless it needs to be fixed, as this CPU will get more mainstream as time goes by and as such it's not only cost but a good investment. I'm sure you'll get to the bottom of this now that you're tackling it.

                                  Looking forward to Ampere!

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

                                    If I wouldn't be convinced to fix it, I wouldn't throw money & time to solve the problem 😉

                                    ForzaF 1 Reply Last reply Reply Quote 0
                                    • florentF Offline
                                      florent Vates 🪐 XO Team @manilx
                                      last edited by

                                      @manilx said in Epyc VM to VM networking slow:

                                      @florent Hi,
                                      Both storages are NFS, all connections 10G.
                                      On both cases XO/XOA is running on the master.

                                      thank you for the test. At least it removed the easy fixes

                                      1 Reply Last reply Reply Quote 0
                                      • ForzaF Offline
                                        Forza @olivierlambert
                                        last edited by

                                        @olivierlambert said in Epyc VM to VM networking slow:

                                        If I wouldn't be convinced to fix it, I wouldn't throw money & time to solve the problem 😉

                                        I think everyone knows this. Nevertheless, it is frustrating anyone if it becomes a bottleneck.

                                        I am curious, do we know if this happens on Xen systems, or if it happens on xcp-ng systems where Open vSwitch is not used?

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

                                          It happens on all Xen version we tested, the issue is clearly inside the Xen Hypervisor, and related on how the netif calls are triggering something slow inside AMD EPYC CPUs (not even Ryzen ones)

                                          1 Reply Last reply Reply Quote 1
                                          • florentF Offline
                                            florent Vates 🪐 XO Team
                                            last edited by

                                            @manilx do you use NBD for delta backups ?
                                            in the advanced settings

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