Debian 9.5 takes longer to mount emmc than 8.7 did












0














I have been trying to chase down some boot performance issues for a little while now.
Previously we were running debian 8.7 with 4.4.54 kernel. our start up time is
systemd-analyze
Startup finished in 12.022s (kernel) + 20.214s (userspace) = 32.237s

Network is up and running(pingable) in ~30 seconds. Our application is up and running in 90 seconds.



We are updating our image to Debian 9.5 with 4.14.79 kernel for driver support with some new cell modems. We were able to get a similar boot time, but kernel takes a while to finish
systemd-analyze
Startup finished in 26.448s (kernel) + 11.155s (userspace) = 37.603s

Network is up and running in ~50 seconds. Our application is up and running in ~125 seconds.



I was looking through the kernel log and it looks like it took ~22 seconds to mount the emmc (Debian 9.5)

[ 2.130752] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 25.872231] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



I checked one of the old 8.7 builds and it takes ~6 seconds to mount. I do see some errors so there may have been some underlying issues with our image, or how we flash the emmc.

[ 5.116499] pru-rproc: probe of 4a338000.pru1 failed with error -2
[ 11.087294] EXT4-fs (mmcblk1p1): INFO: recovery required on readonly filesystem
[ 11.087323] EXT4-fs (mmcblk1p1): write access will be enabled during recovery
[ 11.613937] EXT4-fs (mmcblk1p1): recovery complete
[ 11.614976] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



I was able to boot from an sd card and run e2fsck on emmc, with no reported errors.



OK, so my question is this. Does it seem like the boot performance could be from misaligned partition(s)? What else could I check to try and isolate where the issue(s) is(are)?










share|improve this question





























    0














    I have been trying to chase down some boot performance issues for a little while now.
    Previously we were running debian 8.7 with 4.4.54 kernel. our start up time is
    systemd-analyze
    Startup finished in 12.022s (kernel) + 20.214s (userspace) = 32.237s

    Network is up and running(pingable) in ~30 seconds. Our application is up and running in 90 seconds.



    We are updating our image to Debian 9.5 with 4.14.79 kernel for driver support with some new cell modems. We were able to get a similar boot time, but kernel takes a while to finish
    systemd-analyze
    Startup finished in 26.448s (kernel) + 11.155s (userspace) = 37.603s

    Network is up and running in ~50 seconds. Our application is up and running in ~125 seconds.



    I was looking through the kernel log and it looks like it took ~22 seconds to mount the emmc (Debian 9.5)

    [ 2.130752] random: systemd-udevd: uninitialized urandom read (16 bytes read)
    [ 25.872231] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



    I checked one of the old 8.7 builds and it takes ~6 seconds to mount. I do see some errors so there may have been some underlying issues with our image, or how we flash the emmc.

    [ 5.116499] pru-rproc: probe of 4a338000.pru1 failed with error -2
    [ 11.087294] EXT4-fs (mmcblk1p1): INFO: recovery required on readonly filesystem
    [ 11.087323] EXT4-fs (mmcblk1p1): write access will be enabled during recovery
    [ 11.613937] EXT4-fs (mmcblk1p1): recovery complete
    [ 11.614976] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



    I was able to boot from an sd card and run e2fsck on emmc, with no reported errors.



    OK, so my question is this. Does it seem like the boot performance could be from misaligned partition(s)? What else could I check to try and isolate where the issue(s) is(are)?










    share|improve this question



























      0












      0








      0







      I have been trying to chase down some boot performance issues for a little while now.
      Previously we were running debian 8.7 with 4.4.54 kernel. our start up time is
      systemd-analyze
      Startup finished in 12.022s (kernel) + 20.214s (userspace) = 32.237s

      Network is up and running(pingable) in ~30 seconds. Our application is up and running in 90 seconds.



      We are updating our image to Debian 9.5 with 4.14.79 kernel for driver support with some new cell modems. We were able to get a similar boot time, but kernel takes a while to finish
      systemd-analyze
      Startup finished in 26.448s (kernel) + 11.155s (userspace) = 37.603s

      Network is up and running in ~50 seconds. Our application is up and running in ~125 seconds.



      I was looking through the kernel log and it looks like it took ~22 seconds to mount the emmc (Debian 9.5)

      [ 2.130752] random: systemd-udevd: uninitialized urandom read (16 bytes read)
      [ 25.872231] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



      I checked one of the old 8.7 builds and it takes ~6 seconds to mount. I do see some errors so there may have been some underlying issues with our image, or how we flash the emmc.

      [ 5.116499] pru-rproc: probe of 4a338000.pru1 failed with error -2
      [ 11.087294] EXT4-fs (mmcblk1p1): INFO: recovery required on readonly filesystem
      [ 11.087323] EXT4-fs (mmcblk1p1): write access will be enabled during recovery
      [ 11.613937] EXT4-fs (mmcblk1p1): recovery complete
      [ 11.614976] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



      I was able to boot from an sd card and run e2fsck on emmc, with no reported errors.



      OK, so my question is this. Does it seem like the boot performance could be from misaligned partition(s)? What else could I check to try and isolate where the issue(s) is(are)?










      share|improve this question















      I have been trying to chase down some boot performance issues for a little while now.
      Previously we were running debian 8.7 with 4.4.54 kernel. our start up time is
      systemd-analyze
      Startup finished in 12.022s (kernel) + 20.214s (userspace) = 32.237s

      Network is up and running(pingable) in ~30 seconds. Our application is up and running in 90 seconds.



      We are updating our image to Debian 9.5 with 4.14.79 kernel for driver support with some new cell modems. We were able to get a similar boot time, but kernel takes a while to finish
      systemd-analyze
      Startup finished in 26.448s (kernel) + 11.155s (userspace) = 37.603s

      Network is up and running in ~50 seconds. Our application is up and running in ~125 seconds.



      I was looking through the kernel log and it looks like it took ~22 seconds to mount the emmc (Debian 9.5)

      [ 2.130752] random: systemd-udevd: uninitialized urandom read (16 bytes read)
      [ 25.872231] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



      I checked one of the old 8.7 builds and it takes ~6 seconds to mount. I do see some errors so there may have been some underlying issues with our image, or how we flash the emmc.

      [ 5.116499] pru-rproc: probe of 4a338000.pru1 failed with error -2
      [ 11.087294] EXT4-fs (mmcblk1p1): INFO: recovery required on readonly filesystem
      [ 11.087323] EXT4-fs (mmcblk1p1): write access will be enabled during recovery
      [ 11.613937] EXT4-fs (mmcblk1p1): recovery complete
      [ 11.614976] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)



      I was able to boot from an sd card and run e2fsck on emmc, with no reported errors.



      OK, so my question is this. Does it seem like the boot performance could be from misaligned partition(s)? What else could I check to try and isolate where the issue(s) is(are)?







      boot performance beagleboneblack






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 20 '18 at 16:59









      Rui F Ribeiro

      39.1k1479130




      39.1k1479130










      asked Dec 20 '18 at 16:21









      Patrick Ciccone

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490147%2fdebian-9-5-takes-longer-to-mount-emmc-than-8-7-did%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490147%2fdebian-9-5-takes-longer-to-mount-emmc-than-8-7-did%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Morgemoulin

          Scott Moir

          Souastre