All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Joshua Lock <josh@linux.intel.com>
Cc: poky@yoctoproject.org
Subject: Re: [RFC PATCH 1/1] local.conf.sample: update suggestions for	BB_NUMBER_THREADS and PARALLEL_MAKE
Date: Fri, 17 Jun 2011 20:21:16 -0700	[thread overview]
Message-ID: <4DFC19AC.2010002@linux.intel.com> (raw)
In-Reply-To: <85e22915241def8ef365762345942443c0828025.1308366864.git.josh@linux.intel.com>



On 06/17/2011 08:16 PM, Joshua Lock wrote:
> It's been suggested that BB_NUMBER_THREADS should be 2 * the number of cores
> and PARALLEL_MAKE should be equal to the number of cores available on the
> build machine.
> 
> Update local.conf.sample to suggest this.
> 
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  meta-yocto/conf/local.conf.sample |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
> index ea32b81..43d06e6 100644
> --- a/meta-yocto/conf/local.conf.sample
> +++ b/meta-yocto/conf/local.conf.sample
> @@ -9,7 +9,9 @@ CONF_VERSION = "1"
>  #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
>  
>  # Uncomment and set to allow bitbake to execute multiple tasks at once.
> -# For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
> +# Recommended values are twice the number of processor cores for
> +# BB_NUMBER_THREADS and the number of processor cores for PARALLEL_MAKE
> +# For a quadcore, BB_NUMBER_THREADS = "8", PARALLEL_MAKE = "-j 4" would

Hrm, where is this coming from? In my experience it works better the
other way around. We probably also need to be explicit about cores
versus threads.


>  # be appropriate.
>  # BB_NUMBER_THREADS = "4"
>  # Also, make can be passed flags so it run parallel threads e.g.:

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  reply	other threads:[~2011-06-18  3:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-18  3:16 [RFC PATCH 0/1] Update suggestion of values for BB_NUMBER_THREADS and PARALLEL_MAKE Joshua Lock
2011-06-18  3:16 ` [RFC PATCH 1/1] local.conf.sample: update suggestions " Joshua Lock
2011-06-18  3:21   ` Darren Hart [this message]
2011-06-18  5:39     ` Darren Hart
2011-06-20 22:57     ` Tom Rini
2011-06-21 21:14       ` Darren Hart
2011-06-27 20:47         ` Darren Hart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DFC19AC.2010002@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=josh@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.