how to make full use of the cpu when running a multithreaded program on multi core

14 views
Skip to first unread message

blackli...@gmail.com

unread,
Dec 3, 2016, 6:08:38 AM12/3/16
to Caffe Users
I am testing the recognition speed with caffe on the ubuntu .there is the result.
computer or servertypeall timeaverage
i5 4core, 4 threads, 3.2ghzSingle thread, 100 pictures36.5s365ms
i5 4core, 4 threads, 3.2ghzSingle thread, 1000 pictures305.0s305ms
i5 4core, 4 threads, 3.2ghz5 threads, 100 pictures/threads77s154ms
i5 4core, 4 threads, 3.2ghz5 threads, 100 pictures/threads155.8s156ms
E2650, 20-core 40threads, 2.3ghz(server)Single thread, 100 pictures195.0s2000ms
E2650, 20-core 40threads, 2.3ghz(server)Single thread, 1000 picturestoo long
E2650, 20-core 40threads, 2.3ghz(server)10 threads,100 pictures/threads1132s1132ms

Whether because the Multi core task scheduling is not good enough?if so ,what should I do to make this more  effective. 
Reply all
Reply to author
Forward
0 new messages