All of lore.kernel.org
 help / color / mirror / Atom feed
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 17:11:53 +0000	[thread overview]
Message-ID: <1292865113.25087.4797.camel@rex> (raw)
In-Reply-To: <1292850551.25087.4341.camel@rex>

Some further numbers:

with exec():

real 71m56.105s
user 209m28.120s
sys 26m16.440s

with fork():

real 66m57.744s
user 183m29.730s
sys 20m37.100s

real 69m48.796s
user 180m57.800s
sys 20m39.620s

for the same workload.

So it looks like some speedup but not as significant as we'd perhaps
have hoped. Statistical fluctuations mean that the real gain is going to
be hard to measure, I could make more timing runs but I'm not sure that
would be that useful. Some of the speedup above could be some of the
improvements made to pseudo too.

Bottom line is the task execution is demonstrably faster though as my
other tests showed :)

Cheers,

Richard



      reply	other threads:[~2010-12-20 17:12 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
2010-12-20 17:11       ` Richard Purdie [this message]

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=1292865113.25087.4797.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.