TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Perforator – cluster-wide profiling tool for large data centers

78 pointsby BigRedEye4 months ago
Hey HN! We are happy to share Perforator – our internal cluster-wide profiler with great support for native languages and a built-in AutoFDO pipeline to simplify sPGO builds. Perforator allows you to profile most binaries without having to recompile or adjust the build process. We use it at Yandex to profile each pod inside a large cluster at modest speed (99Hz), collecting petabytes of profiles every day.<p>There&#x27;s a blog post about it at <a href="https:&#x2F;&#x2F;medium.com&#x2F;yandex&#x2F;yandexs-high-performance-profiler-is-now-open-source-95e291df9d18" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;yandex&#x2F;yandexs-high-performance-profiler-...</a>.<p>Inspired by Google-Wide Profiling, we started continuous profiling years ago with simple tools like poormansprofiler.org. With the rise of eBPF, we came up with a simple and elegant solution providing detailed profiles without noticeable overhead. Pretty wild when you can see the guts of your production binaries in a flamegraph without them even noticing.<p>Some technical details:<p>- Our main contribution is infrastructure for continuous PGO using AutoFDO. Google and Meta have done tremendous work on building PGO infrastructure, and we made the last missing piece of the puzzle to make this work well and scalable.<p>- Native binaries are profiled through eh_frame analysis, interpreted&#x2F;JIT-compiled languages are profiled through perf-pid.map or hardcoded structure offsets.<p>- We render profiles in multiple ways, the most common one is a fast implementation of FlameGraphs, rendering 1M frames in 100ms.<p>- We provide Helm charts to easily deploy Perforator on your k8s cluster.<p>- You can use Perforator in standalone mode as a replacement for perf record.<p>I&#x27;d love to answer your questions about the tool!

5 comments

znpy4 months ago
I just learned about poormansprofiler (<a href="https:&#x2F;&#x2F;poormansprofiler.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;poormansprofiler.org&#x2F;</a>): it&#x27;s brilliant in its simplicity.
brancz4 months ago
If I&#x27;m understanding correctly, this is collecting LBR data through hardware support for PGO&#x2F;AutoFDO, right?
评论 #42896719 未加载
评论 #42889017 未加载
be-hase4 months ago
I&#x27;m curious about the differences from Pyroscope. <a href="https:&#x2F;&#x2F;github.com&#x2F;grafana&#x2F;pyroscope">https:&#x2F;&#x2F;github.com&#x2F;grafana&#x2F;pyroscope</a>
评论 #42916196 未加载
eoranged4 months ago
Any plans on grafana integration? It would’ve been great to have an ability to match performance metrics with other app indicators
KingOfCoders4 months ago
<p><pre><code> You don&#x27;t have to wait for later, here&#x27;s a new eliminator Ask your local weapon trader for the superperforator</code></pre>
评论 #42906760 未加载