- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Yoshiaki,
use the following line before calling your program:
export OMP_NUM_THREADS=1
Best,
Severine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Severine,
It works and I find CPU usage becomes low as expected.
Thank you very much for your comment.
Best regards,
Imai
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page