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
Schedulung performance - CPU usage #2763
Comments
Do we have an update?? |
This also happens with a 3 manager and 3 worker cluster and about 50 containers inside a single stack. |
we have 3 master and 8 worker nodes, still facing the high cpu usage and the tasks are not being scheduled because of cpu consumption! |
Are you scheduling the tasks on the manager node (are they drained)? |
The experiment was done on AWS: |
And just to validate my doubts, did you drain the managers? (Because by default they also accept tasks). Did you also see the same cpu behaviour on the workers? |
I did a performance test in order to test the scheduling performance of Docker swarm. For this purpose I measured the time it takes to schedule and start 1000 containers on 100 worker nodes. A cluster of 3 Manager nodes is used.
The graphs show the cpu usage of the 3 manager nodes and one worker node during the scheduling process. The time 0 is the time where the scheduling action was started.
In the first graph no service was ever created or scheduled before (Fresh cluster).
In the second graph the experiment was repeated several times before.
While all 1000 containers were scheduled and started in under 2,5 seconds the cpu usage is higher during the scheduling and is still over 150% 60 seconds after the scheduling finished.
What is going on here? Why has the fresh cluster a lower cpu usage?
The text was updated successfully, but these errors were encountered: