Question

Why is my new scaled droplet (16GB RAM - 8 vCPUs) is 4 times slower than the old one?

Why is my new scaled droplet (16GB RAM - 8 vCPUs) is 4 times slower than the old one?


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
May 28, 2024

Hi there,

In general, scaling up your Droplet should generally result in better performance. However in some cases, right after a restart of your server, all of the cache would have been cleared, which could result in a temporary poor performance while all the cache rebuilds.

Can you share here a bit more insights on the following:

  • How exactly are you measuring the performance?
  • What is your exact resource utilization? Sometimes the bottleneck could be the application itself rather than the size of the server.
  • What is your exact tech stack? In most cases, it could be just a matter of tweaking a specific service, like MySQL for example.
  • Is your new Droplet in the same region as the old one?
  • Is your new Droplet is on a shared CPU plan compared to a dedicated CPU plan of your old droplet?

The more information that you could share the better.

But in general, I would recommend checking your resource utilization and see what processes are utilizing the most resources:

https://www.digitalocean.com/community/questions/how-to-find-the-processes-that-are-consuming-the-most-server-resources

That way you could pin point if the problem is caused by a specific process or service.

Also, if you are using MySQL follow the steps here on how to tweak it for better performance:

https://www.digitalocean.com/community/questions/how-to-tweak-mysql-mariadb-configuration-for-increased-performance-and-stability

- Bobby

alexdo
Site Moderator
Site Moderator badge
May 31, 2024

Heya, @56bd8300516443db8f6e925c6721b4

Whenever you upgrade the droplet the performance should usually improve, in case there is a slower response or poor performance you can look into tweaking the configuration of certain service that causes load or is consuming large amount of the droplet’s resources.

Looking at the provided output from the htop command Bobby is correct about the MySQL configuration and indeed needs a tweak or two to improve the performance. Using tools like MySQL Tunner can help you to adjust the MySQL values to resolve the issue here.

A similar conversation was discussed here:

https://www.digitalocean.com/community/questions/how-to-tweak-mysql-mariadb-configuration-for-increased-performance-and-stability

Hope that this helps!

KFSys
Site Moderator
Site Moderator badge
May 28, 2024

Heya @56bd8300516443db8f6e925c6721b4,

How is it slower? Is your website slower or generally your Droplet is experiencing high load?

Usually, when the Website is slower there is a need of mix of optimizations - Server Side and Application Wide. If you provide more specifics on how are you measuring it, in what regards are you seeing it being slower, I can provide with a more pinpoint answer on how to approach and resolve this.

Try DigitalOcean for free

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

Sign up

Featured on Community

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