caffe icon indicating copy to clipboard operation
caffe copied to clipboard

How to set the number of processes in intel caffe

Open sysuxiaoming opened this issue 6 years ago • 2 comments

Hi all!

I experiment the intel caffe in my machine which cpu has 12 core, but i found that the utilization rate of cpu is only 600%.

I want to Maximize the use of cpu. how to set the number of processes in intel caffe?

sysuxiaoming avatar Apr 10 '19 14:04 sysuxiaoming

are you sure that? intelcaffe allocate thread number according to phyical core number if no OPNEMP env variable setting.

pls be aware of the difference between physical core and logical core. and pinning each thread to physical core is our recommendation for best perf.

ftian1 avatar Apr 11 '19 05:04 ftian1

Hi ftian,thanks for your reply. I indeed mistook the logical core to physical core. I check my machine, its physical core number is 6, so the utilization rate of cpu is 600% is normal.

sysuxiaoming avatar Apr 11 '19 07:04 sysuxiaoming