AnsweredAssumed Answered

P4080DS: High CPU Usage by C++ application

Question asked by Sharath Chandra on Jun 3, 2015
Latest reply on Jun 5, 2015 by Sharath Chandra

Hi,

 

I am using a P4080DS board for my C++ application. The application uses a lot of malloc and free.

From the Oprofiles report, we got to know that these memory allocation/creations and other memory related operations like memcpy, memset are taking a lot of CPU.

This drastically reduces the performance of the application.

 

I tried with optimizing the GCC including with -O3 optimization and certain flags while building SDK and tried to use it to compile my application.

This also did not give much improvement in the application.

 

Could anyone suggest on how to decrease the CPU load?

Any other suggestions, by which we can improve the performance like any libraries need to be optimized, or any configurations to be done?

 

Thanks,

Sharath Chandra

Outcomes