Skip to content

setup environment GOMAXPROCS=2 - #127

Open
yylt wants to merge 1 commit into
containerd:mainfrom
yylt:maxprocs
Open

setup environment GOMAXPROCS=2#127
yylt wants to merge 1 commit into
containerd:mainfrom
yylt:maxprocs

Conversation

@yylt

@yylt yylt commented Mar 3, 2025

Copy link
Copy Markdown

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 :)

Signed-off-by: yylt <yang8518296@163.com>
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