~/talk

What Backend Engineers Need to Know About CPU Architecture

TalkinRussianat CodeFest 11 · 2021-05-29..05-30· [software-architecture]
links:none on file
slides:none on file

Overview of CPU microarchitecture concepts relevant to backend engineers: cache hierarchy, pipelines, vector (SIMD) instructions, and other on-chip features, including differences between x86 and ARM. Practical guidance on writing code that maximizes CPU efficiency (avoiding long memory stalls and extracting performance) based on decades of experience in performance optimization.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13CPU architecture matters
  3. 5:08CPU speed limits
  4. 6:10How CPUs speed up
  5. 7:33Vectorization in CPUs
  6. 10:00CPU pipeline execution
  7. 14:38Pipeline hazards
  8. 14:59CPU architecture overview
  9. 17:02Memory hierarchy and caches
  10. 19:50Moving data into cache
  11. 21:56Prefetching data
  12. 22:39Memory bus access
  13. 24:05ARM vs Intel
  14. 26:14Matrix multiplication perf
  15. 27:39Maximizing CPU use
  16. 28:02Code patterns to avoid
  17. 29:08Optimizing loops
  18. 30:52Compiler optimizations
  19. 31:36Compiler hints
  20. 32:19Optimized libraries
  21. 32:41Profiling and optimization
  22. 33:24Summary
~/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.