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.

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

nikos1
高評価コントリビューター I
3,083件の閲覧回数

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 件の賞賛
1 解決策
Severine_H_Intel
従業員
3,083件の閲覧回数

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

元の投稿で解決策を見る

5 返答(返信)
nikos1
高評価コントリビューター I
3,082件の閲覧回数

Same issue with SSD

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

 

Severine_H_Intel
従業員
3,084件の閲覧回数

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

nikos1
高評価コントリビューター I
3,082件の閲覧回数

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

export OMP_WAIT_POLICY=PASSIVE
Afrath__Mohamed
ビギナー
3,082件の閲覧回数

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

Afrath__Mohamed
ビギナー
3,082件の閲覧回数

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 

返信