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

Reduce AGNOS system image size to <1GB #225

Open
adeebshihadeh opened this issue May 25, 2024 · 3 comments
Open

Reduce AGNOS system image size to <1GB #225

adeebshihadeh opened this issue May 25, 2024 · 3 comments
Labels
bounty enhancement New feature or request

Comments

@adeebshihadeh
Copy link
Contributor

adeebshihadeh commented May 25, 2024

Convenience things, like valgrind, should be the last to go. First up is anything we're just wasting space on, like package caches or AGNOS build-time dependencies.

If we have to start cutting these things, I think we'll want to setup an "AGNOS dev" package that will install all those extras together.

batman:output$ du -hs system.img
4.3G    system.img

scripts/check_space.sh is a nice tool for debugging this and will allow you to poke around like this:
image

@adeebshihadeh adeebshihadeh added enhancement New feature or request bounty labels May 25, 2024
@jyoung8607
Copy link
Contributor

Screenshot_20240525-191830

Not requesting a lock, that's an idea free for anyone's use.

@andiradulescu
Copy link
Collaborator

andiradulescu commented Jul 24, 2024

Activated strictatime on my C3 and works nice, but it's more like a fine tuning approach, which I'll do after I clean stuff like this:

image

debs folder in site-packages... 🤯 (most likely because of an uv bug)

After fixing the above, I will clean pyproject.toml to be similar to openpilot's pyproject.toml.

I will submit separate PRs.

@adeebshihadeh
Copy link
Contributor Author

Locked to @andiradulescu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty enhancement New feature or request
Projects
Status: Locked
Development

No branches or pull requests

3 participants