8 Core CPU works like single core

I resized my droplet from 512M/1CPU to 16G/8CPU. About 10 hours ago, I run a program that requires large amount of computing, the 8CPUs worked well.

However, when I run another program that also requires large amount of computing, it took the program hours to run while the Graphs shows that only 12.5% of CPU was used.

I checked CPU status by using htop command, it shows that usage of 4th core was 100%, the usage of other 7 cores varies between 0.0% to 1.3%.

Is there anyone can help on this problem?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@mijia The program you’re using must be quite old, since it doesn’t support any type of multi-threading. Would it perhaps be possible for you to split up the data it chunks thru and then run 8 programs at the same time, but each processing it’s own chunk of data?