<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Linux 性能分析 - 系列 - Victor's Code Journey</title><link>http://www.victorchu.info/series/linux-%E6%80%A7%E8%83%BD%E5%88%86%E6%9E%90/</link><description>Linux 性能分析 - 系列 - Victor's Code Journey</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>victorchu0610@outlook.com (victorchutian)</managingEditor><webMaster>victorchu0610@outlook.com (victorchutian)</webMaster><lastBuildDate>Wed, 03 Jun 2026 21:09:18 +0800</lastBuildDate><atom:link href="http://www.victorchu.info/series/linux-%E6%80%A7%E8%83%BD%E5%88%86%E6%9E%90/" rel="self" type="application/rss+xml"/><item><title>60 秒定位 Linux 性能瓶颈：一份能直接抄的命令清单</title><link>http://www.victorchu.info/posts/2026/06/73913c08/</link><pubDate>Wed, 03 Jun 2026 21:09:18 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/06/73913c08/</guid><description><![CDATA[<p>凌晨 3 点，oncall 电话响了。&ldquo;服务慢了，用户在刷不出页面。&rdquo; 你 SSH 进一台从没见过的 Linux 服务器，没有 Prometheus dashboard，没有 APM 火焰图，只有黑漆漆的命令行。</p>
<p>第一分钟该敲什么？</p>
<p>Netflix 性能工程团队 2015 年给出的答案是：<strong>10 个命令，60 秒</strong>。本文把这套方法整理成一份可以照抄的清单，并补上一张&quot;心智地图&quot;，让你不只是机械记忆命令，而是理解<strong>为什么要敲它们、应该看哪几列、看完之后该往哪走</strong>。</p>]]></description></item><item><title>eBPF 简介：从钩子、验证器到 BCC 实战</title><link>http://www.victorchu.info/posts/2026/06/0bff2f37/</link><pubDate>Wed, 03 Jun 2026 20:50:00 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/06/0bff2f37/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/computer.webp" referrerpolicy="no-referrer">
            </div><p>你有没有遇到过这种场景：线上服务偶发延迟，<code>top</code> 看 CPU 正常、<code>iostat</code> 看磁盘不忙、<code>strace</code> 抓不到关键调用，但应用就是慢。想看某个系统调用真实的耗时分布？想找&quot;一闪而过&quot;的短进程？传统工具集体失灵。</p>
<p>问题的根源在于：<strong>Linux 内核对你&quot;关着门&quot;</strong>。你想观测的所有关键路径——系统调用、网络收发、调度、文件 I/O——都在内核里，而你已经很多年没编译过内核了。</p>
<p><code>eBPF</code>（extended Berkeley Packet Filter）就是 Linux 给开发者开的一扇窗。它让你<strong>不重启内核、不写内核模块</strong>，就能在内核的关键路径上跑一段自定义逻辑。本文用三件事讲清它：eBPF 是什么、怎么工作、怎么先用起来。</p>]]></description></item><item><title>系统性能分析-CPU耗时定位</title><link>http://www.victorchu.info/posts/2025/03/34494ba4/</link><pubDate>Tue, 11 Mar 2025 19:10:04 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2025/03/34494ba4/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/computer.webp" referrerpolicy="no-referrer">
            </div><p>上篇博客介绍了 <a href="/post/2024/09/c8c5ed6/" rel="">CPU异常分析的工具和方法</a>。本文将介绍如何定位 CPU 耗时。</p>]]></description></item><item><title>系统性能分析-CPU-异常分析</title><link>http://www.victorchu.info/posts/2024/09/c8c5ed6/</link><pubDate>Wed, 18 Sep 2024 19:40:00 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2024/09/c8c5ed6/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/computer.webp" referrerpolicy="no-referrer">
            </div><p>本文记录一些分析 CPU 性能问题的工具&amp;方法。</p>]]></description></item></channel></rss>