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

    10GB backup with XOA (XCP to windows NFS)

    Scheduled Pinned Locked Moved Xen Orchestra
    30 Posts 5 Posters 5.7k Views 2 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 Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      So it's a bit better indeed (25% better perfs!).

      You can use iperf indeed, but I already know the result: it won't be a bandwidth issue. It's all on the export speed of the host itself.

      1 Reply Last reply Reply Quote 0
      • A Offline
        andrea.mazzoni
        last edited by

        What do you mean with export speed of the host?
        10Gb nic or 1Gb nic are the same for XCP-ng or XOA? As i can see if I use 1Gb or 10Gb nothing change and the performance are bad in both cases.

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

          When you do a backup, this will happen:

          • dom0 will access the VM disk (snapshot disk but whatever)
          • it will create a HTTP handler where the disk data can be fetch
          • it will give the URL of this HTTP handler to XO
          • then XO will fetch from this HTTP(S) handler
          • XO will stream the content of this handler to the NFS share

          We know that a major bottleneck is the speed at which the HTTP handler can be fetch.

          1 Reply Last reply Reply Quote 0
          • A Offline
            andrea.mazzoni
            last edited by

            We checked the network interface status and we found that the network work as the attached picture.
            New Bitmap Image.jpg

            Is that normal? it goes up and then to 0 and then up again, etc...
            (this test is new and we used a 1Gb nic, to find if XOA use the 1Gb nic to its full)

            We will try the 10Gb soon.

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

              Please be more explicit. What generated this output? iperf?

              1 Reply Last reply Reply Quote 0
              • A Offline
                andrea.mazzoni
                last edited by

                XOA backup.
                We start a backup of a turned off Windows server 2016.
                When we try to copy from a NAS to the same NFS share we don't have the same issue.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  andrea.mazzoni
                  last edited by

                  With the 10Gb nic the issue is worse. Now we have the backup with 4-5 packets around 700MB and then 10-15 second with few KB, and then again 4-5 packets around 700MB.
                  Before we didn't have that much time without high transfer speed, i think because 10Gb nic can send more with less packets.

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

                    Again, you need to think globally. The transfer speed is depending on the slowest element. If the HTTP handled can't export faster than let's say 30MiB/s, then it won't magically be transferred faster than that, despite having a 100G network.

                    You have export speed, SR speed, stream speed, write speed, protocol speed, read seek speed etc.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      andrea.mazzoni
                      last edited by

                      What do you mean with HTTP? can you be more specific with HTTP limitations?

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

                        I explained that here: https://xcp-ng.org/forum/post/28832

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          andrea.mazzoni
                          last edited by

                          Do you know where i can find some data about HTTP handler on XCP/Xenserver? How much GB can be fetch in the handler?

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            andrea.mazzoni
                            last edited by

                            Hi,
                            i opened this ticket because our datacenter has 67 VM and right now we take 20 Hours to make a full backup.
                            We need to fast it up a lot.
                            The differential backup need 5 hours to backup 350GB.

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

                              I think it's likely the bottleneck, and except disabling HTTPS, there's no magical rule. You can play with concurrency in XO to see if it's better.

                              Also, it's not a "ticket" you opened, but a thread on a community forum, where people can answer on their free time.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                andrea.mazzoni
                                last edited by

                                Sorry, i know this isn't a ticket, i meant the question here on the forum.
                                and we write this thread because we cannot find a solution anywhere for our issue/question to speed up the backup.
                                We are making a lot of test right now, but we are not going better in anyway and we found a lot of limits in XOA/XCP-ng and Xen server 7.1 CU2 to, we are a bit worried about this issue with the backup.

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

                                  Note that you can scale up with concurrency (see https://xen-orchestra.com/docs/backups.html#backup-concurrency).

                                  Also, if you have different pools, you could use XOA Proxies (alternatively, multiple XO from sources but it's less elegant) so you can accumulate all pool speed to get to a decent global speed.

                                  1 Reply Last reply Reply Quote 0
                                  • nikadeN Offline
                                    nikade Top contributor
                                    last edited by

                                    We see about the same speed, just below 1Gbit/s no matter how many concurrent backups and what not. The bursting is probably due to buffering in the node-process.

                                    I think this is a limitation in XAPI just like @olivierlambert wrote earlier and nothing much you can do in XO to speed it up.

                                    We've been trying to speed things up for a long time, we ended up using the Delta-backup and Continious Replication which are both incremental. This allows us to backup all our VM's over night to our NFS-machines.

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

                                      We'll get rid of potential stream buffer limitation in a relatively short time frame, but again, I'm pretty sure the export speed on the host is the real bottleneck.

                                      As we are also working on XCP-ng storage performance in parallel, I'm confident we'll be able to improve that 🙂

                                      nikadeN 1 Reply Last reply Reply Quote 1
                                      • A Offline
                                        andrea.mazzoni
                                        last edited by

                                        I confirm what @nikade say. Even if i use a 10Gb and set the concurrent backup to 10, the speed will be always the same.
                                        If we use proxy XOA or similar idea i think we can speed the backup but not to a point we would like.
                                        We usually make a differential backup, but for us (67 VM = 300 GB transfer and 300 GB merged - diff backup, XOA take from 4 to 6 Hours).

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

                                          I'm confident we can improve this for you before the end of the year 🙂 @julien-f is working hard on that!

                                          1 Reply Last reply Reply Quote 0
                                          • nikadeN Offline
                                            nikade Top contributor @olivierlambert
                                            last edited by

                                            @olivierlambert said in 10GB backup with XOA (XCP to windows NFS):

                                            We'll get rid of potential stream buffer limitation in a relatively short time frame, but again, I'm pretty sure the export speed on the host is the real bottleneck.

                                            As we are also working on XCP-ng storage performance in parallel, I'm confident we'll be able to improve that 🙂

                                            I think the storage performance-improvements will contribute to increasing the export-storage as well as working on the XAPI export/import performance.
                                            I know the XCP team is aware of this issue and I am also confident that it will be a priority 🙂

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