Core Affinity: Best Practices
Posted: Thu Apr 04, 2024 2:31 pm
In my ongoing struggle to get the best performance out of the ESP32 family... is there any benefit in pinning tasks that communicate (via any FreeRTOS mechanisms) to the same CPU core or does it not matter? I'm asking because of potential cache locality benefits and similar things I (vaguely) remember from other CPU architectures.
How do you pin your tasks to cores?
How do you pin your tasks to cores?