This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TDA2EVM5777
Tool/software: Linux
Hello,
I am running PROCESSOR_SDK_VISION_03_01_00_00 Linux running on the tda2evm5777 and I need to set all linux processes to a single A15 (A15_0), including and in particular, the ethernet driver. This is so I can expect less interrupts from Linux when running my own applications on the second A15 (A15_1)
When I run the taskset command to set the cpu affinity for all of the processes in linux to go on A15_0, some processes do not change cpu affinity.
I have tried isolcpus, but not all processes get changed to be on A15_0.
How can I force all processes to be on A15_0, including the ethernet driver, so I can run my own program,on A15_1 and have those be the only things running in linux on that core?
How can I set the ethernet driver to run only on A15_0?
Hi
bulk of the packet reception and handling runs from interrupt context and bottom-half (softirq) context for networking. For this, you will need to set the interrupt affinity
as in https://www.kernel.org/doc/Documentation/IRQ-affinity.txt
Additionally the end application that generates/consumes the data also may need to be pinned - you can use cpuset to achieve this
https://github.com/lpechacek/cpuset/blob/master/doc/tutorial.txt