Gentoolto: What vallue of NTHREADS

Created on 31 Jul 2019  路  4Comments  路  Source: InBetweenNames/gentooLTO

How to determine the value for NTHREADS?

Thanks

All 4 comments

cat /proc/cpuinfo | grep processor | wc -l

this will report the number of logical cpus on your machine.

The number of logical CPUs is a good start.

Note that future GCCs will include a -flto=auto option that makes NTHREADS unnecessary -- looking forward to that day!

Thanks. Close.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

javashin picture javashin  路  4Comments

ArniDagur picture ArniDagur  路  9Comments

Peter-Levine picture Peter-Levine  路  15Comments

ElDavoo picture ElDavoo  路  10Comments

ElDavoo picture ElDavoo  路  5Comments