Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Anti affinity optimization #66948
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
Special notes for your reviewer:
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
changed the title from
[WIP] Anti affinity optimization
Anti affinity optimization
Aug 3, 2018
I tried running our AntiAffinity scheduler benchmark:
and it seems that this PR in its current form does not improve performance when scheduling 2000 pods with AntiAffinity in a cluster with 5000 nodes. Here are the results when eCache is disabled:
With this PR:
Without this PR:
I found sometime to profile the scheduler with and without the changes in this PR. When we run the BenchmarkSchedulingAntiAffinity without this PR, about 8% of the time is spent in
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing