-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Remove nodeName from predicate signature. #24968
Conversation
On top of my head, I can think of a call to Store.Get()/List() which might be causing contention. |
@hongchaodeng - it's not about contention this time. It's about unnecessary allocating ( and copying) this node name for every predicate function & for every node (which is 6000 in 1000-node cluster). |
LGTM Very nice! I love those rare cases where simplifying something also speeds it up! |
@k8s-bot e2e test this issue: #IGNORE |
@mwielgus - FYI |
Simple rebase after #22985 - reapplying lgtm |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit a51f266. |
Automatic merge from submit-queue |
With this approach, I'm getting the initial throughput (in empty cluster) in 1000-node cluster of ~95pods/s.
Which is ~30% improvement.
@kubernetes/sig-scalability