• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

SBC Brainrot

Scheduled Pinned Locked Moved Unsolved
Beta Firmware
3
8
238
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.
  • undefined
    p8blr
    last edited by p8blr 16 Sept 2024, 19:47

    Hey I'm wondering if there are any diagnostics I can run to help figure out why my Duet in SBC mode has slowed down significantly in the past week? I'm running a Raspberry Pi 5 8GB with a 6XD and various toolboards with 3.5.3-rc.1 and it was working great until this morning when I noticed that DWC has slowed down significantly, it freezes up every few seconds, and you can see it in the temperature graphs, macros take several seconds to start running, and gcode uploads freeze up.

    2024-09-16 14_45_23-Arc.png

    I should also mention that I've noticed this behavior come and go in the past, but I was happily surprised how fast latest firmware and pi images responded, up until this morning.

    Note: I'm using the Arc browser in Windows.

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 16 Sept 2024, 22:04

      Can you connect via SSH and send the htop command to view active processes and their resource usage?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 16 Sept 2024, 22:45 Reply Quote 1
      • undefined
        p8blr @Phaedrux
        last edited by p8blr 16 Sept 2024, 22:45

        @Phaedrux
        3dc7af2a-6147-4929-90c0-e3005a2ac0f7-image.png
        38154d90-7663-44b0-abeb-bc8e753eb503-image.png
        02fb7870-b07b-4467-8d7a-740a187ee7dd-image.png
        7f40801e-8fdd-452f-87d1-349a10454e3b-image.png
        c37af8ba-1690-43b0-a173-fb2ba627d64a-image.png
        9b39a516-8ee5-40f6-be98-881cbc84850e-image.png
        f1fee024-484b-4945-8f60-4ef4544d7c21-image.png

        There was a lot so I tried my best to fit it all here.
        This is the top few things when I sort by cpu usage
        c13df785-dd9c-469f-9141-69d5d4b94665-image.png

        I'm also noticing it will freeze for a few seconds, and then unfreeze. It happens in Putty and the DWC.

        undefined 1 Reply Last reply 16 Sept 2024, 23:36 Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 16 Sept 2024, 23:26

          Perhaps @chrishamm can spot anything notable in there. In the meantime, might be worth trying a fresh, high-perf SD card.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 17 Sept 2024, 15:25 Reply Quote 0
          • undefined
            chrishamm administrators @p8blr
            last edited by 16 Sept 2024, 23:36

            @p8blr Those stats look pretty good to me. Since you said it's an issue when you upload files, I'd guess it's an issue with WiFi power saving. If it's connected via WiFi, try https://www.thedigitalpictureframe.com/stay-connected-enhancing-raspberry-pi-wi-fi-stability-by-turning-off-power-management/

            Duet software engineer

            undefined 1 Reply Last reply 17 Sept 2024, 15:57 Reply Quote 1
            • undefined
              p8blr @Phaedrux
              last edited by 17 Sept 2024, 15:25

              @Phaedrux I'm actually running it with a nvme drive on a pcie hat.

              1 Reply Last reply Reply Quote 0
              • undefined
                p8blr @chrishamm
                last edited by 17 Sept 2024, 15:57

                @chrishamm I've actually got it connected via ethernet to my router, however, my laptop is on wifi. Would that matter? I'm about 20ft from my router.

                undefined 1 Reply Last reply 17 Sept 2024, 16:26 Reply Quote 0
                • undefined Phaedrux marked this topic as a question 17 Sept 2024, 16:25
                • undefined
                  chrishamm administrators @p8blr
                  last edited by 17 Sept 2024, 16:26

                  @p8blr That's quite possible. You could connect your laptop using an Ethernet cable to your router and check if the lags persist.

                  Duet software engineer

                  1 Reply Last reply Reply Quote 0
                  6 out of 8
                  • First post
                    6/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA