ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial2 min readDisconfirmAI Editorial

AMD ATOMesh: Prefill/Decode Disaggregation for Coding Agents on MI355X

AMD's ATOMesh stack separates prefill and decode to optimize coding agent inference, achieving up to 42.1K tokens/s per GPU.

2026-12-04 08:00 GMT+8

Coding agents present a unique challenge for inference servers: each turn resends a long conversation history but generates only a few hundred new tokens, while sessions frequently pause for tool execution. AMD's ROCm team has introduced ATOMesh, a prefill/decode (P/D) disaggregation stack designed to address these bottlenecks on AMD Instinct MI355X GPUs. By running the two computational roles on separate engines, ATOMesh prevents new prefill operations from interrupting active decoding sessions, allows each role to use its optimal parallelism strategy, and keeps paused session histories in memory without competing with active contexts.

The architecture consists of three main components: a Rust-based router that directs requests to workers holding relevant cache prefixes, independent prefill and decode worker pools, and a KV connector that moves data between them. For prefill, ATOMesh employs Chunked Pipeline Parallelism (CPP), which streams long prompts in chunks to maximize throughput and minimize time-to-first-token. For decode, it uses Decode Context Parallelism (DCP) at higher loads to expand the available KV cache pool, ensuring that more concurrent sessions can be held in memory. The system also offloads idle session histories to host DRAM via Mooncake Store, freeing up high-bandwidth GPU memory for active tasks.

In benchmarks using SemiAnalysis's AgentX harness, which replays real-world Claude Code sessions, an ATOMesh deployment achieved up to 42.1K total tokens per second per GPU at a concurrency level of 96 sessions. At lower concurrency levels, a single-node configuration proved faster than any P/D split, indicating that disaggregation is most beneficial under heavy load where prefill interruptions would otherwise degrade user interactivity. These results highlight the trade-offs in serving agentic workloads, where balancing latency and throughput requires specialized architectural choices beyond standard chatbot optimization.

Sign in / Sign up
ReadingResearchRadarInvestment framework

Sources

  • rocm.blogs.amd.comROCm Blogs↗
Continue researching →