Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Imai__Yoshiaki
Beginner
122 Views

CPU 1 thread operation

Hello,

I'm using OpenVINO R4 on the server with Gold5115 CPU (10 cores/20 threads) x2 (two way server).

I want to compare the performance between CPU (one thread), FPGA, and Myriad.

 

However, If I start some inference sample program, such as face detection,

20 logical processors #1~#20 usages are almost 100%.

(Others are almost 0%.)

 

I'd like to use only one thread to check and compare performance.

Could you teach me how to limit the threads number of CPU in OpenVINO?

 

 

0 Kudos
2 Replies
Severine_H_Intel
Employee
122 Views

Dear Yoshiaki,

use the following line before calling your program:

export OMP_NUM_THREADS=1

Best, 

Severine

Imai__Yoshiaki1
Beginner
122 Views

Dear Severine,

It works and I find CPU usage becomes low as expected.

Thank you very much for your comment.

Best regards,

Imai

 

 

Reply