~/talk

"Logs Told Us It Was Kernel – It Wasn't"

Talkat SREcon24 Americas · 2024-03-18..03-20· [linux-and-operating-systems]
links:none on file
slides:none on file

Investigation shows a 30% slowdown on a tiny loop and a clock_gettime jump from 17ns to 47ns that falls back to 23ns after boot-parameter fixes; root causes include hundreds of cgroups, a changed memcpy implementation in gpsy/JPC vs GPC, and poor instruction-cache alignment created by GCC 8.5 code layout. Tools used: Intel VTune, disassembly, register hints, adding nops to align loops, and profile‑guided compilation; practical fixes are reducing cgroups, switching memcpy tunables, and using compiler flags like -falign-functions or PGO.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18Case studies of performance
  3. 4:15Methodology and CPU concepts
  4. 6:20Memory architecture analysis
  5. 10:13Profiling and code optimization
  6. 15:34Cache alignment investigation
  7. 21:03Compiler optimization flags
  8. 25:21Profile guided optimization
  9. 28:08Conclusion and best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.