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.

OpenVINO CPU usage is very high

Sataki__Mostafa
Beginner
1,145 Views

Hi.

I use OpenVINO R3 and R4 versions .Both versions inference time are low for my tensorflow model but CPU usage is very high(nearly 100%).I use mobilenet model on video with 25 fps and the image dimension is 300*300. How can i reduce CPU usage?

0 Kudos
4 Replies
nikos1
Valued Contributor I
1,145 Views

Hi Mostafa, 

Are you using -d CPU ? Then high CPU load is expected.

You could try using -d GPU or use a Movidius NCS2 or other inference device for lower CPU load.

Cheers,

Nikos

0 Kudos
Sataki__Mostafa
Beginner
1,145 Views
If you attention to my question inference time for each sample is low (5 ms) but CPU usage in WINDOWS is nearly 95%.
0 Kudos
Severine_H_Intel
Employee
1,145 Views

Dear Mostafa, this is normal that the CPU usage is high if you do inference on CPU. Which behavior do you expect from your application? Low CPU usage? 

As Nikos mentioned, if you want to want to not use the CPU for inference, use -d GPU or -d MYRIAD for doing the inference on either GPU or Movidius.

Best, 

Severine 

0 Kudos
Sataki__Mostafa
Beginner
1,145 Views

I solve it by define OMP_NUM_THREADS = 1 envionment variable .

0 Kudos
Reply