-
Notifications
You must be signed in to change notification settings - Fork 406
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
Sharp increase in resource usage between v0.9 and v0.10 #642
Comments
Thanks for reporting this! Looking through the diff now: v0.9.0...v0.10.0 Are you building multi-platform images ( Aside from that change, the only big change since v0.9 that I could imagine causing this is SBOM generation, but I'd be surprised that it causes this much increased load. It could be worth adding @mattmoor you're also a heavy |
@imjasonh No, no building of multi-platform images. |
No, but I'll ask around 🤔 |
Same issue with Builds seem to be started all at once. I would expect no more than 16 at a time (if hyperthreading is enabled):
|
@antoineco how do you get graphs like that? I'm curious if we need something like |
@dprotaso They are from CircleCI. I didn't have time to investigate further yet, but I have a feeling parallelism isn't regulated at all anymore. Based solely on the logs output, we used to observe |
Playing with Circle CI - by default it reads GOMAXPROCS as 36, but using automaxprocs it calculates it to be 4 (at least for my large instance). So I think using automaxprocs would be beneficial here to figure out the default in a container environment. But GOMAXPROCS has been in use for quite some time in |
Oh wow 36 for 8 CPU cores, that's unexpectedly high. Thanks for looking into it! |
@antoineco can you test the above change in your CI? |
In a project with about 60
ko://
references, we are seeing a sudden increase in the resource usage in our CI workers, causing all our release jobs to fail due togo build
processed being killed.Judging by the logs (
"Building github.com/triggermesh/triggermesh/cmd/..."
), it seems like builds are now started all at once, without respectingnprocs
. This wasn't the in v0.9 (again, only judging by the logs).Before
After
The text was updated successfully, but these errors were encountered: