From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Tian, Kevin" <kevin.tian@intel.com>
Cc: poky <poky@yoctoproject.org>
Subject: Re: Performance regression in bitbake and exec() vs fork()
Date: Mon, 20 Dec 2010 13:09:11 +0000 [thread overview]
Message-ID: <1292850551.25087.4341.camel@rex> (raw)
In-Reply-To: <625BA99ED14B2D499DC4E29D8138F1504D5F409BD1@shsmsx502.ccr.corp.intel.com>
On Sat, 2010-12-18 at 08:46 +0800, Tian, Kevin wrote:
> >Mark has some numbers which don't quiet add up with improvements in read
> >and sys but an increase in user too, we're still looking to understand
> >them. I'd like to give the autobuilder a pass over these changes when we
> >have the opportunity and see what that real world performance looks
> >like.
> >
> >Its likely that the speedups will be greatest on machines with small
> >numbers of cores which are primarily cpu bound. The benefits will
> >decrease on disk IO bound systems with large number of cores.
> >
>
> any elaboration on this difference?
The exec overhead occurs in the bitbake worker processes. The more
threads that are available, the more work happens in parallel and the
less this overhead can be "seen" in the overall time profile.
Secondly, the fork overhead is 'CPU' based. If the overall build time is
IO bound and not CPU bound, the less you'll see this overhead on a time
profile.
Cheers,
Richard.
next prev parent reply other threads:[~2010-12-20 13:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 12:56 Performance regression in bitbake and exec() vs fork() Richard Purdie
2010-12-17 22:44 ` Richard Purdie
2010-12-18 0:46 ` Tian, Kevin
2010-12-20 13:09 ` Richard Purdie [this message]
2010-12-20 17:11 ` Richard Purdie
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=1292850551.25087.4341.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=kevin.tian@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.