librealsense: High CPU Utilization

This is listed in #744 and #707, but since both of those are closed I am opening a new issue. OpenMP causes librealsense to consume a full CPU core - this is likely due to the use of #pragma omp parallel for schedule(dynamic) .

Disabling OpenMP in CMake with -DBUILD_WITH_OPENMP=false is a workaround, but this could increase latency at high-framerates/resolutions.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 26 (5 by maintainers)

Most upvoted comments

So the biggest issue for me is the alignment code - it’s extremely CPU intensive. I’m going to try making an approximate version that’s faster, since the full reprojection probably isn’t necessary for many applications.