All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Adrian Bunk" <bunk@stusta.de>
To: Mike Looijmans <mike.looijmans@topic.nl>
Cc: richard.purdie@linuxfoundation.org,
	Mikko Rapeli <mikko.rapeli@bmw.de>,
	ross@burtonini.com, yocto@lists.yoctoproject.org
Subject: Re: [yocto] What are the key factors for yocto build speed?
Date: Thu, 19 Mar 2020 19:21:41 +0200	[thread overview]
Message-ID: <20200319172141.GB29515@localhost> (raw)
In-Reply-To: <8d295b32-e2f9-9d95-f866-1f9061617450@topic.nl>

On Thu, Mar 19, 2020 at 05:07:17PM +0100, Mike Looijmans wrote:
>...
> With both parallelization options
> to "16", I might end up with 16 compile tasks running 16 compile threads
> each, i.e. 256 running processes.
>...

This is a bug:
http://bugzilla.yoctoproject.org/show_bug.cgi?id=13306

I sometimes wonder whether something basic like "no more than one 
compile task at a time" would be sufficient in practice to avoid
overloading all cores.

It would also help with RAM usage, there are some combinations of 
recipes where the build gets aborted by the oom killer on my laptop
(8 cores, 32 GB RAM) when bitbake runs the compile tasks in parallel.

cu
Adrian

  parent reply	other threads:[~2020-03-19 17:21 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 12:52 What are the key factors for yocto build speed? Oliver Westermann
2020-03-18 13:01 ` [yocto] " Mikko Rapeli
2020-03-18 13:29   ` Paul Barker
2020-03-18 14:12     ` Jean-Marie Lemetayer
2020-03-18 14:30       ` Alexander Kanavin
2020-03-18 14:49       ` Adrian Bunk
2020-03-18 15:09         ` Mike Looijmans
2020-03-18 15:51           ` Mikko Rapeli
2020-03-18 17:13             ` <EXT> " Srini
2020-03-18 17:47               ` David Stewart
2020-03-18 18:12                 ` Yann Dirson
2020-03-18 18:15                 ` Srini
2020-03-20 16:32                 ` Philip Balister
2020-03-19  6:27               ` Mike Looijmans
2020-03-21 18:43           ` Oliver Westermann
2020-03-18 14:09 ` [yocto] " Mike Looijmans
2020-03-18 22:56   ` Ross Burton
2020-03-19  8:05     ` Mikko Rapeli
2020-03-19 11:04       ` Richard Purdie
2020-03-19 11:43         ` Mikko Rapeli
2020-03-19 11:48           ` Richard Purdie
2020-03-19 16:07         ` Mike Looijmans
2020-03-19 16:29           ` Yann Dirson
2020-03-19 17:04             ` Richard Purdie
2020-03-19 18:09               ` Yann Dirson
2020-03-19 17:21           ` Adrian Bunk [this message]
2020-03-19 17:26             ` Richard Purdie
2020-03-20 14:58             ` Mike Looijmans
2020-03-20 17:24               ` Adrian Bunk
2020-03-19 18:23           ` Khem Raj
     [not found] ` <15FD6B43E957AFDB.13190@lists.yoctoproject.org>
2020-03-18 14:36   ` Mike Looijmans
2020-03-18 15:38 ` Martin Jansa
2020-03-21 18:39   ` Oliver Westermann
2020-03-21 18:58     ` [yocto] " Martin Jansa

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=20200319172141.GB29515@localhost \
    --to=bunk@stusta.de \
    --cc=mike.looijmans@topic.nl \
    --cc=mikko.rapeli@bmw.de \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=ross@burtonini.com \
    --cc=yocto@lists.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.