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

Very Slow

Scheduled Pinned Locked Moved Solved
FOG Problems
5
17
813
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.
  • S
    Sebastian Roth Moderator
    last edited by Jan 25, 2020, 8:01 AM

    @Jimbohello We have heard a couple of people having issues with speed over the last months. It mostly happens with specific model of SSD drives in the host PCs (not the FOG server!) and is often caused by the newer Linux kernel introducing some kind of energy saving mode for SSDs that is miss-interpreted by some particular drive models.

    For some specific drives we found a Linux kernel parameter to fix the slowness. Depending on the FOG version you updated to this is already in use or not. You can either post your FOG version here (web UI, bottom right corner when logged in) or just add the kernel parameter yourself and test: nvme_core.default_ps_max_latency_us=0 (put in hosts settings)

    The other thing you can test is scheduling your deploy task as debug (just as normal but before you click “Create Task” there is a checkbox for debug mode). Boot up the host and hit ENTER twice to get to the console. Now you run the commands:

    nvme set-feature -f 0x0c -v=0 /dev/nvme0
    fog
    

    See if speed if better using one of these two methods. There is a lot more valuable information on this topic here: https://forums.fogproject.org/topic/13620/very-slow-cloning-speed-on-specific-model/

    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

    J 4 Replies Last reply Jan 25, 2020, 6:52 PM Reply Quote 0
    • J
      Jimbohello @Sebastian Roth
      last edited by Jan 25, 2020, 6:52 PM

      @Sebastian-Roth
      You are currently running version: 1.5.7.96
      bzImage Version: 4.19.64
      bzImage32 Version: 4.19.64

      ill try your nvme_core.default_ps_max_latency_us=0
      in the kernel
      thank’s

      1 Reply Last reply Reply Quote 0
      • J
        Jimbohello @Sebastian Roth
        last edited by Jan 25, 2020, 7:03 PM

        @Sebastian-Roth said in Very Slow:

        i’m not sure exacly where to put the code ??
        Thank’s

        1 Reply Last reply Reply Quote 0
        • J
          Jimbohello @Sebastian Roth
          last edited by Jan 25, 2020, 7:08 PM

          @Sebastian-Roth
          Found it ! soory
          KERNEL ARGS

          G 1 Reply Last reply Jan 25, 2020, 8:42 PM Reply Quote 0
          • G
            george1421 Moderator @Jimbohello
            last edited by Jan 25, 2020, 8:42 PM

            @Jimbohello After you are able to image the machine, could you provide feedback on if the kernel args works for you or you had to go the debug route and enter the instructions directly into the console? We are trying to collect information on which solution works the best for resolving these issues with these specific nvme drives.

            In short these two commands (applied differently) keep the drive from going into low power mode during imaging. The developers are working towards a solution where the imaging engine will adapt these commands without intervention.

            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!

            J 1 Reply Last reply Jan 27, 2020, 10:33 PM Reply Quote 0
            • J
              Jimbohello @Sebastian Roth
              last edited by Jan 27, 2020, 2:01 PM

              @Sebastian-Roth
              After analysing the situation, here are my conclusion
              i did add your code : nothing change
              same slow ridiculous speed
              maybe your not looking at the right place for the bug ! of slowness
              we use FOG for more than 3 years, alway the same SSD and Same Machine, closely.
              so conclusion, has nothing to do with nvme_core.default_ps_max_latency_us=0
              nothing has change in our environnement except we upgrade fog every 1-2 mounth.

              thank’s

              T 1 Reply Last reply Jan 27, 2020, 2:10 PM Reply Quote 0
              • T
                Tom Elliott @Jimbohello
                last edited by Jan 27, 2020, 2:10 PM

                @Jimbohello Something had to have changed. And if this were a bug in the code, chances are highly likely that we’d have a lot more posts regarding the issue (as it would impact everybody.)

                Something changed. I don’t understand why you update fog every 1-3 months. Last official release was 1.5.7 (July 2019). Are you running a dev-branch version? When you say you upgrade fog, do you mean the OS components (e.g. apt-get)?

                Have you looked at BIOS upgrades that may be happening? Pictures of the issue would be handy too. (Yes we want to see the blue partclone screen).

                I still think this is in your environment. I don’t know where or what, and the fact that things worked okay, then started getting slow, without knowing more this is very " you guys did this now you fix it " and we don’t know how to help.

                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

                J 1 Reply Last reply Jan 27, 2020, 10:04 PM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Jan 27, 2020, 2:16 PM

                  @Jimbohello Have you tried the other suggestion yet??

                  Schedule a task in debug mode and before you start the job run this command in the command shell on the host PC: nvme set-feature -f 0x0c -v=0 /dev/nvme0

                  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

                  Q 1 Reply Last reply Jan 27, 2020, 4:10 PM Reply Quote 0
                  • Q
                    Quazz Moderator @Sebastian Roth
                    last edited by Jan 27, 2020, 4:10 PM

                    @Sebastian-Roth He’ll need newer inits that include the NVME package since it wasn’t included in the 1.5.7 package iirc.

                    1 Reply Last reply Reply Quote 1
                    • J
                      Jimbohello @Tom Elliott
                      last edited by Jan 27, 2020, 10:04 PM

                      @Tom-Elliott
                      Agree with you !
                      i’ll get back to you very fast
                      but for now, i’ve created a samba share and i get full speed of what a gigabit nic can give so arround 112-120 mb/s
                      with acronis.

                      FOG 1.5.7.99

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Jan 27, 2020, 10:23 PM

                        @Jimbohello said in Very Slow:

                        but for now, i’ve created a samba share and i get full speed of what a gigabit nic can give so arround 112-120 mb/s
                        with acronis

                        We did have reports of another user who had fast speeds with acronis as well. Turns out Acronis is using a fairly old kernel which doesn’t seem to have the issue. If you are keen to give an older kernel a try:
                        https://fogproject.org/kernels/bzImage-4.9.51
                        fogproject.org/inits/init-4.9.x.xz

                        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
                        • J
                          Jimbohello @george1421
                          last edited by Jan 27, 2020, 10:33 PM

                          @george1421
                          obviously i’m not sure i did the right hoses
                          but i haded
                          KERNEL ARGS nvme_core.default_ps_max_latency_us=0
                          and haded postinit.script in the image section = nvme set-feature -f 0x0c -v=0 /dev/nvme0

                          i’ll try tomorrow the all process debug mode

                          thank’s

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jimbohello
                            last edited by Mar 4, 2020, 12:13 AM

                            just to let you know that the issue was solve this week buy updating the latest version of fog
                            seem that you finaly found the problem

                            thank’s

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

                            202

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project