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

Cache RPMs between builds #502

Open
agracey opened this issue Jul 23, 2024 · 3 comments
Open

Cache RPMs between builds #502

agracey opened this issue Jul 23, 2024 · 3 comments
Labels
enhancement New feature or request triaged The team has reviewed the issue

Comments

@agracey
Copy link

agracey commented Jul 23, 2024

Builds can take a while on dependency resolution and package download. This seems like it's network bound so caching the packages would likely provide a better experience when iterating on an image

@jdob
Copy link
Contributor

jdob commented Jul 30, 2024

For clarification, you mean RPMs specifically right? As compared to container images for k8s workloads.

@agracey
Copy link
Author

agracey commented Jul 30, 2024

Yes, RPMs

@agracey agracey changed the title Cache packages between builds Cache RPMs between builds Jul 30, 2024
@pbronneberg
Copy link

Recognise the long build duration. For a project tasked to build Edge images using EIB, this results in rather high cycle teams when editing configuration. (> 20 minutes)

We observe that Resolving package dependencies... is consuming the beef of the build time (we pull in large packages from Nvidia RPM registries during this step). To assess whether this is CPU bound, we tested our CI on 2 different Amazon instances leading to the following results:

Timing results:

instance-type m5a.large m5ad.xlarge
vCPU 2 4
Memory (GB) 8 16
EIB time 21:44 17:43
time savings - -4:01

Based on this, CPU does not appear the largest contributing factor and we also suspect the resolving to be network bound.

Hope this helps

@jdob jdob added enhancement New feature or request triaged The team has reviewed the issue labels Aug 16, 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 triaged The team has reviewed the issue
Projects
None yet
Development

No branches or pull requests

3 participants