View my account

D435 High CPU Usage

Comments

1 comment

  • MartyX Grover

    Hi Lihonghong9  Are you building the librealsense SDK from source code with CMake, please?  If you are then I would recommend including the build flag -DCMAKE_BUILD_TYPE=Release if you are not doing so already.  This will build librealsense in Release mode instead of Debug mode so that it can benefit from optimizations.

    Your application may also benefit from using the SDK's GLSL processing blocks feature to offload some of the processing from the CPU onto the graphics GPU, similar to the acceleration that the SDK provides to devices equipped with an NVidia GPU via CUDA support.  GLSL is 'vendor-neutral', meaning that it should work with any brand of GPU, though performance benefits may not be noticable on low-end devices.

    The SDK example program rs-gl demonstrates point cloud generation that utilizes GLSL.

    https://github.com/IntelRealSense/librealsense/tree/master/examples/gl

    The link below also has a very good discussion of the pros and cons of GLSL and when to use it.

    https://github.com/IntelRealSense/librealsense/pull/3654

    0
    Comment actions Permalink

Please sign in to leave a comment.