Reduce kernel boot time to <1s on comma 3X
- Dominant language
- Python
- Stars
- 63.7k
- Forks
- 11.4k
- Avg merge
- 17h 53m
- Merged PRs (30d)
- 171
Description
`systemd-analyze` reports this for the latest AGNOS:
```
Startup finished in 3.650s (kernel) + 7.343s (userspace) = 10.994s
graphical.target reached after 7.059s in userspace
```
Get the kernel part of that down to <1s in a self-contained way that doesn't delay the rest of the openpilot.
* can't just defer stuff to later and cost boot time at later stages
* can turn off stuff openpilot doesn't use (NFC, bluetooth, etc.)
AGNOS is built with https://github.com/commaai/agnos-builder
Contributor guide
Research direction
Start by running systemd-analyze on the latest AGNOS build and inspect the AGNOS builder configuration for kernel boot contributors. Identify unused features such as NFC or Bluetooth that can be disabled without deferring work to later stages. Done means the reported kernel time is under 1 second and later openpilot startup is not delayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100