All of lore.kernel.org
 help / color / mirror / Atom feed
* ref manual, 2.5, "Speeding Up the Build, " seems a bit confusing
@ 2015-01-10 13:46 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2015-01-10 13:46 UTC (permalink / raw)
  To: Yocto discussion list


  from that section:

"If you need to achieve even faster builds than what the build system
produces by default, you can consider and implement some of the
following:

  * BB_NUMBER_THREADS, BB_NUMBER_PARSE_THREADS, and PARALLEL_MAKE: As
previously mentioned, the build system scales the values for these
variables. However, you can manually override them in your local.conf
file if you are not satisfied with the defaults."

  but, as i read it from bitbake.conf and bitbake's cooker.py, all
three of those values are already calculated to max out on whatever
dev host is being used:

self.num_processes = int(self.cfgdata.getVar("BB_NUMBER_PARSE_THREADS", True) or
          multiprocessing.cpu_count())

# Default to setting automatically based on cpu count
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

# Default to setting automatically based on cpu count
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"

  so given these dev host-based calculations, how exactly would the
developer manually set them to get even *better* performance? or am i
misreading something?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-10 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-10 13:46 ref manual, 2.5, "Speeding Up the Build, " seems a bit confusing Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.