envoyproxy / envoyproxy/envoy

Set number of workers to allocated cgroup CPUs?

Open
#36,988 16 comments 0 reactions 0 assignees View on GitHub
no stalebot question
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 22h
Merged PRs (30d)
430

Description

*Title*: Set number of workers to allocated cgroup CPUs?

*Description*:

I noticed that when running envoy in Kubernetes, it sets the number of workers equal to the number of CPUs on the host, even if there is a limit of just 1 CPU. This may negatively impact performance and it would be nice if envoy could pick this up automatically.

[optional *Relevant Links*:]

https://github.com/golang/go/issues/33803

#5976

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.