Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Joe Slater <joe.slater@windriver.com>,
	 "'openembedded-core@lists.openembedded.org'"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] cleansstate
Date: Fri, 21 Aug 2020 16:14:07 +0100	[thread overview]
Message-ID: <92644e498d7a7ab6cbd2dba763d7c0900309c31b.camel@linuxfoundation.org> (raw)
In-Reply-To: <BY5PR11MB3992C1180C5A53CCD612FD47885D0@BY5PR11MB3992.namprd11.prod.outlook.com>

On Wed, 2020-08-19 at 23:28 +0000, Joe Slater wrote:
> This might be specific to the distro I am typically using (take a
> guess) but I notice that cleansstate usually pauses at the 33% mark
> for a significant amount of time.  I don’t think this used to be
> quite as bad as it is now, but it is hard to remember.  Just an
> observation that someone might be able to confirm/deny/explain.

sstateclean iterates through all the sstate directories globbing for
potential things to remove. If your sstate cache is large or remote
(e.g. NFS), this will be slow.

Note it doesn't remove just the current hash but any sstate for the
given recipe.

In normal use you should never be needing sstateclean.

Cheers,

Richard


  reply	other threads:[~2020-08-21 15:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 23:28 cleansstate Joe Slater
2020-08-21 15:14 ` Richard Purdie [this message]
2020-08-22  0:32   ` [OE-core] cleansstate tom king
2020-08-22  7:27     ` Richard Purdie
2020-08-24 18:13       ` Joe Slater
2020-08-24 21:05       ` Rasmus Villemoes
2020-08-24 21:08         ` Richard Purdie
2020-08-25  6:18           ` Rasmus Villemoes

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=92644e498d7a7ab6cbd2dba763d7c0900309c31b.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=joe.slater@windriver.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox