All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Markus Lehtonen <markus.lehtonen@linux.intel.com>,
	bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 0/6] Improve caching task file dependency checksum caching
Date: Fri, 29 Jan 2016 17:09:31 +0000	[thread overview]
Message-ID: <1454087371.10340.73.camel@linuxfoundation.org> (raw)
In-Reply-To: <1453815272-8303-1-git-send-email-markus.lehtonen@linux.intel.com>

On Tue, 2016-01-26 at 15:34 +0200, Markus Lehtonen wrote:
> This patchset improves the caching of task file dependency checksums in two
> ways. First, the patchset enables writing of the cache onto disk so that the
> checksums can be re-used on subsequent runs of bitbake. Previously the task
> signature checksums were calculated and cached in memory but never really
> saved.
> 
> Second, this patchset makes the task file dependency checksum cache file
> configurable. This is intended to be used e.g. with a further patchset for
> oe-core that will utilize task file dependencies heavily.
> 
> [YOCTO #8853]

Before I'd take this, I'd like to understand what this code does with a
large codebase, for example a kernel source tree.

I'd really like some performance measurements for the file counts
involved and the time it takes to stat trees like that. What is the
command overhead in that fairly pathological case?

Would we be better off requiring memory resident bitbake and using
inotify watches for example?

Cheers,

Richard


  parent reply	other threads:[~2016-01-29 17:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-26 13:34 [PATCH 0/6] Improve caching task file dependency checksum caching Markus Lehtonen
2016-01-26 13:34 ` [PATCH 1/6] bb/cache: drop some unused arguments Markus Lehtonen
2016-01-26 13:34 ` [PATCH 2/6] SignatureGenerator: add method for saving the file checksum cache Markus Lehtonen
2016-01-26 13:34 ` [PATCH 3/6] bb/runqueue: save task file dependency cache onto disk Markus Lehtonen
2016-01-26 13:34 ` [PATCH 4/6] FileChecksumCache: add get_checksums() method Markus Lehtonen
2016-01-26 13:34 ` [PATCH 5/6] MultiProcessCache: make cache filename configurable Markus Lehtonen
2016-01-26 13:34 ` [PATCH 6/6] SignatureGeneratorBasic: make checksum cache file configurable Markus Lehtonen
2016-01-29 17:09 ` Richard Purdie [this message]
2016-02-02 16:23   ` [PATCH 0/6] Improve caching task file dependency checksum caching Markus Lehtonen

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=1454087371.10340.73.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=markus.lehtonen@linux.intel.com \
    /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.