Hi All
We are using Freescale i.MX6Q Soc in our product as a control processor and want to process some specific type of traffic on fast path.
As this SOC is a Quard core so can I run linux kernel on 3 cores and Simple executable(Run to completion) on 4th Core for my fast path data processing.
Any one tried such type of scheme in any of iMX6 product?
Also can I fetch a specific type of network packet directly without traversing Ethernet driver and IP stack on core without LINUX.
Please suggest some workaround if it is not possible.
Thanks in advance
Y Gupta
Hi Yogesh
one can implement this following three steps :
1. Add the parameter isolcpus=[cpu_number] to the Linux kernel command line form the boot loader during
boot. This will instruct the Linux scheduler to no run any regular tasks on that CPU unless specifically
requested using cpu affinity.
2. Use CPU affinity to fix your specific task to the isolated CPU.
3. Use IRQ affinity to set other CPUs to handle all interrupts so that your isolated CPU will not receive any
interrupt. Some useful references:
https://community.freescale.com/thread/301130
https://community.freescale.com/message/604888#604888
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------