本文介绍了 AI 火焰图(AI Flame Graphs),这是英特尔推出的一款新工具,它将作者的 CPU 火焰图可视化概念扩展到了 AI 加速器和 GPU,能够在单一的低开销视图中同时展示硬件指令剖析数据和完整的 CPU 软件栈。第一版已在英特尔 Tiber AI 云上作为预览版提供,支持英特尔数据中心 GPU Max 系列。该工具基于 EU 停顿剖析(EU stall profiling)和 eBPF 构建,目标是成为一款日常开发工具,有望显著降低 AI 计算成本。作者还解释了为什么 AI 性能剖析远比 CPU 性能剖析困难——加速器程序可能不存在于文件系统甚至主内存中——并讲述了他的小团队历时一年的努力,力求让这款工具易于使用、在生产环境中安全可靠,并得到广泛采用。
Imagine halving the resource costs of AI and what that could mean for the planet and the industry -- based on extreme estimates such savings could reduce the total US power usage by over 10% by 20301. At Intel we've been creating a new analyzer tool to help reduce AI costs called AI Flame Graphs: a visualization that shows an AI accelerator or GPU hardware profile along with the full software stack, based on my CPU flame graphs. Our first version is available to customers in the Intel Tiber AI Cloud as a preview for the Intel Data Center GPU Max Series (previously called Ponte Vecchio). Here is an example:
(Click for interactive SVG.) The green frames are the actual instructions running on the AI or GPU accelerator, aqua shows the source code for these functions, and red (C), yellow (C++), and orange (kernel) show the CPU code paths that initiated these AI/GPU programs. The gray "-" frames just help highlight the boundary between CPU and AI/GPU code. The x-axis is proportional to cost, so you look for the widest things and find ways to reduce them.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要A veteran datacenter performance engineer explains that he joined OpenAI to tackle the staggering costs and environmental impact of AI datacenters, with an initial focus on ChatGPT performance. A turning point came when his hairstylist Mia enthusiastically described how she uses ChatGPT 'twenty-four seven,' revealing to him how the technology had become an everyday essential for ordinary people. After 26 interviews with various AI companies, he chose OpenAI for its talented engineers—including former Netflix colleagues—and now works remotely from Sydney as a Member of Technical Staff.
AI 摘要The author announces their resignation from Intel after 3.5 years to take a new opportunity, highlighting their contributions including AI flame graphs, GPU performance tools, eBPF leadership, and a company-wide cloud strategy with 33 recommendations developed across six organizations. Despite overlapping with Intel's toughest three years and an initial hiring freeze, they fondly recall meeting figures like Linus Torvalds and Pat Gelsinger. They hope their strategy and work will live on at Intel and continue making the company stronger in their absence.
AI 摘要In this personal blog post, Brendan Gregg discusses the emergence of AI performance engineering agents — 'AI Brendans' that interpret flame graphs and eBPF metrics, and 'Virtual Brendans' trained on his extensive publications to mimic him. He argues that such virtual versions capture only a fraction of his expertise (~15%), quickly go out of date, face difficult pricing models (since customers can copy tuning changes fleet-wide or keep changes secret), and raise legal/ethical concerns about training on copyrighted works. He concludes that AI agents are genuinely needed as performance engineering grows harder and AI datacenters raise the stakes, wishing success to projects that 'claim a lot and do a lot' rather than quick-buck products.
AI 摘要The author, who was hired by Intel as a Fellow largely because of the impactful feedback he gave as a customer in vendor meetings, argues that customers can accomplish a great deal by providing firm, constructive, and brutally honest technical criticism, especially to Intel under its new CEO Lip-Bu Tan. He offers practical advice: prepare before meetings, ensure feedback is documented in minutes without being watered down, avoid intellectual property transfer agreements, decline freeloading questions, request staff or project bans when time is wasted, and escalate concerns to the executive leadership team or CEO with a documented timeline. He acknowledges that giving brutal feedback requires significant effort and courage, but insists it is the only way to genuinely help both the vendor and your own company.
AI 摘要The author compares achieving real-world hardware performance to a three-stage rocket: hardware, software, and tuning are all required to reach the highest, most competitive performance. He argues that hardware evaluations considering hardware alone are misleading, and that accurate comparisons require selecting the best software for each hardware option and then tuning it. Tuning—what he calls third-stage engineering—consists of roughly four parts: people, training, tools, and tuning capabilities.