public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] sstate: compress rootfs sstate files
@ 2022-02-23  9:17 Uladzimir Bely
  2022-02-23  9:17 ` [PATCH 1/1] " Uladzimir Bely
  0 siblings, 1 reply; 6+ messages in thread
From: Uladzimir Bely @ 2022-02-23  9:17 UTC (permalink / raw)
  To: isar-users

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-24  3:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23  9:17 [PATCH 0/1] sstate: compress rootfs sstate files Uladzimir Bely
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox