As title,
I have a 7950X3D CPU,
Is it possible to say platformio to use all my CPUs during compiling?
During compiling it uses 16 threads, I would like to try with 32 threads…
is it possible to change this ?
thanks
As title,
I have a 7950X3D CPU,
Is it possible to say platformio to use all my CPUs during compiling?
During compiling it uses 16 threads, I would like to try with 32 threads…
is it possible to change this ?
thanks
it seems that same code uses 100% of my CPU threads while compiling for ESP8266
but it uses only 16 threads when compiling on ESP32… weird…
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.
is it pio run -j32
or pio run -j 32
?
I cant seem to make either have any effect (as measured by build time - i cant see it saying how many threads its using even in verbose mode, have I missed it?
pio run -j1
takes the same time as pio run -j16
How can I prove whats going on?
Thanks