Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot time profiling script #315

Open
adeebshihadeh opened this issue Aug 15, 2024 · 0 comments
Open

Boot time profiling script #315

adeebshihadeh opened this issue Aug 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@adeebshihadeh
Copy link
Contributor

adeebshihadeh commented Aug 15, 2024

For boot time, the first priority is anything needed to engage openpilot, and the second is auxiliary stuff a user would notice (wifi, modem, etc.)

Before we start improving boot time, we need a good test. Previous attempts have consistently hit long tail race conditions that led to regressions. This is a more detailed version of #110 (comment).

Requirements:

  • Records when a service (e.g. Weston) or peripheral (e.g. DSP) is ready
  • Reports if something failed to come up
  • Must capture everything openpilot uses and a user would notice: display, GPU, DSP, cameras, modem, Wi-Fi, etc.
  • Has a mode to run in a loop and record stats

This script should answer the questions:

  • how long until I can engage?
  • how long until I can SSH into the device?
@adeebshihadeh adeebshihadeh added the enhancement New feature or request label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Open
Development

No branches or pull requests

1 participant