Experiencing Slow Build

Just to add:

  • Occasionally, if a native ARM server is unavailable due to load or maintenance, an x86 builder is used with QEMU emulation and this can result in a slower build. (We have a pool of native ARM servers that normally meet the demand for them.)
  • If you suspect that the native ARM servers are getting in the way rather than speeding up your builds, you can force a QEMU emulated build on x86 servers with the commands:
    • git push balena master:balena-emulated
    • balena push ... --emulated
    • balena build ... --emulated
    • balena deploy ... --emulated
  • Prefixing balena commands with DEBUG=1 adds debugging messages to the output logs:
    DEBUG=1 balena push ...