~/talk

Why is my build so slow?

Talkat Yocto Project Developer Day 2023 · on Monday, 2023-06-26· [devops-and-delivery]
links:none on file
slides:none on file

Always keep share sstate and downloads on a shared NFS or central server and never throw them away in containers, because rebuilding GCC or Rust from scratch kills time; laptop benchmarks: 1.5k corporate laptop (8 cores/16GB) ~2.5h for Sato, 3k mobile workstation (16/64) ~1h45, 5k workstation (33/64 NVMe) ~27m and second build from sstate ~48s. Use bitbake -g and PM_buildlist to spot unexpected deps, turn off unused distro FEATURES (ptest, X11), use NVMe and >=32GB RAM, and enable hash equivalence and a sstate/hash server to avoid redundant rebuilds.

AI-written summary · about

  1. 0:00Introduction
  2. 0:26Why is my build so slow
  3. 0:52Shared State and Downloads
  4. 2:03Build Machine
  5. 3:35Ghetto Benchmark
  6. 4:01Price
  7. 4:26Mobile Workstation
  8. 4:51Workstation
  9. 5:47Build Machine Wishlist
  10. 7:15Graph is
  11. 8:09Cross compiler
  12. 10:02No display
  13. 10:12Debus
  14. 10:25X11 District
  15. 10:47distro features
  16. 11:48buildstats
  17. 12:38Piboot chart
  18. 13:04Build stats chart
  19. 14:05Autotools
  20. 15:08Gap
  21. 15:47Rust
  22. 17:33Boot Chart
  23. 18:09System Utilization
  24. 19:50Making Bitbakes
  25. 20:37Optimizing Rebuilds
  26. 21:33Hash your equivalence
  27. 21:48Short version
  28. 22:21More complicated version
  29. 22:35Example
  30. 24:48AutoBuilder
  31. 26:08Lockshare
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.