Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

MKLDNN in R4 cannot max all CPU cores (50% CPU utilization)

nikos1
Valued Contributor I
834 Views

When testing YOLO3 I can only utilize 50% of the CPU cores on a i7-8700K CPU ( Ubuntu 16.04 LTS linux kernel 4.15.0-33-generic )

./object_detection_demo_yolov3_async -i test.mp4 -m fp32/yolo_v3.xml -d CPU
0 Kudos
1 Solution
Severine_H_Intel
Employee
834 Views

Dear Nikos,

I could reproduce your issue. You need to run the following command before calling your code: export OMP_WAIT_POLICY=PASSIVE

And OpenMP will use all the cores when running the code. 

Best, 

Severine

View solution in original post

0 Kudos
5 Replies
nikos1
Valued Contributor I
833 Views

Same issue with SSD

./object_detection_demo_ssd_async -i test.mp4  -m SSD_fp32.xml  -d CPU

 

0 Kudos
Severine_H_Intel
Employee
835 Views

Dear Nikos,

I could reproduce your issue. You need to run the following command before calling your code: export OMP_WAIT_POLICY=PASSIVE

And OpenMP will use all the cores when running the code. 

Best, 

Severine

0 Kudos
nikos1
Valued Contributor I
833 Views

Thank you Severine, the following worked, fps still remain the same though.

export OMP_WAIT_POLICY=PASSIVE
0 Kudos
Afrath__Mohamed
Beginner
833 Views

Hi Nikos, i would like to convert yolov3 daraknet weights to openvino ir format using model optimizer? can you give you model optimizer command options for the same? or the procedure that you used for  "fp32/yolo_v3.xml" ?

0 Kudos
Afrath__Mohamed
Beginner
833 Views

Hi Severine, i face the same low fps issue with openvino R4 release. Where R3 release was faster. After migrated to R4 release the fps dropped by half. Even tried export OMP_WAIT_POLICY=PASSIVE command, there is minimal increase, while running inference my CPU loaded  upto 89%(4 cores).

My PC configurarion:

Model : Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz

OS: Linux 4.10.0-28-generic 16.04.2-Ubuntu 

0 Kudos
Reply