Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. Video and Image Sensors
  4. Minimizing voxl-camera-server CPU usage in SDK1.6

Minimizing voxl-camera-server CPU usage in SDK1.6

Scheduled Pinned Locked Moved Video and Image Sensors
33 Posts 2 Posters 12.6k Views 1 Watching
  • 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.
  • Alex KushleyevA Alex Kushleyev

    @Rowan-Dempster , sure, that would be helpful. I don't see any issues with merging that in, since if we do it right, it will not affect 64 bit build at all and will only add limited support for 32 bit -- limited, meaning, for clients only, cannot allocate new buffers.

    i will check with the team today to make sure we are all good, so perhaps you should wait for that.

    Alex

    Rowan DempsterR Offline
    Rowan DempsterR Offline
    Rowan Dempster
    Regular
    wrote on last edited by
    #24

    @Alex-Kushleyev

    sure, that would be helpful.

    i will check with the team today to make sure we are all good, so perhaps you should wait for that.

    Will do!

    Alex KushleyevA 1 Reply Last reply
    0
    • Rowan DempsterR Rowan Dempster

      @Alex-Kushleyev

      sure, that would be helpful.

      i will check with the team today to make sure we are all good, so perhaps you should wait for that.

      Will do!

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #25

      @Rowan-Dempster , we will go ahead and integrate the limited 32-bit ION buffer support into libmodal-pipe. Did you make any changes to my latest branch from a few days ago? If so, I can take whatever changes you have and do the final integration. If you have not made any changes (and don't have any suggestions), I can just finish it up from here.

      Thanks again for your help!

      Alex

      Rowan DempsterR 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @Rowan-Dempster , we will go ahead and integrate the limited 32-bit ION buffer support into libmodal-pipe. Did you make any changes to my latest branch from a few days ago? If so, I can take whatever changes you have and do the final integration. If you have not made any changes (and don't have any suggestions), I can just finish it up from here.

        Thanks again for your help!

        Alex

        Rowan DempsterR Offline
        Rowan DempsterR Offline
        Rowan Dempster
        Regular
        wrote on last edited by
        #26

        @Alex-Kushleyev Sounds good! I did not make any changes since the revisions you shared 5 days ago.

        Rowan DempsterR 1 Reply Last reply
        0
        • Rowan DempsterR Rowan Dempster

          @Alex-Kushleyev Sounds good! I did not make any changes since the revisions you shared 5 days ago.

          Rowan DempsterR Offline
          Rowan DempsterR Offline
          Rowan Dempster
          Regular
          wrote on last edited by
          #27

          @Alex-Kushleyev Hi Alex, Happy New Years 🙂

          Is there an ETA on when the 32-bit ION buffer support in libmodal-pipe will be main-lined? For our internal time planning here at Cleo.

          Thank you,
          Rowan

          Alex KushleyevA 1 Reply Last reply
          0
          • Rowan DempsterR Rowan Dempster

            @Alex-Kushleyev Hi Alex, Happy New Years 🙂

            Is there an ETA on when the 32-bit ION buffer support in libmodal-pipe will be main-lined? For our internal time planning here at Cleo.

            Thank you,
            Rowan

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #28

            Hi @Rowan-Dempster,

            Thanks for the reminder. I will try to get this in by early next week. Sorry for the delay!

            Happy New Year!

            Alex

            Alex KushleyevA 1 Reply Last reply
            1
            • Alex KushleyevA Alex Kushleyev

              Hi @Rowan-Dempster,

              Thanks for the reminder. I will try to get this in by early next week. Sorry for the delay!

              Happy New Year!

              Alex

              Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by
              #29

              Hi @Rowan-Dempster ,

              I updated both projects to be compatible with 32 and 64 bit builds.

              https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe/-/tree/ion-32bit-test
              https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/tree/ion-32bit-test

              Now you should be able to install the libmodal pipe package without breaking 64 bit build and it will enable the 32-bit ion buffer client support.

              In order to support this on the 32-bit client application side, you need to have the following defines:

              • -DEN_ION_BUF
              • -DEN_32BIT_ION_BUF

              as seen here : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/ion-32bit-test/CMakeLists.txt#L22

              Also, you can build just the 32-bit voxl-mpa-tools using ./build.sh arm32-only

              I did a quick test. Can you please test to make sure the updated libmodal pipe works with your 32 bit application and also does not break the main 64-bit functionality? Then i think we can merge it to dev.

              Thanks for your patience!

              Alex

              Rowan DempsterR 1 Reply Last reply
              0
              • Alex KushleyevA Alex Kushleyev

                Hi @Rowan-Dempster ,

                I updated both projects to be compatible with 32 and 64 bit builds.

                https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe/-/tree/ion-32bit-test
                https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/tree/ion-32bit-test

                Now you should be able to install the libmodal pipe package without breaking 64 bit build and it will enable the 32-bit ion buffer client support.

                In order to support this on the 32-bit client application side, you need to have the following defines:

                • -DEN_ION_BUF
                • -DEN_32BIT_ION_BUF

                as seen here : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/ion-32bit-test/CMakeLists.txt#L22

                Also, you can build just the 32-bit voxl-mpa-tools using ./build.sh arm32-only

                I did a quick test. Can you please test to make sure the updated libmodal pipe works with your 32 bit application and also does not break the main 64-bit functionality? Then i think we can merge it to dev.

                Thanks for your patience!

                Alex

                Rowan DempsterR Offline
                Rowan DempsterR Offline
                Rowan Dempster
                Regular
                wrote on last edited by
                #30

                Hi @Alex-Kushleyev,

                I did a quick test. Can you please test to make sure the updated libmodal pipe works with your 32 bit application and also does not break the main 64-bit functionality? Then i think we can merge it to dev.

                Yes absolutely, I can get that done today.

                Thanks for your patience!

                Thank you for taking this on!

                Rowan

                Rowan DempsterR 1 Reply Last reply
                0
                • Rowan DempsterR Rowan Dempster

                  Hi @Alex-Kushleyev,

                  I did a quick test. Can you please test to make sure the updated libmodal pipe works with your 32 bit application and also does not break the main 64-bit functionality? Then i think we can merge it to dev.

                  Yes absolutely, I can get that done today.

                  Thanks for your patience!

                  Thank you for taking this on!

                  Rowan

                  Rowan DempsterR Offline
                  Rowan DempsterR Offline
                  Rowan Dempster
                  Regular
                  wrote on last edited by
                  #31

                  Hi @Alex-Kushleyev,

                  I confirmed that the https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe/-/tree/ion-32bit-test branch does indeed allow voxl-qvio-server to use ION pipes (using DEN_ION_BUF and DEN_32BIT_ION_BUF). I have not detected any other breakages of the Cleo SDK or performance degradations, but that's something we will monitor as we test more.

                  In CPU perf mode, average core util dropped from 31% to 22%, this is a huge help, thank you very much for your work.

                  We will be eagerly awaiting the release of a libmodal-pipe gitlab tag with these changes in it!

                  Cheers,
                  Rowan

                  Rowan DempsterR 1 Reply Last reply
                  0
                  • Rowan DempsterR Rowan Dempster

                    Hi @Alex-Kushleyev,

                    I confirmed that the https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe/-/tree/ion-32bit-test branch does indeed allow voxl-qvio-server to use ION pipes (using DEN_ION_BUF and DEN_32BIT_ION_BUF). I have not detected any other breakages of the Cleo SDK or performance degradations, but that's something we will monitor as we test more.

                    In CPU perf mode, average core util dropped from 31% to 22%, this is a huge help, thank you very much for your work.

                    We will be eagerly awaiting the release of a libmodal-pipe gitlab tag with these changes in it!

                    Cheers,
                    Rowan

                    Rowan DempsterR Offline
                    Rowan DempsterR Offline
                    Rowan Dempster
                    Regular
                    wrote on last edited by
                    #32

                    Hi @Alex-Kushleyev ,

                    Has there been a tag created in https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe that contains these changes? Please let me know when that happens, would would like to get these CPU gains moved into production ASAP!

                    All the best,
                    Rowan

                    Alex KushleyevA 1 Reply Last reply
                    0
                    • Rowan DempsterR Rowan Dempster

                      Hi @Alex-Kushleyev ,

                      Has there been a tag created in https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe that contains these changes? Please let me know when that happens, would would like to get these CPU gains moved into production ASAP!

                      All the best,
                      Rowan

                      Alex KushleyevA Offline
                      Alex KushleyevA Offline
                      Alex Kushleyev
                      ModalAI Team
                      wrote on last edited by
                      #33

                      Hi @Rowan-Dempster ,

                      We just merged the changes to dev : https://gitlab.com/voxl-public/voxl-sdk/core-libs/libmodal-pipe/-/merge_requests/39.

                      A new build of the libmodal-pipe library will be added after tonight's nightly build here : http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/ .

                      Any SDK releases after this will include this support.

                      Alex

                      1 Reply Last reply
                      0
                      • Rowan DempsterR Rowan Dempster referenced this topic on

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups