... | @@ -1279,7 +1279,7 @@ By default the build system uses all cores on the host. Less parallelism means l |
... | @@ -1279,7 +1279,7 @@ By default the build system uses all cores on the host. Less parallelism means l |
|
To build with only 4 cores:
|
|
To build with only 4 cores:
|
|
` $ time waf -j4 build `
|
|
` $ time waf -j4 build `
|
|
|
|
|
|
On a 12 core host with 16 GB RAM, a parallelism of 8 may be a good choice. Try different numbers of cores and use the output from the time-command (see above) to find an optimum between real, page faults, and cpu.
|
|
As a rough estimate, each waf build task will consume around 2 GB RAM, so on a 12 core host with 16 GB RAM, a parallelism of 8 may be a good choice. Try different numbers of cores and use the output from the time-command (see above) to find an optimum between real, page faults, and cpu.
|
|
|
|
|
|
|
|
|
|
3. Adjust the compiler flags
|
|
3. Adjust the compiler flags
|
... | | ... | |