TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

78 点作者 BigRedEye4 个月前
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 条评论

znpy3 个月前
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 个月前
If I&#x27;m understanding correctly, this is collecting LBR data through hardware support for PGO&#x2F;AutoFDO, right?
评论 #42896719 未加载
评论 #42889017 未加载
be-hase3 个月前
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 未加载
eoranged3 个月前
Any plans on grafana integration? It would’ve been great to have an ability to match performance metrics with other app indicators
KingOfCoders4 个月前
<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 未加载