From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH 0/1] sstate: compress rootfs sstate files
Date: Wed, 23 Feb 2022 10:17:48 +0100 [thread overview]
Message-ID: <20220223091749.17260-1-ubely@ilbers.de> (raw)
Sstate is quite demanding for disk space. And it often causes failures
in CI, related to 'out-of-space'.
Here are results of fast check for the simplest case (bullseye-amd64
with empty IMAGE_INSTALL):
```
$ sudo du -sh build-*
2,5G build-nosstate - sstate OFF
5,3G build-sstate - sstate ON
4,2G build-sstate-gzip - sstate ON + patch
```
We can save about 1GiB (or about 2GiB for cross-builds) per multiconfig
by simple compression of rootfs.tar. Of course, it costs 20..40 seconds
for packing.
One thing looking a bit weird in this case is that sstate-cache itself
compresses cache files, so rootfs.tar.gz will be also be packed.
Uladzimir Bely (1):
sstate: compress rootfs sstate files
meta/classes/rootfs.bbclass | 4 ++--
meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--
2.20.1
next reply other threads:[~2022-02-23 9:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 9:17 Uladzimir Bely [this message]
2022-02-23 9:17 ` [PATCH 1/1] " Uladzimir Bely
2022-02-23 15:43 ` Henning Schild
2022-02-23 15:52 ` Uladzimir Bely
2022-02-23 21:33 ` Henning Schild
2022-02-24 3:55 ` Uladzimir Bely
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=20220223091749.17260-1-ubely@ilbers.de \
--to=ubely@ilbers.de \
--cc=isar-users@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox