PlatformIO invokes SCons with --jobs
(number of jobs to start) with the CPU count by default.
As you can see, the pio
command exposes this option via the CLI too, so if you do
pio run -j32
it will pass that number on to SCons which is then supposed to start 32 jobs in parallel.