<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Reese's Blog</title>
        <link>https://imreese.github.io/blogs/</link>
        <description>关于大模型推理、分布式系统、存储与性能优化的技术文章。</description>
        <lastBuildDate>Sat, 01 Aug 2026 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <image>
            <title>Reese's Blog</title>
            <url>https://imreese.github.io/social-card.png</url>
            <link>https://imreese.github.io/blogs/</link>
        </image>
        <copyright>All rights reserved Reese</copyright>
        <atom:link href="https://imreese.github.io/rss.xml" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[前缀缓存命中 50%，预填充为什么没有快 2 倍？]]></title>
            <link>https://imreese.github.io/blogs/prefix-cache-prefill-speedup-is-not-2x/</link>
            <guid>https://imreese.github.io/blogs/prefix-cache-prefill-speedup-is-not-2x/</guid>
            <pubDate>Sat, 01 Aug 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[从因果注意力的三角计算量出发，逐层推导前缀缓存命中后的剩余注意力计算量、完整预填充的理想加速上限，以及它与真实 TTFT 之间的差距。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>LLM Serving Internals</category>
            <category>llm-serving</category>
            <category>prefix-cache</category>
            <category>kv-cache</category>
            <category>prefill</category>
            <category>attention</category>
            <category>mla</category>
            <category>swa</category>
            <category>kda</category>
            <category>attention-state</category>
        </item>
        <item>
            <title><![CDATA[Kimi Linear 的 KDA 缓存：SGLang、vLLM 与 Mooncake Store 全链路]]></title>
            <link>https://imreese.github.io/blogs/kimi-kda-cache-sglang-vllm-mooncake-store/</link>
            <guid>https://imreese.github.io/blogs/kimi-kda-cache-sglang-vllm-mooncake-store/</guid>
            <pubDate>Wed, 22 Jul 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[从 Kimi Linear 的 KDA 状态出发，追踪 SGLang、vLLM 与 Mooncake Store 的混合缓存流程，并解释细粒度检查点、写时复制、部分分组命中与远端复用。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>sglang</category>
            <category>vllm</category>
            <category>kimi-linear</category>
            <category>kimi-k3</category>
            <category>kda</category>
            <category>prefix-cache</category>
            <category>hybrid-cache</category>
            <category>hicache</category>
            <category>mooncake</category>
        </item>
        <item>
            <title><![CDATA[SGLang v0.5.14 接入 Mooncake Store：缓存页标识、零拷贝与共享 Transfer Engine]]></title>
            <link>https://imreese.github.io/blogs/sglang-to-mooncake-store-kv-cache-path/</link>
            <guid>https://imreese.github.io/blogs/sglang-to-mooncake-store-kv-cache-path/</guid>
            <pubDate>Tue, 30 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着一次 KV Cache 的写入与读回，说明 SGLang 如何根据缓存页标识生成 Mooncake Store 对象，以及主机端 KV 缓冲区为何是两套系统的数据交接点。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>sglang</category>
            <category>hicache</category>
            <category>mooncake</category>
            <category>transfer-engine</category>
        </item>
        <item>
            <title><![CDATA[SGLang HiCache 读路径：预取、回载和调度流程]]></title>
            <link>https://imreese.github.io/blogs/sglang-hicache-read-path/</link>
            <guid>https://imreese.github.io/blogs/sglang-hicache-read-path/</guid>
            <pubDate>Sun, 28 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着前缀匹配、存储预取和主机内存到 GPU 的回载过程，梳理 HiCache 如何确认并提交一次缓存命中。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>SGLang Runtime Notes</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>hicache</category>
            <category>sglang</category>
        </item>
        <item>
            <title><![CDATA[SGLang HiCache 写路径：GPU KV 如何写入主机内存和外部存储]]></title>
            <link>https://imreese.github.io/blogs/sglang-hicache-write-path/</link>
            <guid>https://imreese.github.io/blogs/sglang-hicache-write-path/</guid>
            <pubDate>Sat, 27 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着 GPU 到主机内存的备份和主机内存到外部存储的写入，说明 write_backup、PoolTransfer 与 batch_set 如何协作。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>SGLang Runtime Notes</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>hicache</category>
            <category>sglang</category>
        </item>
        <item>
            <title><![CDATA[SGLang HiCache 总览：把 GPU KV 缓存扩成三级缓存]]></title>
            <link>https://imreese.github.io/blogs/sglang-hicache-reading-notes/</link>
            <guid>https://imreese.github.io/blogs/sglang-hicache-reading-notes/</guid>
            <pubDate>Fri, 26 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[从 GPU KV 池、主机内存池、存储后端和基数树节点的状态变化出发，理解 HiCache L1/L2/L3 的整体结构。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>SGLang Runtime Notes</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>hicache</category>
            <category>sglang</category>
        </item>
        <item>
            <title><![CDATA[如何根据 config.json 估算大模型的注意力缓存]]></title>
            <link>https://imreese.github.io/blogs/attention-cache-size-mha-mla-dsa-swa-kda/</link>
            <guid>https://imreese.github.io/blogs/attention-cache-size-mha-mla-dsa-swa-kda/</guid>
            <pubDate>Mon, 22 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[从 config.json 中的 hidden_size、head_dim、KV 头数、sliding_window、kv_lora_rank、Indexer 和 KDA 状态出发，估算常见模型的注意力缓存大小。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>LLM Serving Internals</category>
            <category>attention</category>
            <category>kv-cache</category>
            <category>llm-serving</category>
            <category>config-json</category>
            <category>mla</category>
            <category>dsa</category>
            <category>kda</category>
            <category>deepseek-v4</category>
            <category>glm-5-2</category>
        </item>
        <item>
            <title><![CDATA[Mooncake Transfer Engine 传输层：MultiTransport 如何选择 TCP、RDMA 和设备路径]]></title>
            <link>https://imreese.github.io/blogs/mooncake-transfer-engine-transport-layer/</link>
            <guid>https://imreese.github.io/blogs/mooncake-transfer-engine-transport-layer/</guid>
            <pubDate>Fri, 05 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[梳理 MultiTransport 的安装与后端选择流程，说明 TCP、RDMA 和设备传输如何接入统一接口。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>transfer-engine</category>
        </item>
        <item>
            <title><![CDATA[Mooncake 集成方式：Python 绑定、SGLang、vLLM 和 LMCache]]></title>
            <link>https://imreese.github.io/blogs/mooncake-python-sglang-integration-boundary/</link>
            <guid>https://imreese.github.io/blogs/mooncake-python-sglang-integration-boundary/</guid>
            <pubDate>Thu, 04 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[梳理 pybind11、张量与对象 API，以及 SGLang、vLLM 和 LMCache 接入 Mooncake 时各自负责的部分。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>sglang</category>
        </item>
        <item>
            <title><![CDATA[Mooncake Transfer Engine：内存段、注册内存和批量传输]]></title>
            <link>https://imreese.github.io/blogs/mooncake-transfer-engine-remote-memory/</link>
            <guid>https://imreese.github.io/blogs/mooncake-transfer-engine-remote-memory/</guid>
            <pubDate>Wed, 03 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[从内存段、内存注册、传输请求和批次编号出发，建立 Mooncake Transfer Engine 的数据搬运模型。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>transfer-engine</category>
        </item>
        <item>
            <title><![CDATA[Mooncake Store 状态管理：副本生命周期、租约和本地热缓存]]></title>
            <link>https://imreese.github.io/blogs/mooncake-replica-lease-hot-cache/</link>
            <guid>https://imreese.github.io/blogs/mooncake-replica-lease-hot-cache/</guid>
            <pubDate>Mon, 01 Jun 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着副本状态机、元数据租约和本地热缓存的校验令牌，说明 Mooncake Store 如何维护读写可见性并防止旧写覆盖。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>distributed-systems</category>
        </item>
        <item>
            <title><![CDATA[Mooncake Store 读取路径：GetReplicaList、租约和本地热缓存]]></title>
            <link>https://imreese.github.io/blogs/mooncake-store-get-path/</link>
            <guid>https://imreese.github.io/blogs/mooncake-store-get-path/</guid>
            <pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着 GetReplicaList、副本选择和本地热缓存，梳理一次 Store 读取如何从元数据查询进入数据传输。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>distributed-systems</category>
        </item>
        <item>
            <title><![CDATA[Mooncake Store 写入路径：PutStart、TransferSubmitter 和 PutEnd]]></title>
            <link>https://imreese.github.io/blogs/mooncake-store-put-path/</link>
            <guid>https://imreese.github.io/blogs/mooncake-store-put-path/</guid>
            <pubDate>Fri, 29 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着 PutStart、TransferSubmitter 和 PutEnd，梳理一次 Store 写入如何完成副本分配、数据搬运与可见性提交。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>distributed-systems</category>
        </item>
        <item>
            <title><![CDATA[Mooncake Store 对象模型：对象、切片、副本和 Segment]]></title>
            <link>https://imreese.github.io/blogs/mooncake-store-master-client-dataflow/</link>
            <guid>https://imreese.github.io/blogs/mooncake-store-master-client-dataflow/</guid>
            <pubDate>Tue, 26 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[梳理对象、切片、副本、Segment，以及 Master 与 Client 的职责，作为理解 Mooncake Store 读写流程的入口。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>mooncake</category>
            <category>distributed-systems</category>
        </item>
        <item>
            <title><![CDATA[Mooncake 和 HiCache 总览：KV 缓存如何变成系统资源]]></title>
            <link>https://imreese.github.io/blogs/mooncake-kv-cache-system-resource/</link>
            <guid>https://imreese.github.io/blogs/mooncake-kv-cache-system-resource/</guid>
            <pubDate>Sun, 24 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[从 SGLang HiCache、Mooncake Store 和 Transfer Engine 的职责边界出发，说明一段 KV 缓存如何成为可跨节点复用的系统资源。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Mooncake / HiCache Internals</category>
            <category>llm-serving</category>
            <category>kv-cache</category>
            <category>hicache</category>
            <category>mooncake</category>
        </item>
        <item>
            <title><![CDATA[PagedAttention 笔记：为什么要像管理内存一样管理 KV 缓存]]></title>
            <link>https://imreese.github.io/blogs/attention-store-pagedattention-reading-notes/</link>
            <guid>https://imreese.github.io/blogs/attention-store-pagedattention-reading-notes/</guid>
            <pubDate>Sun, 20 Jul 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[梳理块表、物理块、写时复制和调度流程，说明 PagedAttention、HiCache 与 Mooncake 分别负责什么。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>SGLang Runtime Notes</category>
            <category>attention</category>
            <category>kv-cache</category>
            <category>llm-serving</category>
        </item>
        <item>
            <title><![CDATA[CPU 性能分析笔记：如何用 perf 定位一次延迟抖动]]></title>
            <link>https://imreese.github.io/blogs/cpu-profiling-perf-flamegraph-notes/</link>
            <guid>https://imreese.github.io/blogs/cpu-profiling-perf-flamegraph-notes/</guid>
            <pubDate>Sun, 16 Mar 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着一次服务 p99 抖动的排查过程，串起 CPU 执行与等待分析、perf、火焰图、假设验证和基准测试。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Open Source Engineering</category>
            <category>performance</category>
        </item>
        <item>
            <title><![CDATA[Transformer 笔记：注意力机制为什么会变成系统问题]]></title>
            <link>https://imreese.github.io/blogs/attention-is-all-you-need-reading-notes/</link>
            <guid>https://imreese.github.io/blogs/attention-is-all-you-need-reading-notes/</guid>
            <pubDate>Sun, 23 Feb 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[从 QKV、掩码和 KV 缓存出发，理解 Transformer 的模型结构为什么会影响推理服务的内存与调度设计。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>SGLang Runtime Notes</category>
            <category>attention</category>
            <category>kv-cache</category>
            <category>llm-serving</category>
        </item>
        <item>
            <title><![CDATA[kubectl 命令速查：上下文、资源查看和故障排查]]></title>
            <link>https://imreese.github.io/blogs/kubectl-practical-notes/</link>
            <guid>https://imreese.github.io/blogs/kubectl-practical-notes/</guid>
            <pubDate>Sat, 19 Oct 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[kubectl 日常使用速查，涵盖 kubeconfig、常用查询与执行命令、资源发布、服务排查和输出格式。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Practical Runbooks</category>
            <category>cloud-tooling</category>
        </item>
        <item>
            <title><![CDATA[文本处理命令：rg、find、xargs、sed、awk、jq 和 yq]]></title>
            <link>https://imreese.github.io/blogs/text-processing-command-guide/</link>
            <guid>https://imreese.github.io/blogs/text-processing-command-guide/</guid>
            <pubDate>Sat, 07 Sep 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[命令行文本处理速查，涵盖搜索、批量执行、替换、列处理、JSON/YAML 查询和管道组合。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Practical Runbooks</category>
            <category>cloud-tooling</category>
        </item>
        <item>
            <title><![CDATA[Docker 使用：镜像、容器、日志、exec 和数据卷]]></title>
            <link>https://imreese.github.io/blogs/docker-practical-guide/</link>
            <guid>https://imreese.github.io/blogs/docker-practical-guide/</guid>
            <pubDate>Sun, 18 Aug 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[Docker 日常使用手册，涵盖镜像、容器、运行与日志命令、数据卷、网络、Compose 和常见故障排查。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Practical Runbooks</category>
            <category>cloud-tooling</category>
        </item>
        <item>
            <title><![CDATA[存储基准测试笔记：不要只看平均延迟]]></title>
            <link>https://imreese.github.io/blogs/storage-benchmark-tail-latency-notes/</link>
            <guid>https://imreese.github.io/blogs/storage-benchmark-tail-latency-notes/</guid>
            <pubDate>Sat, 20 Jul 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[借助 redis-benchmark、memtier_benchmark 和 sysbench，说明测试负载、预热、数据规模、p99、性能拐点和资源隔离为什么比平均值更重要。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Storage Systems Notes</category>
            <category>storage-systems</category>
            <category>performance</category>
        </item>
        <item>
            <title><![CDATA[Git 使用：分支、提交、rebase 和常见救场]]></title>
            <link>https://imreese.github.io/blogs/git-practical-guide/</link>
            <guid>https://imreese.github.io/blogs/git-practical-guide/</guid>
            <pubDate>Sun, 12 May 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[Git 日常使用手册，涵盖 clone、branch、commit、diff、stash、rebase、cherry-pick、reflog 和团队协作。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Practical Runbooks</category>
            <category>cloud-tooling</category>
        </item>
        <item>
            <title><![CDATA[pyenv 使用：Python 多版本管理和虚拟环境]]></title>
            <link>https://imreese.github.io/blogs/python-environment-management-notes/</link>
            <guid>https://imreese.github.io/blogs/python-environment-management-notes/</guid>
            <pubDate>Sun, 10 Mar 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[pyenv 日常使用手册，涵盖安装配置、Python 版本切换，以及配合 venv 管理项目环境。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Practical Runbooks</category>
            <category>cloud-tooling</category>
        </item>
        <item>
            <title><![CDATA[WAL、版本清单和压缩：崩溃后哪些写入算数]]></title>
            <link>https://imreese.github.io/blogs/wal-compaction-recovery-notes/</link>
            <guid>https://imreese.github.io/blogs/wal-compaction-recovery-notes/</guid>
            <pubDate>Sun, 26 Nov 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着 WAL 追加、内存表刷盘、版本清单更新、压缩结果安装和恢复流程，说明存储系统如何确认崩溃前的写入历史。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Storage Systems Notes</category>
            <category>storage-systems</category>
        </item>
        <item>
            <title><![CDATA[LSM 树笔记：一个键从写入到压缩的生命周期]]></title>
            <link>https://imreese.github.io/blogs/lsm-tree-storage-engine-notes/</link>
            <guid>https://imreese.github.io/blogs/lsm-tree-storage-engine-notes/</guid>
            <pubDate>Sun, 14 May 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着一个键的写入与压缩过程，梳理 WAL、MemTable、SSTable、墓碑标记和写入停顿如何共同影响后台开销。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Storage Systems Notes</category>
            <category>storage-systems</category>
        </item>
        <item>
            <title><![CDATA[ZooKeeper / etcd 笔记：监听、租约和隔离机制]]></title>
            <link>https://imreese.github.io/blogs/zookeeper-etcd-consistency-service-notes/</link>
            <guid>https://imreese.github.io/blogs/zookeeper-etcd-consistency-service-notes/</guid>
            <pubDate>Sun, 18 Sep 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着监听中断、修订记录压缩、租约过期和选主隔离，说明协调服务为什么不能当作普通 KV 存储使用。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Distributed Systems Notes</category>
            <category>distributed-systems</category>
        </item>
        <item>
            <title><![CDATA[Paxos / Raft 笔记：旧主节点为什么不能继续写]]></title>
            <link>https://imreese.github.io/blogs/paxos-raft-consensus-reading-notes/</link>
            <guid>https://imreese.github.io/blogs/paxos-raft-consensus-reading-notes/</guid>
            <pubDate>Tue, 12 Apr 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[沿着旧主节点、网络分区、提案编号、任期、日志匹配和隔离令牌，说明一致性协议如何阻止过期节点继续写入。]]></description>
            <author>reese_duan@outlook.com (Reese)</author>
            <category>Distributed Systems Notes</category>
            <category>distributed-systems</category>
        </item>
    </channel>
</rss>