ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XenServer Export Performance Seems Poor

    IT Discussion
    xenserver xenserver 6.5 gzip
    8
    120
    37.4k
    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.
    • olivierO
      olivier @Dashrender
      last edited by olivier

      @Dashrender In any case, it's not a "full" direct push: it goes through xo-server, since we can't tell XenServer to push itself a VM somewhere. In fact, export is always working in "pull": a HTTP handler is opened by XAPI, and listen for HTTP GET request.

      This is valid for everything, xe, XenCenter, XO export through your browser, XO backups etc.

      So it's not really an overhead with your browser, xo-server just act as a proxy to deliver your file (so if you don't have network bottleneck between you and xo-server that's OK:

      XenServer --> xo-server --> browser

      A backup will do:

      XenServer --> xo-server --> remote point

      But as I said, in any case, xo-server will do a HTTP GET.

      The main bottleneck is Gzip compression first. If you disable it, that's another potential bottleneck: the XAPI HTTP handler speed.

      Note: the possibility to ask XAPI to push a backup somewhere will be discussed with the XAPI team during Xen Hackathon. IDK if they could do something, but I'll be at their office to explain the issue, in front of the whole dev team.

      DashrenderD 1 Reply Last reply Reply Quote 3
      • olivierO
        olivier
        last edited by

        By the way you can rename the topic title πŸ˜›

        DashrenderD 1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender @olivier
          last edited by

          @olivier said:

          By the way you can rename the topic title πŸ˜›

          What would you propose?

          The title is calling out XenServer, not XO, and as you've stated this is an actual known issue within XS. I'm definitely open to suggestions for a title change though.

          olivierO 1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @olivier
            last edited by

            @olivier said:

            @Dashrender In any case, it's not a "full" direct push: it goes through xo-server, since we can't tell XenServer to push itself a VM somewhere. In fact, export is always working in "pull": a HTTP handler is opened by XAPI, and listen for HTTP GET request.

            This is valid for everything, xe, XenCenter, XO export through your browser, XO backups etc.

            So it's not really an overhead with your browser, xo-server just act as a proxy to deliver your file (so if you don't have network bottleneck between you and xo-server that's OK:

            XenServer --> xo-server --> browser

            A backup will do:

            XenServer --> xo-server --> remote point

            But as I said, in any case, xo-server will do a HTTP GET.

            The main bottleneck is Gzip compression first. If you disable it, that's another potential bottleneck: the XAPI HTTP handler speed.

            Note: the possibility to ask XAPI to push a backup somewhere will be discussed with the XAPI team during Xen Hackathon. IDK if they could do something, but I'll be at their office to explain the issue, in front of the whole dev team.

            Thanks for the explanation. I look forward to what you can share after your discussion about the HTTP handler.

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              The 700 GB VM was backed up in 13 hours 50 mins with the following setup:
              compression disabled
              1 GB same switch transfer
              SMB sharing protocol
              4 TB WD Red drive (single drive) as the target
              Windows 7 x64 4 GB RAM

              This was 50% faster than using the export feature which enables GZIP and I was saving to a USB 3.0 device.

              1 Reply Last reply Reply Quote 2
              • DashrenderD
                Dashrender
                last edited by

                OK starting last test.

                backup compress disabled
                Win7 x64 4 GB RAM
                1 GB same switch transfer
                SMB sharing
                2 TB USB 3.0 drive

                Started at 9 AM CDT

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Dashrender
                  last edited by

                  @Dashrender said:

                  OK starting last test.

                  backup compress disabled
                  Win7 x64 4 GB RAM
                  1 GB same switch transfer
                  SMB sharing
                  2 TB USB 3.0 drive

                  Started at 9 AM CDT

                  I would expect this one to be the same as the last. I doubt you are hitting any kind of bottleneck on the target media.

                  DashrenderD 1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @JaredBusch
                    last edited by

                    @JaredBusch said:

                    I would expect this one to be the same as the last. I doubt you are hitting any kind of bottleneck on the target media.

                    Yeah, I'm already seeing that be the case. 2 hours in, 108 GB transferred.

                    BRRABillB 1 Reply Last reply Reply Quote 0
                    • olivierO
                      olivier @Dashrender
                      last edited by

                      @Dashrender The current title is perfect πŸ™‚ (didn't see the change before)

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @olivier
                        last edited by

                        @olivier said:

                        @Dashrender The current title is perfect πŸ™‚ (didn't see the change before)

                        Maybe Scott edited it before, I haven't changed it since I posted it.

                        scottalanmillerS 1 Reply Last reply Reply Quote 1
                        • scottalanmillerS
                          scottalanmiller @Dashrender
                          last edited by

                          @Dashrender said:

                          @olivier said:

                          @Dashrender The current title is perfect πŸ™‚ (didn't see the change before)

                          Maybe Scott edited it before, I haven't changed it since I posted it.

                          Yeah, that was me πŸ™‚

                          1 Reply Last reply Reply Quote 0
                          • BRRABillB
                            BRRABill @Dashrender
                            last edited by

                            @Dashrender said

                            Yeah, I'm already seeing that be the case. 2 hours in, 108 GB transferred.

                            So around 15MBps is the max we can hope for?

                            Is that what you ended up determining?

                            1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender
                              last edited by

                              I never tested again after this situation. Perhaps when I get back in the office I will try one.

                              1 Reply Last reply Reply Quote 0
                              • BRRABillB
                                BRRABill
                                last edited by

                                I'm trying to figure out the quickest way to get a VM from one XS to another.

                                I'll ping @olivier again here, as I am sure XO is part of that discussion.

                                At least if you export it to your desktop you can follow the progress. But it seems like it does compression on the export, right? Is that was was ascertained from this thread?

                                DashrenderD 1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @BRRABill
                                  last edited by

                                  @BRRABill said in XenServer Export Performance Seems Poor:

                                  I'm trying to figure out the quickest way to get a VM from one XS to another.

                                  I'll ping @olivier again here, as I am sure XO is part of that discussion.

                                  At least if you export it to your desktop you can follow the progress. But it seems like it does compression on the export, right? Is that was was ascertained from this thread?

                                  The is a way to do an export without compression. This site is not the easiest to look through on my kindle fire. I thought Oliver posted about it in this thread?

                                  BRRABillB 1 Reply Last reply Reply Quote 0
                                  • BRRABillB
                                    BRRABill @Dashrender
                                    last edited by

                                    @Dashrender said

                                    The is a way to do an export without compression. This site is not the easiest to look through on my kindle fire. I thought Oliver posted about it in this thread?

                                    No, I looked through the whole thread and did not see it.

                                    He only mentions turning it off for backups.

                                    1 Reply Last reply Reply Quote 0
                                    • BRRABillB
                                      BRRABill
                                      last edited by

                                      After some research today, I have come to the conclusion (could be wrong) that EXPORT does not compress. I came to this conclusion because a lot of the articles I saw spoke of compressing the export.

                                      But it seems like it was said in the thread it IS enabled.

                                      So confusing...

                                      Take a look at this:
                                      https://www.citrix.com/blogs/2009/02/10/xenserver-tips-and-tricks-minimize-the-size-of-your-exported-virtual-machines/

                                      "In the interest of not overloading the system that is exporting the virtual machine we don’t compress the data that is exported. So to really save on space after you do an export you can then use your favorite compression program to shrink down the exported file even more. "

                                      1 Reply Last reply Reply Quote 0
                                      • BRRABillB
                                        BRRABill
                                        last edited by

                                        I also found today the copy through XO is really slow. I wonder why...

                                        1 Reply Last reply Reply Quote 0
                                        • DashrenderD
                                          Dashrender
                                          last edited by

                                          XO might be doing the compression, and XC might not be doing compression.

                                          1 Reply Last reply Reply Quote 0
                                          • BRRABillB
                                            BRRABill
                                            last edited by

                                            Next week I am going to test everything.

                                            All I know if=s last night when I gave up copying through XO, I was getting out 4-8MBps. A straight export today got me in the 50-60MBps range. Not super fast, but a hell of a lot better. It did 12 GB in around 5 minutes.

                                            I think copy is slow for some reason, but I've looked through so much XS/XO stuff today I can't think anymore.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 1 / 6
                                            • First post
                                              Last post