#9897·carla

Improve sensor pipeline performance and resource utilization

Author: JArmandoAnayaCreated Sep 25, 2026Updated Sep 25, 2026

Is your feature request related to a problem? Please describe.

Sensor-heavy CARLA workloads can significantly reduce simulation throughput and increase CPU, GPU, memory, and data-transfer overhead.

A review of the current ue58-dev sensor pipeline identified several areas where work can remain on frame-critical paths or consume unnecessary resources, including camera processing and delivery, ROS 2 publication, TCP backpressure, redundant image copies, and LiDAR/Radar processing.

This issue tracks the overall effort to improve sensor performance and resource utilization. Individual changes will be tracked through focused issues and pull requests, allowing them to be measured and reviewed independently.

Describe the solution you'd like

Follow an incremental, measurement-driven optimization plan:

  1. Establish reproducible performance baselines and missing instrumentation.
  2. Fix sensor capture synchronization issues before increasing pipeline asynchrony.
  3. Reduce unnecessary camera processing and publication overhead.
  4. Move suitable sensor processing away from render-critical execution.
  5. Improve streaming backpressure and remove redundant data copies.
  6. Reduce unnecessary LiDAR/Radar work and optimize their CPU paths.
  7. Investigate opportunities to reduce redundant rendering across sensor modalities.
  8. Profile Traffic Manager and multi-GPU scaling before pursuing larger architectural changes.

Each change should include before/after measurements and preserve simulation correctness, sensor synchronization, determinism where applicable, and existing public behavior.

Describe alternatives you've considered

A single large refactor was considered, but separating the work into smaller changes makes it easier to measure, review, and validate performance improvements while reducing the risk of introducing regressions.

Focusing only on rendering was also considered, but sensor costs extend beyond rendering to GPU readback, CPU processing, serialization, ROS 2 publication, and network delivery.

Additional context

The initial analysis targets the current ue58-dev branch, which is based on Unreal Engine 5.8.

Confirmed bugs, individual optimizations, and larger investigations will be tracked as separate issues and linked to this parent issue as the work progresses.