caffe icon indicating copy to clipboard operation
caffe copied to clipboard

poor alexnet image inference perf at skylake when batchsize is 2, 4, 8

Open moting9 opened this issue 9 years ago • 2 comments

summary

in skylake (28 core/socket, 2.5GHz) platform, with latest mkl version(20170325 build) and latest intel caffe execute cmd: ./build/tools/caffe time -model models/bvlc_alexnet/deploy.prototxt -iterations=200 -engine=MKL2017

batchsize latency(ms) 1 4.31032 2 21.5232 4 21.6148 8 23.5313 16 14.4938 32 21.7228 64 32.2652 128 60.1997

The latency is abnormal when batchsize is 2/4/8, fc layer consumes much time, the issue doesn't occur in BDW platform.

moting9 avatar Mar 29 '17 05:03 moting9

The issue doesn't occur in BDW and KNL, only occur in SKX.

moting9 avatar Mar 31 '17 02:03 moting9

Close it for enhancement.

hshen14 avatar May 22 '17 06:05 hshen14