~/talk

Profiling and optimizing a Spark job with Babar #bbuzz

Talkat Berlin Buzzwords 2018 · 2018-06-11..06-13· [data-engineering]
links:none on file
slides:none on file

Criteo’s open‑source profiler Babar attaches a jar to executor JVMs, samples stacks and OS metrics, and emits an HTML report with six tabs and flame graphs showing CPU hotspots across all executors. On a cluster reading ~15 PB/day with >4,000 nodes (~100k cores), Babar finds shuffle serialization and Spark’s object size estimation costing 18–30% CPU and shows heap 200 GB vs physical 300 GB; switching to specialized serializers yields about a 40% CPU gain. Babar works for pre‑production tuning; it adds a few percent CPU and tens of MB memory.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why Spark
  3. 1:44Problems with Spark
  4. 2:36Why Babar
  5. 4:07Architecture
  6. 5:43Frame graphs
  7. 8:10Shuffle stage
  8. 10:43Memory allocation
  9. 12:16Memory tuning
  10. 14:50Conclusion
~/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.