cloud_controller_ng process only uses 100% cpu


Lyu yun
 

I'm using CF v195, Ruby v2.1.4;

CC VM using 4 core, I found ruby process(in fact is cloud_controller_ng process) can reach 104% cpu usage on average on the 4 cores, but can not reach more higher.

Dose ruby 2.1.4 can parallel threads on multi core?


CF Runtime
 

MRI Ruby is not able to execute threads in parallel. There is a "Global
Interpreter Lock" that prevents Ruby code in multiple threads from
executing at the same time. Threads can still do IO operations, but it will
never be able to use more than ~100% cpu.

Joseph
OSS Release Integration Team

On Fri, Sep 11, 2015 at 1:44 AM, Lyu yun <lvyun(a)huawei.com> wrote:

I'm using CF v195, Ruby v2.1.4;

CC VM using 4 core, I found ruby process(in fact is cloud_controller_ng
process) can reach 104% cpu usage on average on the 4 cores, but can not
reach more higher.

Dose ruby 2.1.4 can parallel threads on multi core?