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

setup environment GOMAXPROCS=2 #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

yylt
Copy link

@yylt yylt commented Mar 3, 2025

Fix containerd/containerd#10897

In CNIs, most tasks are performed simply, and usually Golang implementation.

However, in multi-core environments(specially above 32C), the initialization of the go runtime takes too long time, there should be no need to do this, so adding GOMAXPROCS makes sense, perhaps should add metrics for time comparison

It is also beneficial for improving energy efficiency :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

take too long time for execution of CNI
1 participant