Question

8 Core CPU works like single core

Posted March 30, 2017 2k views
Python Ubuntu 16.04

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%.

http://imgh.us/htopinfo.png
http://imgh.us/Graphs_cpu.png

Is there anyone can help on this problem?

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.

1 answer

@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?

Submit an Answer