Frame rate drops and not recovers in i.Mx6 MIPI-CSI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Frame rate drops and not recovers in i.Mx6 MIPI-CSI

639 Views
salihns
Contributor I

Hi,

We are using i.Mx6 QuadPlus Nitrogen Board with Kernel Version 3.14.52. We are using propriety MIPI Camera with our customized driver through MIPI-CSI2 interface. We are setting the resolution as 120x120 and just do continuous streaming via simple bare metal application. Initially we are getting the expected Frame rate of 120fps. We are trying to increase the load, so we compiling some pieces of code with Makefile (make -j4) which enables all the four cores. At that moment, the frame rate is reducing to 38fps and not recover to the actual fps even we stopped the compilation.

Please let me know the reason for the above issue and provide the solution for the same.

Thanks in advance.

Regards,
Salih

Labels (2)
0 Kudos
1 Reply

457 Views
igorpadykov
NXP Employee
NXP Employee

Hi Salih

one can try parameter isolcpus=[cpu_number] in linux kernel command,

this will instruct the linux scheduler to no run any regular tasks on that cpu.

The kernel’s command-line parameters — The Linux Kernel documentation 

Use cpu affinity to fix your specific task to the isolated cpu.

i.mx6 Linux CPU IRQ affinity 


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos