How to run OpenCV test case with 100% CPU loading on Win7

asked 2015-04-30 00:48:09 -0600

ch_mhy gravatar image

Hi,

I want to check the openCV performance on Win7, but when I ran opencv_test_imgproc, I found the cpu loading is about 40% on win7.

How to let the CPU fully with opencv test case to get the best performance data?

edit retag flag offensive close merge delete

Comments

Thats kind of weird right? It just means that the tests that are there only take up 40% of your load and your system is thus able to tackle at least double the workload... it is impossible to create a test case that will yield exectly 100% load on each system ...

StevenPuttemans gravatar imageStevenPuttemans ( 2015-04-30 02:38:52 -0600 )edit

Hi,

When I tested open_test_imgproc on ARM (Linux), I found the cpu loading is 100%. I wants to do a peer to peer comparision.

ch_mhy gravatar imagech_mhy ( 2015-05-03 21:27:46 -0600 )edit

That is because your ARM needs 100% of its core to be able to do all the operations of the test. Give us both specs of the ARM device and the windows 7 pc and it will all become clear!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-05-04 02:18:49 -0600 )edit

The test (open_test_imgproc) is the standerd test in opencv package. I am using Cortex A15 (linux) and PC with Intel i5 4 cores (win7). For example, PC costs 110ms to run Threshold and the cpu loading is only 40%. I am wondering if CPU loading is 100%, can PC finishs Threshold test within 44ms (110x40%/100%).

ch_mhy gravatar imagech_mhy ( 2015-05-07 00:49:17 -0600 )edit

No because the process cannot be optimized further with the current library than it already is. The only thing you can do is for example run two of these processes in parallel and get 80% of CPU load.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-05-07 04:54:51 -0600 )edit