From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: PARALLEL_MAKE
Date: Tue, 17 Mar 2009 16:06:53 -0400 [thread overview]
Message-ID: <20090317200653.GD15734@denix.org> (raw)
In-Reply-To: <9B414415A7024345895304717D1B3CCF@aeglos>
On Tue, Mar 17, 2009 at 05:28:27PM +0100, Ulf Samuelsson wrote:
>> Yes, I know,
>> Maybe it is a good idea if the result of a build is published somewhere,
>> so that others do not have to go through this process.
>>
>> Right now, openembedded does not even build for me,
>> since the native perl build fails :-(
>>
>>> [1] http://en.wikipedia.org/wiki/Hyper-threading
>
> I now managed to build the Angstrom image for the AT91SAM9263 by applying
> a few fixes present in the ulf/linux branch.
> (Did not load on H/W yet though)
>
> perl-native was "fixed" by not building the library which crashed.
> libtheora was fixd, not to use docs/examples.
> busybox updated to 1.13.3
Any specific changes between 1.13.2 and 1.13.3 you need? Would be nice to
cherry-pick into .dev branch...
> u-boot, gpsd was set to PARALLEL_MAKE = ""
> u-boot updated to 2009.01
> linux-2.6.28
> at91bootstrap-2.10
>
> Building with PARALLEL_MAKE & Multiple threads was not smooth.
> The build crashed several times, due to erros
> caused by parallellism. "gettext", "gpsd" and "u-boot" were culprits.
Would be nice to fix those. Tom Rini was working on fixing some of those
issues.
> u-boot is NOT built cleanly, even after PARALLEL_MAKE was set to "".
> The actual compile completes and generates an u-boot.bin
> but this is not deployed to the result directory.
> There are logs for different stages, but after the compile, they exist, but
> are empty.
>
> If I remove all the stamps and "bitbake -b <u-boot>" afterwards
> then the build completes correctly, and there is an
> u-boot-at91sam9263ek.bin
> in the result directory.
>
> Can it be so, that a stage is started, before the previous stage has been
> completed???
If there are no dependencies between packages, their stage tasks can run in
parallel.
> ---------------------
> BTW: The total buildtime was around 2 hours. There is some overhead
> since the build was restarted 3-4 times, and local.conf was changed once.
> I started the build with PARALLEL_MAKE = "-j2" and BB_NUMBER_THREADS=8.
>
> I noticed that having a lot of threads helps most of the time,
> since the CPUs were executing at max frequency.
>
> When the cross compiler, was built,it was different,
> most of the cores were not used with this configuration.
> 2-3 max while compiling gcc.
Since gcc/cross is quite a big package and lots of other packages depend on
it, it is being built for you only using 2 cores, as specified by
PARALLEL_MAKE. Everything else is waiting for it to finish.
> Maybe the best approach is to build the Angstrom in several stages
> with different settings for parallelism.
--
Denys
next prev parent reply other threads:[~2009-03-17 20:07 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-12 23:32 PARALLEL_MAKE Ulf Samuelsson
2009-03-13 0:23 ` PARALLEL_MAKE Mike (mwester)
2009-03-13 1:38 ` PARALLEL_MAKE Khem Raj
2009-03-13 3:49 ` PARALLEL_MAKE Denys Dmytriyenko
2009-03-13 6:05 ` PARALLEL_MAKE Tom Rini
2009-03-13 14:19 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-13 14:56 ` PARALLEL_MAKE Denys Dmytriyenko
2009-03-13 15:27 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-13 16:07 ` PARALLEL_MAKE Denys Dmytriyenko
2009-03-13 16:20 ` PARALLEL_MAKE Frans Meulenbroeks
2009-03-13 16:57 ` PARALLEL_MAKE Tom Rini
2009-03-14 10:29 ` PARALLEL_MAKE Frans Meulenbroeks
2009-03-14 17:42 ` PARALLEL_MAKE Tom Rini
2009-03-16 9:24 ` PARALLEL_MAKE Richard Purdie
2009-03-13 17:18 ` PARALLEL_MAKE Richard Purdie
2009-03-13 17:48 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-17 16:28 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-17 20:06 ` Denys Dmytriyenko [this message]
2009-03-18 5:31 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-17 21:11 ` PARALLEL_MAKE Tom Rini
2009-03-18 5:39 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-13 17:14 ` PARALLEL_MAKE Richard Purdie
2009-03-13 17:12 ` PARALLEL_MAKE Richard Purdie
2009-03-13 12:47 ` PARALLEL_MAKE Marcin Juszkiewicz
2009-03-13 13:00 ` PARALLEL_MAKE Philip Balister
2009-03-13 13:07 ` PARALLEL_MAKE Sledz, Steffen
2009-03-13 14:19 ` PARALLEL_MAKE Ulf Samuelsson
2009-03-13 15:04 ` PARALLEL_MAKE Denys Dmytriyenko
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=20090317200653.GD15734@denix.org \
--to=denis@denix.org \
--cc=openembedded-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.