From: Martin Jansa <martin.jansa@gmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 2/2] runqueue: Introduce load balanced task spawning
Date: Tue, 14 Aug 2018 03:11:19 +0200 [thread overview]
Message-ID: <20180814011119.GA1391@jama> (raw)
In-Reply-To: <CANNYZj-3OQ7gPEop3OcDL5bnv3x9Q=DmEFCYi4-K7B3Xqp5v0Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]
On Mon, Aug 13, 2018 at 11:20:50PM +0200, Alexander Kanavin wrote:
> 2018-08-13 23:04 GMT+02:00 Andreas Müller <schnitzeltony@gmail.com>:
> > To get most out of build host, bitbake now detects if the CPU workload is low.
> > If so, additional tasks are spawned. Maximum 'dynamic' tasks are set by
> > BB_NUMBER_THREADS_LOW_CPU.
>
> So the best improvement is going from 114.5 minutes to 113.5 minutes?
> I don't think it's worth the trouble. Maybe it's time to invest in 16
> (or even 32!) core amd threadripper? :)
IMHO the best improvement was for 3 BB_NUMBER_THREADS and possibly even
bigger improvement for 2 BB_NUMBER_THREADS.
> 2 | 156m48.741s
> ------------------------------------
> 3 | 126m27.426s
> ------------------------------------
...
> With the patch applied and BB_NUMBER_THREADS_LOW_CPU = "20" (as
> written in docs
> for max thread count)
>
> BB_NUMBER_THREADS | Build time [s]
> ------------------------------------
> 3 | 114m48.105s
I'm running with 2 BB_NUMBER_THREADS on similar HW (8core Bulldozer
FX(tm)-8120, 32GB ram), because it leaves the desktop usable for other
stuff while some build is running on background.
With 4 BB_NUMBER_THREADS, big build and a bit of bad luck I was getting
4 do_compile tasks like qtbase, chromium, firefox and gimp at the same
time which either makes me drink too much coffee or even invites uncle
OOMK.
I quite like the idea behind BB_NUMBER_THREADS_LOW_CPU.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
next prev parent reply other threads:[~2018-08-14 1:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-13 21:04 [PATCH 0/2] Spawn extra tasks at low CPU worload Andreas Müller
2018-08-13 21:04 ` [PATCH 1/2] runqueue: Move decision if a task can be started to one common place Andreas Müller
2018-08-15 8:37 ` Richard Purdie
2018-08-15 8:43 ` Andreas Müller
2018-08-13 21:04 ` [PATCH 2/2] runqueue: Introduce load balanced task spawning Andreas Müller
2018-08-13 21:20 ` Alexander Kanavin
2018-08-13 21:30 ` Andreas Müller
2018-08-13 22:37 ` Andre McCurdy
2018-08-14 0:11 ` Andreas Müller
2018-08-14 1:01 ` Andre McCurdy
2018-08-14 9:05 ` Andreas Müller
2018-08-14 9:18 ` Alexander Kanavin
2018-08-14 1:11 ` Martin Jansa [this message]
2018-08-14 6:32 ` Mikko.Rapeli
2018-08-14 7:57 ` Andreas Müller
2018-08-14 8:07 ` Alexander Kanavin
2018-08-14 9:43 ` Richard Purdie
2018-08-14 9:45 ` Richard Purdie
2018-08-14 10:28 ` Peter Kjellerstedt
2018-08-14 10:43 ` Andreas Müller
2018-08-14 11:07 ` Alexander Kanavin
2018-08-14 11:03 ` Alexander Kanavin
2018-08-15 12:43 ` Alexander Kanavin
2018-08-15 15:01 ` Andreas Müller
2018-08-15 16:26 ` Alexander Kanavin
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=20180814011119.GA1391@jama \
--to=martin.jansa@gmail.com \
--cc=alex.kanavin@gmail.com \
--cc=bitbake-devel@lists.openembedded.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.