-
Couldn't load subscription status.
- Fork 580
deploy: add -automaxprocs to reduce CPU and memory resources
#5292
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
Conversation
|
/test ci/centos/mini-e2e-helm/k8s-1.31 |
088694c to
a824688
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets set this options to true by default in direct k8s deployment yamls too ?
https://github.com/ceph/ceph-csi/tree/devel/deploy
Hey @Rakshith-R, There is no |
Yes, users maybe adding the resource contraints manually ? We'll need to add this option at Ceph-CSI-operator too ? |
If it set a resource quota for the Ceph-CSI container, then it would be good, yes. |
|
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
Pull request has been modified.
|
Hi @Rakshith-R and @black-dragon74 , please review again, the merge conflict has been resolved. |
|
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
|
/test ci/centos/k8s-e2e-external-storage/1.30 |
|
/test ci/centos/k8s-e2e-external-storage/1.31 |
|
/test ci/centos/mini-e2e-helm/k8s-1.30 |
|
/test ci/centos/upgrade-tests-rbd |
|
/test ci/centos/mini-e2e-helm/k8s-1.31 |
|
/test ci/centos/k8s-e2e-external-storage/1.32 |
|
/test ci/centos/mini-e2e/k8s-1.30 |
|
/test ci/centos/mini-e2e/k8s-1.31 |
|
/test ci/centos/mini-e2e-helm/k8s-1.32 |
|
/test ci/centos/mini-e2e/k8s-1.32 |
|
This pull request has been removed from the queue for the following reason: The merge conditions cannot be satisfied due to failing checks: You may have to fix your CI before adding the pull request to the queue again. |
|
/retest ci/centos/mini-e2e/k8s-1.30 |
|
@Mergifyio requeue
Failed with: |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
With the new `-automaxprocs` commandline parameter, Ceph-CSI will adjust the GOMAXPROCS environment variable for the Golang runtime. The values are based on the CPU quota that is given to the process. This can reduce the number of threads that the Golang runtime spawns, which affects the require amount of memory as well. Updates: ceph#5228 Signed-off-by: Niels de Vos <[email protected]>
When the Ceph-CSI provisioner/plugin is configured with CPU resource quota, the GOMAXPROCS environment variable should get set as well. Without the `-automaxprocs` commandline argument, it is possible that there are way too many threads started by the Go runtime. Signed-off-by: Niels de Vos <[email protected]>
|
/test ci/centos/k8s-e2e-external-storage/1.30 |
|
/test ci/centos/mini-e2e-helm/k8s-1.30 |
|
/test ci/centos/k8s-e2e-external-storage/1.32 |
|
/test ci/centos/mini-e2e/k8s-1.30 |
|
/test ci/centos/mini-e2e-helm/k8s-1.32 |
|
/test ci/centos/upgrade-tests-cephfs |
|
/test ci/centos/k8s-e2e-external-storage/1.31 |
|
/test ci/centos/mini-e2e/k8s-1.32 |
|
/test ci/centos/upgrade-tests-rbd |
|
/test ci/centos/mini-e2e-helm/k8s-1.31 |
|
/test ci/centos/mini-e2e/k8s-1.31 |
With the new
-automaxprocscommandline parameter, Ceph-CSI will adjustthe GOMAXPROCS environment variable for the Golang runtime. The values
are based on the CPU quota that is given to the process. This can reduce
the number of threads that the Golang runtime spawns, which affects the
require amount of memory as well.
Fixes: #5228
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>: retest the<job-name>after unrelatedfailure (please report the failure too!)