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

    Downloading and uploading images stops every 5%

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    12
    2.7k
    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.
    • W
      Woeler
      last edited by Woeler

      Hello all,

      When downloading and uploading my windows 7 images to my Bananapi and back to my desktop everything is extremely slow. Every 5% or so progress completely stops and fog does basically nothing for sometimes 20 seconds, sometimes for 5 to 10 minutes. Uploading a 30gb images to my bananapi over a gigabit connection took me 1 and a half hour!

      The problem is the pause between each transfer. The 5% at a time it transfers takes only a few seconds, and then it stalls again for minutes.

      I have no idea what is causing this. Any help?

      The bananapi writes the images over usb2 to a 2.5inch HDD. I’m using a class4 SD card for my bananapi OS, but that will be swapped to a class10 card tomorrow(maybe that could be the problem?)

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

        Details, details, details…

        What version of FOG? (Specifically from the Cloud Logo on your system)

        What kernel are you using?

        I’ve seen these symptoms before, but I’ve not seen them for a long time.

        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
        • W
          Woeler
          last edited by

          Hey,

          I’m using fog 1.2.0
          Kernel: 3.4.90

          I’m pretty new to this, so if you need more info, please do ask 🙂

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

            The kernel I refer to is the one on your fog server, (the one the clients boot to).

            My guess, based on 1.2.0 is you haven’t downloaded any custom kernels. Most likely, you’re using 3.14.2.

            My guess as to the problem you’re seeing is in part due to the Hardware your fog server is running on.

            While it will “work” the speed for upload may be noticable during the “gaps” where the client has to compress the image, to when it passes the now compressed data back up to the server.

            What may be of interest is maybe trying to run on SVN. There is a significant increase in speed between the init’s for upload and download. By significant, I think anybody on the forums running the current “trunk” version of fog can vouch for it.

            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
            • Wayne WorkmanW
              Wayne Workman
              last edited by Wayne Workman

              When I’m uploading using a 32-Core 28 GB RAM Server with 2Gbps network connection, it does the same for me.

              This is normal.

              If you want faster upload speeds, upgrade to Trunk.

              I recommend using this method to upgrade to FOG Trunk:
              https://wiki.fogproject.org/wiki/index.php/SVN

              Just like Tom said:

              @Tom-Elliott said:

              What may be of interest is maybe trying to run on SVN. There is a significant increase in speed between the init’s for upload and download. By significant, I think anybody on the forums running the current “trunk” version of fog can vouch for it.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • W
                Woeler
                last edited by Woeler

                Hey thanks for your input. The weird thing is however, that a friend of mine is running on exactly the same hardware, not running on SVN and it runs just fine. 😞

                I will try it tomorrow and let you know if it helped!

                Thanks in advance!

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Woeler
                  last edited by

                  @Woeler said:

                  Hey thanks for your input. The weird thing is however, that a friend of mine is running on exactly the same hardware, not running on SVN and it runs just fine. 😞

                  Compression happens on the client, not the server…

                  If your friend has a faster client, it’d perform better.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • W
                    Woeler
                    last edited by Wayne Workman

                    Could the problem be that I’m making an image of a 30gb SSD that is almost full? And with almost full I mean with like a gig left?

                    30 gig is not a large image. Free space shouldn’t be an issue, either. Did you choose “resizeable” ?

                    If you don’t like how long it’s taking, you could turn down the compression… Default for 1.2.0 is set to 9… and that’s the max… and it’s really slow. I’d recommend 6.

                    1 Reply Last reply Reply Quote 0
                    • W
                      Woeler
                      last edited by

                      Thanks, but where do I find this particular setting?

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        For 1.2.0 The compression settings for images is located here:

                        FOG Configuration -> FOG Settings -> FOG Boot Settings -> FOG_PIGZ_COMP

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          Wow just realized that I edited your post instead of replying… long day…

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @Woeler
                            last edited by Wayne Workman

                            @Woeler

                            Also,

                            You will get FAR better performance if you install a Linux SERVER distro into your banana pie, and use FOG Trunk instead of 1.2.0.

                            I recommend Fedora 22 Server and this method of getting FOG Trunk: https://wiki.fogproject.org/wiki/index.php/SVN

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

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

                            137

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.3k

                            Posts
                            Copyright © 2012-2024 FOG Project