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

Please enable high-performance builders for some of the @kernel-vanilla coprs – or all if appropriate #3512

Closed
knurd opened this issue Nov 13, 2024 · 4 comments
Assignees

Comments

@knurd
Copy link

knurd commented Nov 13, 2024

Please enable high-performance builders for the @kernel-vanilla coprs packages shipping stable(|-rc) kernels for Fedora Linux releases. The RE should look like this afaics[1]:

@kernel-vanilla/(fedora|fedora-rc|stable|stable-rc)/.*(x86_64|aarch64)/.*-releases

This is in preparation for next week, as the stable and stable-rc repos than will start shipping -rt kernel packages (fedora and fedora-rc will follow three week later), which will double the build time. This can already be seen in my mainline builds, which take 3 to 6 hours on arm64 and x86_64 since I enabled -rt subpackages there. To see, compare these two:
https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline-wo-mergew/build/8204411/
https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline-wo-mergew/build/8211067/

For the daily mainline and rawhide builds a quicker build time would be nice to have, too, but is not that crucial -- but if you think they are worth high-performance builders as well I'd be happy to get them.

But for stable and stable-rc kernels targeting Fedora Linux release it afaics would be worth reducing the time to build.

[1] side note: I think the example at the end of https://docs.pagure.org/copr.copr/user_documentation/powerful_builders.html#high-performance-builders needs a 's!kernel/.(x86_64!kernel/.*(x86_64!' (example does not escape special characters for readability).

@github-project-automation github-project-automation bot moved this to Needs triage in CPT Kanban Nov 13, 2024
@praiskup praiskup moved this from Needs triage to In 3 months in CPT Kanban Nov 13, 2024
@nikromen nikromen self-assigned this Nov 18, 2024
@nikromen nikromen moved this from In 3 months to Done in CPT Kanban Nov 18, 2024
@nikromen nikromen moved this from Done to In Progress in CPT Kanban Nov 18, 2024
@nikromen
Copy link
Member

nikromen commented Nov 25, 2024

Hello I included the projects in our scripts here: https://pagure.io/fedora-infra/ansible/pull-request/2383 but I didn't merge it yet because of this:

For the daily mainline and rawhide builds a quicker build time would be nice to have, too, but is not that crucial -- but if you think they are worth high-performance builders as well I'd be happy to get them.

yep this seems like a valid use case, so if it helps you, you can paste here additional regex for the projects you want to apply that :)

once provided, I'll include both of them at once there

@knurd
Copy link
Author

knurd commented Nov 25, 2024

yep this seems like a valid use case, so if it helps you, you can paste here additional regex for the projects you want to apply that :)

Cool, many thx. In that case replace the previously added RE with this one:

@kernel-vanilla/.*/.*(x86_64|aarch64)/.*

This seems pretty broad, but right now those repos don't build anything other than kernels.

@nikromen
Copy link
Member

nikromen commented Dec 9, 2024

just note that enabling everyting in this repo means that if you will build packages that takes short amount of time (e.g. 5 minutes) you will wait a lot longer because it takes a while before the powerful machines boots up for you, so use different repo for smaller packages

@nikromen nikromen closed this as completed Dec 9, 2024
@knurd
Copy link
Author

knurd commented Dec 9, 2024

Thx!

just note that enabling everything in this repo means that […]

Don't worry, I read that in the documentation. :-D But right now there are no such packages, only kernels that take quite a while to build. If that changes I'll file a request to adjust things.

@nikromen nikromen moved this from In Progress to Done in CPT Kanban Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants