Skip to content

path search never ends #215

@moz-sec

Description

@moz-sec

Checklist

Step where the question is related to

Visualization

Description

Problem

I am currently trying to use CARET for my Autoware performance analysis.
When I run Architecture.search_paths() according to the CARET documentation, it exceeds 64GB of memory on my analysis environment and the path search program terminates.
I have tried to trace and analyze according to CARET Analysis for Autoware, but still have the same problem.

Expected

Path search completes within a reasonable time and memory usage.

Software Version

All source code on GitHub was retrieved and built on 2025/04/15 (commit IDs below)

  • Autoware: 6cb9f1c
  • CARET: 6bb7bd4

Hardware

  • CPU: Intel(R) Core(TM) i9-14900KF
  • RAM: 64GB
  • GPU: NVIDIA RTX 4090

What I tried

Follow CARET Analysis for Autoware, after loading caret_topic_filter.bash and then trace with logging_simulator.

Once the tracing is done, I start the analysis.
I have done path finding on two programs.

  1. Ran e2e_planning_to_control.py with reference to target_path.json, excluding the non-existent ROS nodes path_with_lane_id and obstacle_planner.
    → × (Path search never ends)
  2. Ran e2e_sensing_to_perception.py with reference to target_path.json
    → ◯ (It takes about 10 seconds to find a path.)

I have tried several others, but the problem seems to occur when including Planning and Control ROS nodes.

The size of the trace data is as follows:

  • raw data (session-{timestamp}/ust/uid/1000/64-bit): 33MB
  • Converted (caret_converted): 79MB
  • Architecture file (architecture.yaml): 18258 lines

Question

I heard that CARET is also used internally at Tier IV.

  • When using CARET with Autoware, will the process complete without problems if Planning and Control nodes are included?
  • Is there a recommended way to efficiently perform path search even when these nodes are included?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions