• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Very slow imaging performance on XCP-NG guest vm

    Scheduled Pinned Locked Moved Unsolved
    General Problems
    3
    8
    997
    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.
    • D
      DBCountMan
      last edited by

      Not a critical issue as I use XCP-NG to image vms for testing the images. Was just wondering if anyone else has this issue.

      Whenever I deploy an image to a vm, it crawls down to less than 1GB/min with several delays between screen updates. Eventually I see these message appear:
      35e78273-4bcd-4289-9c86-8bf36760ea84-image.png

      The host is a Dell PowerEdge R710. I give the guest 4 cores and 8GB ram. I tried 1 socket, 4 cores and also tried 4 sockets 1 core. The network connection is 1Gbps. I tried imaging the same vm using Acronis True Image which took about 8min. If I deploy an image with FOG on the same vm, the process can take +20min.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @brakcounty Which version of FOG do you use and even more important, which FOS kernel version is installed?

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        D 1 Reply Last reply Reply Quote 0
        • D
          DBCountMan @Sebastian Roth
          last edited by

          @Sebastian-Roth FOG version 1.5.10. Not sure how to find the FOS kernel version. Are you referring to the bzImage kernel version? If so the kernel version I’m on is 5.15.93.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth

            @brakcounty said in Very slow imaging performance on XCP-NG guest vm:

            Are you referring to the bzImage kernel version? If so the kernel version I’m on is 5.15.93.

            Yes. Just a hint: You can find out the version of kernel binaries by running file /var/www/html/fog/service/ipxe/bzImage* (or using whatever kernel filename you want to know the version).

            We are planing to bring out a fresh new 6.1.x kernel for testing in the next week. Keep an eye on https://github.com/FOGProject/fos/releases for it to come out.

            No idea if that newer kernel version will solve the described issue but it’s worth a try.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @brakcounty A 6.1.22 test kernel is available on Github. Be aware those kernels are untested so far. I dod not have the time to even do the simplest bootup test.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • [[undefined-on, S Sebastian Roth, ]]
              • S Sebastian Roth moved this topic from Hardware Compatibility on
              • D
                DBCountMan
                last edited by

                @Sebastian-Roth The devel kernel version 6.1.22 didn’t help, BUT, I was using the server’s local storage to store the virtual disk. I mounted an SMB share to the xen server, stored the virtual disk on that, voila, no more errors.

                Conclusion: Nothing to do with FOG. 👍

                1 Reply Last reply Reply Quote 0
                • M
                  Milheiro
                  last edited by

                  I had that problem with slow imaging. My images were Zstd level 15, and I changed them to Zstd level 5 and the imaging process increased the speed.
                  Maybe some one can confirm this.

                  Hope to help.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    DBCountMan @Milheiro
                    last edited by

                    @Milheiro Zstd level is compression level right? That I’m aware of. Makes sense if you increase compression that it would take longer to capture/deploy. What I was experiencing was linux kernel level errors, only when deploying to a virtual disk that resides on the xenserver’s local storage array. I wonder if it is something like Truenas where it performs worse when you let the storage controller handle the array vs a soft-raid controlled by the OS.

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

                    150

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project