mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 23:35:21 +00:00
This sample showcases efficient utilization of SMP system with processing of independent resource-hungry workloads. With no cross-dependencies between workers and no usage of shared resources (during heavy-lifting itself) we may demonstrate almost linear scaling of efficiency. I.e. 2 cores do the same amount of calculations twice faster than only 1 core. 4 cores complete the same calculations 2 times faster than 2 cores. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
6 lines
106 B
Plaintext
6 lines
106 B
Plaintext
# Allow worker threads to capture all resources
|
|
CONFIG_MAIN_THREAD_PRIORITY=11
|
|
|
|
# Enable SMP
|
|
CONFIG_SMP=y
|