sourceware buildbot recommended ccache size >= 10 GB
Dan Horák
dhorak@redhat.com
Mon Jun 29 08:47:35 GMT 2026
Hi Mark,
On Fri, 26 Jun 2026 17:47:52 +0200
Mark Wielaard <mark@klomp.org> wrote:
> Hi Frank,
>
> CCing Dan who maintains two of the machines for us.
let me take a look ...
Dan
> On Fri, 2026-06-26 at 11:01 -0400, Frank Ch. Eigler wrote:
> > We recently started checking ccache stats after each buildbot build,
> > as a part of bunsen collection. These live in the "ccache" metadata
> > field. With a week or so of data, some analysis indicates that those
> > build workers that run multiple large-project builders should have a
> > ccache of 10-15GB to avoid thrashing.
>
> Thanks for this analysis.
>
> > The ones needing it most appear
> > to be:
> >
> > ### 1. **`lfedora1.lf-dev.marist.edu`** (s390x)
> > * **Projects Shared:** `glibc.git`, `binutils-gdb.git`, `elfutils.git`, `valgrind.git`, `gccrs` (GCC Rust)
>
> This one we share with the fedora project and currently has
> .ccache/ccache.conf max_size = 5G and it is low on disk space:
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/Fedora-Root 64G 61G 2.7G 96% /
>
> Besides the 5GB .ccache those shared projects together already use 24G.
> So unless Dan can find us a couple of GBs more disk space there we
> really cannot increase it.
>
> > ### 2. **`rh-power-vm60.fit.vutbr.cz`** (ppc64le)
> > * **Projects Shared:** `glibc.git`, `binutils-gdb.git`, `elfutils.git`, `valgrind.git`
>
> This one calls itself rh-power-vm60 but is really rh-power-vm17.
> This one also has ccache/ccache.conf max_size = 5G
> Filesystem Size Used Avail Use% Mounted on
> /dev/vda2 79G 65G 11G 86% /
> So it has a bit more free space left.
>
> Dan, would it be OK if we allocated another 5GB for ccache?
> (so doubling the size)
>
> > ### 3. **`sourceware-2`** (aarch64)
> > * **Projects Shared:** `gcc.git`, `glibc.git`, `binutils-gdb.git`
>
> This is osuosl-arm64-2
> It uses the default ccache size (also 5GB). But has plenty of disk:
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 315G 34G 269G 12% /
>
> ccache --set-config max_size=10GiB
>
> Cheers,
>
> Mark
>
More information about the Buildbot
mailing list