Question

CPU usage limited after resized the droplet

I resized my droplet from 8GB to 16GB then CPU usage got limited at 30%. Then resized again to 32GB, and now it’s limited at 15%. Looks like, there is something not resizing as I was expected. How can I increase the CPU usage level?

See the screenshot

PS: the project is laravel with nginx.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
January 14, 2024
Accepted Answer

Hi there,

I noticed that you mentioned a screenshot to illustrate your issue, but unfortunately, the link to the screenshot isn’t available in your message. However, let’s discuss the situation based on the details you’ve provided.

When you upgrade your Droplet, particularly doubling the resources (like moving from 8GB to 16GB, and then to 32GB), it’s important to understand how this impacts CPU utilization. Increasing the amount of CPU means that you have more processing power at your disposal. As a result, the same workload that previously utilized a higher percentage of your CPU may now use a significantly lower percentage. This is because the workload remains constant while the available CPU resources have increased.

For example, if a certain process used 30% of your 4 CPUs on an 8GB setup, after upgrading to a 8 CPUs and 16GB setup (which basically also doubles the CPU resources), the same process will only show around 15% CPU usage. This decrease in percentage doesn’t indicate underperformance or a problem; rather, it reflects the increased efficiency due to more available resources. The CPU isn’t being ‘limited’; it’s just more capable now, so the percentage of use appears lower for the same workload.

This is quite common and is actually a sign that your Droplet is now more capable of handling additional load without maxing out its CPU resources.

In case you have further concerns or specific performance issues, I’d recommend monitoring your application’s overall performance, not just the CPU usage. Tools like DigitalOcean’s monitoring and alerting features can be really helpful here.

Hope that this helps and let me know if you have any questions!

Best,

Bobby

KFSys
Site Moderator
Site Moderator badge
January 16, 2024

Hey @2853b360e335446b8b0cd7754a,

What do you mean by limited at 15%? As mentioned, increasing the CPU amount means that you have more processing power at your disposal. This would mean that if your processes are using the same CPU, the percentages would be lower.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel