VOOZH about

URL: https://thenewstack.io/strobelight-metas-ebpf-profiler-framework-for-massive-infra/

⇱ Strobelight: Meta's eBPF Profiler Framework for Massive Infra - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-03-10 07:30:33
Strobelight: Meta's eBPF Profiler Framework for Massive Infra
eBPF / Observability / Open Source

Strobelight: Meta’s eBPF Profiler Framework for Massive Infra

With eBPF, Meta's Strobelight profiler has monitored everything from the tiniest factors to the entire hypercloud. 
Mar 10th, 2025 7:30am by Steven J. Vaughan-Nichols
👁 Featued image for: Strobelight: Meta’s eBPF Profiler Framework for Massive Infra
Feature image via Unsplash.

Imagine, if you will, that you’re in charge of monitoring all of Meta’s massive infrastructure. It’s a scary thought isn’t it? Now, in a groundbreaking development, Meta’s engineering team has successfully leveraged eBPF technology to enhance their fleetwide profiler, Strobelight.

When I say “enhance,” I don’t mean some minute improvement that only a dedicated performance engineer could love. No, I mean a “20% reduction in CPU cycles, equating to a 10-20% reduction in the number of required servers for Meta’s top services.” That’s a serious savings in compute, which equals a serious saving in money.

Strobelight, Meta’s fleetwide profiler framework, is designed to provide comprehensive profiling capabilities across the company’s large-scale infrastructure. It’s made up of multiple subprofilers that collect various types of performance data, including CPU, GPU, and memory profiles. The framework’s number one job is to identify performance bottlenecks and optimize resource utilization across Meta’s fleet of machines.

The key to Strobelight’s recent success lies in integrating eBPF. It enables efficient, low-overhead monitoring and system event tracing directly within the Linux kernel. By leveraging eBPF, Strobelight can now collect performance data with minimal impact on system resources.

To be exact, according to the eBPF Foundation, eBPG enables Meta to track CPU time spent in function calls and execution paths; call stacks for native and non-native languages (e.g., Python, Java, and Erlang); off-CPU time and service request latency analysis; and AI/GPU profiling and memory tracking.

eBPF for the Savings

Besides, saving compute time and cash, the use of eBPF in Strobelight has led to, the eBPF Foundation claims, 15,000 servers’ worth of annual capacity savings from a single one-character code change. Color me impressed. It’s also enables faster debugging and performance analysis. This allows engineers to prevent regressions before they reach production.

With eBPF, Strobelight can now track GPU memory allocations and detect memory leaks more efficiently. According to Riham Selim, a Meta software engineer, eBPG enables at any point of time how memory allocation is happening for each GPU,

Mind you, eBPF isn’t perfect. Selim noted. It lacks visibility into GPU internals; the sheer volume of data can be overwhelming;  and it lacks application-specific understanding. So, for example, you’ll need to add observability code to a PyTorch program rather than relying on eBPF alone.

So, it’s important to understand that Strobelight is far more than just eBPF. According to Meta, “Strobelight is … not a single profiler but an orchestrator of many different profilers (even ad-hoc ones) that runs on all production hosts at Meta, collecting detailed information about CPU usage, memory allocations, and other performance metrics from running processes.”

Indeed, all together Strobe Light has 42 different profilers. Most, but not all of these, are based on eBPF.

Safe Injection of Custom Code

So it is that, eBPF is vital for Strobelight. The Meta engineers note, “eBPF allows the safe injection of custom code into the kernel, which enables very low overhead collection of different types of data and unlocks so many possibilities in the observability space that it’s hard to imagine how Strobe Light would work without it.”

Don’t ask me, how you could do it. I know a thing or two about observability and, without eBPF. I wouldn’t even know where to start. Fortunately, since we have eBPF, we needn’t worry about this.

Want to try it for yourself? You can. Most of StrobeLight was recently open sourced under the Apache 2 License. However, Meta has yet to open source Strobelight’s profilers and libraries. The company promises it will do this since by opening them up they’ll become “more robust and useful.” Be that as it may, there’s already enough open here to make Strobelight worth exploring for anyone that wants to keep a weather eye on massive infrastructure systems.

TRENDING STORIES
Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting-edge PC operating system, 300bps was a fast internet connection, WordStar was the state-of-the-art word processor, and we liked it.
Read more from Steven J. Vaughan-Nichols
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.