How does CPU scheduling work?

Posted July 2, 2012 7.7k views

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers
Each Droplet has a specific number of virtual cores associated with it. Larger Droplet sizes receive more virtual cores. When a physical node is underutilized all Droplets are allowed to spike their CPU utilization to take advantage of available CPU cycles.
How about if all Droplets on a physical node are using a lot of CPU? Is there a minimum guaranteed amount of CPU that my droplet will receive? e.g. assume 4 droplets on a quad-core 1 CPU machine. Will each droplet get at least 1/4, that is, 1 full physical core at a minimum?
God question, but not answered....
The CPU cores are a logical designation which represents how many logical cores you have and determines that amount of parallel processing that your droplet can initiate.

The CPU scheduling is handled by the KVM virtualization engine on the backend of the hypervisor and because it is segmented logically, not physically, it will dynamically allocate more CPU cycles to your droplet when they are available.