Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Will pthreads utilize all cores?
-
I want to ensure I'm taking full advantage of all 6 cores. Will nuttx pthreads be scheduled across all 6 cores?
Thanks!
-
Hey, @Stanton
According to https://developer.sony.com/develop/spresense/docs/sdk_tutorials_en.html#_how_to_build_16
The default setting for feature/smp is dual-core (2-core). If you want to change the number of cores, change the number of SMP_NCPUS=2 in the sdk/configs/feature/smp/defconfig file. You can specify from 2 to maximum 6. -
@CamilaSouza Thank you! This is perfect.
-
@Stanton
Happy to help