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

    FOG Very Slow to Deploy Image - Lenovo Neo 50Q Gen 4

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    14
    869
    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.
    • Quintin GiesbrechtQ
      Quintin Giesbrecht
      last edited by

      Good morning! We have several Lenovo Neo 50Q Gen 4 machines that we just got. I used one to create a new image - it captured a 40GB image in about 5 minutes. When I send that same image out to any of these new machines it takes 30 minutes. If I send that image to any of our existing machines, it takes 5 minutes or so. I am thinking it must be a NIC driver issue, or some kind of write issue to the SSD or something like that.

      Anyone have any ideas? I did look through the forum, but couldn’t find anything applicable.

      Thanks!

      Q

      Quintin Giesbrecht
      IT Manager
      Smith Neufeld Jodoin LLP

      Tom ElliottT george1421G Quintin GiesbrechtQ 4 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Quintin Giesbrecht
        last edited by

        @Quintin-Giesbrecht We have seen this in the past, though I’ve kind of been out of the loop for some time.

        I believe this is specific to the kernel and the way it deals with paging and block size.

        a63d8062-1d09-43e9-b4de-b5b00b34ef5b-image.png

        While this is a very old image now, This was effectively the problem.

        Basically, what I found back here was that the page_size value being less than the disk size was causing issues by defaulting to anything less than the 4k sector. So if page_size - 1 was less than 4096, default the page size to 4096 to maintain 4k structures.

        Now we may need to revisit this, but i’m not so certain. Even this method could be wrong.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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
        • Tom ElliottT
          Tom Elliott @Quintin Giesbrecht
          last edited by Tom Elliott

          @Quintin-Giesbrecht basically I think this is something in the kernel, but what it is we don’t have enough information yet. It’s possible a newer kernel might help.

          Then again it could be something like:
          https://forums.fogproject.org/topic/13620/very-slow-cloning-speed-on-specific-model/105?_=1729271500055

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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 1
          • george1421G
            george1421 Moderator @Quintin Giesbrecht
            last edited by

            @Quintin-Giesbrecht said in FOG Very Slow to Deploy Image - Lenovo Neo 50Q Gen 4:

            Lenovo Neo 50Q Gen 4

            I’m with Tom here, I would go with the latest FOS Linux kernel with this new hardware. You didn’t happen to mention what version of the FOS Linux kernel you are using (FOG UI -> FOG Configuration -> Kernel Update). I would go with the latest 6.6.x or later kernel. This is the easiest and quickest way to see if it solves the problem. It would be useful to know what version is your current kernel too so if we see this issue again we can help the next guy.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            Quintin GiesbrechtQ 1 Reply Last reply Reply Quote 1
            • Quintin GiesbrechtQ
              Quintin Giesbrecht @george1421
              last edited by Quintin Giesbrecht

              @george1421 Hi there. Thanks to both you and @Tom-Elliott for responding. I believe I am on the latest FOS Linux kernel, see screenshot:

              7bdceeca-8aa9-445e-82ca-85abd31fc5dd-image.png

              Is that not what you are looking for? If I should be looking elsewhere, let me know.

              Thanks!

              Q

              Quintin Giesbrecht
              IT Manager
              Smith Neufeld Jodoin LLP

              1 Reply Last reply Reply Quote 0
              • Quintin GiesbrechtQ
                Quintin Giesbrecht
                last edited by

                Good afternoon. Wondering if there is a potential solution to this, or if you need further info from me (just tell me what you need, and where to look, and I will get it for you).

                Thanks!

                Quintin

                Quintin Giesbrecht
                IT Manager
                Smith Neufeld Jodoin LLP

                1 Reply Last reply Reply Quote 0
                • Quintin GiesbrechtQ
                  Quintin Giesbrecht
                  last edited by

                  For interest’s sake, I tried a few of the earlier 6.6.x versions of the kernal with slightly better speeds on the earliest 6.6.x version, but still not nearly as fast as the other machines in our fleet get. If anyone has any insight into this, please let me know.

                  Thanks!

                  Q

                  Quintin Giesbrecht
                  IT Manager
                  Smith Neufeld Jodoin LLP

                  JJ FullmerJ 1 Reply Last reply Reply Quote 0
                  • JJ FullmerJ
                    JJ Fullmer Testers @Quintin Giesbrecht
                    last edited by

                    @Quintin-Giesbrecht I think there’s potential for a solution for it but it’s tricky to nail down. I imagine you’ve also tested machines that go faster on the same ethernet cable and port? It’s very odd that it would capture fast but not deploy fast. What level of compression are you using on the image? iirc when uploading the image, compression happens on the fog server, when deploying the image decompression happens on the client. So if your compression is too high, it could cause this behavior but it would be more wide spread.

                    You could play with making a custom kernel (see https://docs.fogproject.org/en/latest/compile-fos-kernel) adding different driver options that might relate, but since the network is already being recognized I’m not sure that would make a difference. It could also be a storage level issue rather than network which could also be something in the kernel.

                    You can also adjust the kernel log level settings to be higher and you’ll get more output that might point to a different problem.

                    Also be sure your bios is up to date and navigate through the bios settings for anything that seems like it could relate.

                    There’s also playing with the different pxe boot files (i.e. ipxe.efi vs snponly.efi) this shouldn’t really make a difference once you’re in part clone and imaging, but I figure it’s worth testing all parts of the process when you’re not sure where the problem lies.

                    I would also check the fog server dashboard, specifically the bandwidth reports and see if there are lots of dropped packets, perhaps there’s a different network configuration needed for this model?

                    Have you tried the FogApi powershell module? It's pretty cool IMHO
                    https://github.com/darksidemilk/FogApi
                    https://fogapi.readthedocs.io/en/latest/
                    https://www.powershellgallery.com/packages/FogApi
                    https://forums.fogproject.org/topic/12026/powershell-api-module

                    Quintin GiesbrechtQ 1 Reply Last reply Reply Quote 0
                    • Quintin GiesbrechtQ
                      Quintin Giesbrecht @JJ Fullmer
                      last edited by

                      @JJ-Fullmer Thanks for your reply! You have given me some places to at least look. I agree, if it was slowing down because of decompression, you would think it would be more widespread (unless there is some sort of issue/difference with the storage adapter and/or drive in these machines). My compression level is set to 6.

                      I will enable detailed kernel logging and see if that reveals anything.

                      This is not end of the world for me. I can still image a machine in about half an hour on these slow ones, but it is nice to be able to just send out an image to a machine if someone’s computer goes squirly and have them running in 10 minutes 🙂 (plus, I think most of us sys admins have it in us to try and figure out why something isn’t working as expected 🙂 )

                      Thanks again!

                      Q

                      Quintin Giesbrecht
                      IT Manager
                      Smith Neufeld Jodoin LLP

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @Quintin Giesbrecht
                        last edited by

                        @Quintin-Giesbrecht Would there be a potential of finding out if it’s specific to the ssd by removing it from one of these “slow” lenovos, put the drive in one of your normally fast machines, and try to send the image to it?

                        if it’s slow in the same way, it’s definitely something scoped to the SSD itself, if it’s fast, it’s likely something specific to these Lenovo Neo 50Q Gen 4 devices.

                        Just my 2 cents.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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

                        Quintin GiesbrechtQ 2 Replies Last reply Reply Quote 0
                        • Quintin GiesbrechtQ
                          Quintin Giesbrecht @Tom Elliott
                          last edited by

                          @Tom-Elliott Yeah, that would be a good test to do…thanks for that suggestion.

                          Quintin Giesbrecht
                          IT Manager
                          Smith Neufeld Jodoin LLP

                          1 Reply Last reply Reply Quote 0
                          • Quintin GiesbrechtQ
                            Quintin Giesbrecht @Tom Elliott
                            last edited by

                            @Tom-Elliott So I moved an SSD from a slow machine to a machine that is running at full speed, and I can confirm that I get full speed out of the drive, so that rules that out.

                            Can someone tell me where I can enable/adjust logging levels for the kernel? I couldn’t seem to find it in the web gui.

                            Thanks!

                            Quintin Giesbrecht
                            IT Manager
                            Smith Neufeld Jodoin LLP

                            1 Reply Last reply Reply Quote 0
                            • Quintin GiesbrechtQ
                              Quintin Giesbrecht @Quintin Giesbrecht
                              last edited by

                              @Tom-Elliott @JJ-Fullmer Never mind, I found the logging levels. So now that I have the level maxed, where do I find the logs? Is that still in the web gui somewhere?

                              Thanks!

                              Quintin Giesbrecht
                              IT Manager
                              Smith Neufeld Jodoin LLP

                              JJ FullmerJ 1 Reply Last reply Reply Quote 0
                              • Quintin GiesbrechtQ Quintin Giesbrecht referenced this topic on
                              • JJ FullmerJ
                                JJ Fullmer Testers @Quintin Giesbrecht
                                last edited by

                                @Quintin-Giesbrecht It’s been a while since I’ve had to mess with it, if memory serves it may show in the output of the imaging itself. You might need to do a deploy in debug mode on a fast/normal speed machine and then a slow one and compare what you see.

                                You may also find some logs in the log viewer of fog within the fog configuration page. Where the logs are on the server depend on your fog version and your OS version.

                                Like for me on Rocky 9 with Fog 1.6 and using apache with php 8 the log with the most information is /var/log/php-fpm/www-error.log but I don’t believe kernel level stuff will output there.

                                Have you tried the FogApi powershell module? It's pretty cool IMHO
                                https://github.com/darksidemilk/FogApi
                                https://fogapi.readthedocs.io/en/latest/
                                https://www.powershellgallery.com/packages/FogApi
                                https://forums.fogproject.org/topic/12026/powershell-api-module

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

                                219

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project