• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    voxl-mpa-to-ros high system usage due to repeating invoking voxl-list-pipes

    Ask your questions right here!
    2
    4
    339
    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.
    • D
      Dong Liu
      last edited by 4 Feb 2023, 16:45

      When we start t voxl-mpa-to-ros, the system usage becomes very high, the CPU is overheat very quickly. I found out it is because it constantly executing shell script voxl-list-pipes. Although it is doing it at 1 second interval, but that script is quite complicated, it invokes a lot other shell commands, such as cat, grep, tr, sort ... I disabled this repeating invoking voxl-list-pipes, the system usage went down. The CPU was not overhead.

      The purpose for repeating invoking voxl-list-pipes is for handle pipe added after voxl-mpa-to-ros started. But in most case we start voxl-map-to-ros after the services are started. I think at least it should make this function configurable.

      1 Reply Last reply Reply Quote 0
      • C
        Chad Sweet ModalAI Team
        last edited by 6 Feb 2023, 19:40

        This is great feedback, thank you! We keep our code open for just this purpose. We are happy to review a Pull Request if you have one?

        D 1 Reply Last reply 6 Feb 2023, 21:08 Reply Quote 0
        • D
          Dong Liu
          last edited by 6 Feb 2023, 20:57

          I'll create one

          1 Reply Last reply Reply Quote 0
          • D
            Dong Liu @Chad Sweet
            last edited by 6 Feb 2023, 21:08

            @Chad-Sweet I also added skip n frame feature in the camera interfaces, It is quite useful to reduce the network traffic. Do you think should submit one full request with bother features or two pull requests?

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post
            Powered by NodeBB | Contributors