# ZED Performance and CPU Utilization Tips

**URL:** <https://community.stereolabs.com/t/zed-performance-and-cpu-utilization-tips/5882>\
**Category:** ROS2\
**Tags:** sdk, ros, jetson\
**Created:** [May 5, 2024, 4:30pm UTC](https://community.stereolabs.com/t/zed-performance-and-cpu-utilization-tips/5882 "2024-05-05T16:30:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![privvyledge](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/p/76d3ee/32.png) [@privvyledge](https://community.stereolabs.com/u/privvyledge)\
**Post date:** [May 5, 2024, 4:30pm UTC](https://community.stereolabs.com/t/zed-performance-and-cpu-utilization-tips/5882/1 "2024-05-05T16:30:20Z")

</div>

We have 4 ZED 2i units running on an Nvidia Jetson AGX Orin with ZED SDK 4.0.8 and the same ROS2 Humble Release version. However, when using multiple cameras simultaneously, the combined CPU utilization across all 12 cores is almost 50% in VGA mode at 15 FPS. While that does not seem unreasonable for 4 cameras, I would expect that the utilization should be much lower for a low resolution and low FPS, especially since the GPU is being used. The utilization obviously increases if the resolution or frame rate is increased. I should also note that this is with no subscribers to any of the topics, as I am pretty sure the ROS wrapper is using image transport, which should only run when there are active subscribers. I am creating this as a way to compile/assemble the best performance tips for using multiple cameras as well as decreasing the overall usage so the computer has enough resources for other tasks/nodes. Thanks.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [May 6, 2024, 7:41am UTC](https://community.stereolabs.com/t/zed-performance-and-cpu-utilization-tips/5882/2 "2024-05-06T07:41:57Z")

</div>

Hi @privvyledge  
Can you open `rqt` and take a screenshot of all the `Runtime monitor` details of all the nodes running simultaneously?

> **[Getting Started with ROS 2 and ZED - Stereolabs](https://www.stereolabs.com/docs/ros2#node-diagnostic)**
>
> The ZED ROS 2 wrapper lets you use the ZED stereo cameras with the second version of ROS. It provides access to the following data:

---

<div class="post-metadata">

**Author:** ![privvyledge](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/p/76d3ee/32.png) [@privvyledge](https://community.stereolabs.com/u/privvyledge)\
**Post date:** [May 9, 2024, 9:21pm UTC](https://community.stereolabs.com/t/zed-performance-and-cpu-utilization-tips/5882/3 "2024-05-09T21:21:41Z")

</div>

Since the diagnostics keep changing between cameras, I recorded a short GIF that captured, I think, 3 of them.  
 ![zed_multi_cam_rqt_diagnostics](https://community.stereolabs.com/uploads/default/original/2X/c/cbf585d34ee5a782d98a9ed2e9c9b061148d1b75.gif)

Note. The cameras are running in VGA mode at 15 FPS with PointClouds at 10 FPS and other sensors with mapping disabled.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [May 14, 2024, 1:07pm UTC](https://community.stereolabs.com/t/zed-performance-and-cpu-utilization-tips/5882/4 "2024-05-14T13:07:48Z")

</div>

Hi @privvyledge  
I apologize, I cannot see any problem here.

Did you modify [this value](https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed_wrapper/params/common.yaml#L19) to generate point clouds at the grab frequency?  
Please note that this is not recommended because point cloud transmission takes a lot of resources.
