Ask Your Question

cmake configuration for maximum performance

asked 2014-08-14 04:06:15 -0600

stfn gravatar image


normally I use the opencv stack comming with ros-hydro. But since I need some gpu implementations right now I downloaded 2.4.9 and compiled the sources on my own. I noticed that the performance of my custom build is fa behind the ros stack. FAST_MATH, WITH_EIGEN, WITH_TBB, WITH_CUDA, WITH_CUBLAS was activated, I built the release configuration. Any ideas what optimization is still missing? Also I tried to find the cmake config the ros stack (apt package: ros-hydro-opencv2) is compiled with but didn't find that much despite the jenkins log.

cheers, stfn

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-14 06:40:49 -0600

Vincent Rabaud gravatar image

Here are the flags used on Hydro:

SSE is probably the one you need to enable. Maybe there are some perf tests you can run to have a global view of your performance.

edit flag offensive delete link more


thanks, running cmake with those options lead to the same performance then. Strangely I activated the very same options with ccmake, resulting in inferior performance. Something was happening there ...

stfn gravatar imagestfn ( 2014-08-20 05:22:11 -0600 )edit

Question Tools


Asked: 2014-08-14 04:06:15 -0600

Seen: 1,366 times

Last updated: Aug 14 '14