Concurrent processes do not utilize all available CPU
- by metdos
I run some processes on an EC2 cc2.8xlarge instance which has 32 virtual processors.
For some type of processes, when I run 16 processes on parallel, all of them use 100% of CPU cycles. But for other type of processes, they are not using 100% CPU and they finish considerably slower than a single thread.
There is no time spend on IO and all data is served from memory. Do you have any idea about the reason of this problem?