-
Notifications
You must be signed in to change notification settings - Fork 40.9k
Benchmarks for node image access multitenancy #131864
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
base: master
Are you sure you want to change the base?
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: stlaz The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ee243f9
to
02f9df8
Compare
/test pull-kubernetes-unit-windows-master |
02f9df8
to
4699986
Compare
/sig auth |
Signed-off-by: Stanislav Láznička <[email protected]>
Signed-off-by: Stanislav Láznička <[email protected]>
4699986
to
cfa5280
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds benchmarking for the Ensure Secret Pulled Images feature
Which issue(s) this PR fixes:
Related to kubernetes/enhancements#2535
Special notes for your reviewer:
There are two benchmarks - one comparing the featuregate being enabled and disabled, one that is parametrized based on cache hit rate and number of records.
Raw benchmark results:
directfs_comparison_28GiB.txt
directfs_parametrized_28GiB.txt
We can see that there is a performance and memory allocation hit. The original code with the feature disabled is more or less linear, whereas enabling the feature adds a couple loops and IO operations, and so some performance hit is to be expected. The real world impact should be rather minimal, though.
The cache hit rate for apparent reasons has impact on the performance, and so does the number of records. As presented above, when the number of records increases from 10 to 500, the impact on s/op is around +9.5% at cache hit rate 75%, which seems acceptable.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/cc @liggitt @enj