memory and swap on the buildds

Asked by Matthias Klose on 2020-12-09

noticed that we have different (and somehow low) memory and swap configurations on the buildds

amd64, i386: 8G RAM, 4G swap
arm64, armhf, ppc64el: 8G RAM, no swap
s390x: 16G RAM, no swap

I'm currently not able to build a GCC with pgo and lto optimizations enabled, also we had some build failures in the hirsute cycle which might be OOM killers (no build log, so we don't know for sure).

Please could we configure the buildds in a way that they have 16G of space (8G RAM, 8G swap)? Looking at the Debian buildds, these are usually configured with a lot more of swap space, some of them having 8G RAM as well.

Question information

English Edit question
Launchpad itself Edit question
Colin Watson Edit question
Last query:
Last reply:
Revision history for this message
Matthias Klose (doko) said :

riscv64: 16G RAM, no swap

Revision history for this message
Launchpad Janitor (janitor) said :

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Matthias Klose (doko) said :


Revision history for this message
Colin Watson (cjwatson) said :

Your findings about s390x don't agree with what I found when I went looking: shows "SwapTotal: 4194300 kB". So that's at least consistent with what the current configuration is supposed to be on all architectures.

The arm64/armhf/ppc64el behaviour is interesting. The configured nova flavour is correct, but inspecting the situation on a staging builder, it looks as though cloud-init is being told that the root and swap disks are the wrong way round (/dev/vda and /dev/vdb respectively, when they actually appear to be the other way round). Fixing that is going to require some digging - I suspect OpenStack is configured slightly wrongly, but I'm not sure exactly how.

Once we get this fixed, changing the vbuilder flavour on each region to specify 8G swap should be easy enough.

Revision history for this message
Colin Watson (cjwatson) said :

I've filed for the missing-swap part of this.

Can you help with this problem?

Provide an answer of your own, or ask Matthias Klose for more information if necessary.

To post a message you must log in.