Why Your Coding Agent Stalls While the GPU Runs Hot episode artwork

EPISODE · May 3, 2026 · 23 MIN

Why Your Coding Agent Stalls While the GPU Runs Hot

from AI Papers: A Deep Dive

Why Your Coding Agent Stalls While the GPU Runs Hot Source: https://arxiv.org/abs/2604.26963 Paper was published on April 14, 2026 This episode was AI-generated on May 3, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs. Modern LLM serving stacks were built for chatbots, and agents are quietly breaking them — pinning GPUs at full utilization while users wait minutes for replies. A new paper from Duke argues the fix isn't bigger hardware but borrowing scheduling ideas from 1970s operating systems, and the measured speedups are hard to ignore. Key Takeaways: - Why throughput dashboards lie for agent workloads, and what 'goodput' — finishing within a multiple of a task's ideal time — actually measures - The two pathologies that crater agent latency: KV cache thrashing during tool pauses, and CPU-GPU coupling that strands GPU capacity - How MARS unifies scheduling and KV eviction under one priority order using a multi-level feedback queue lifted straight from classical OS design - The headline numbers — up to 5.94x mean latency reduction on a controlled testbed, but only ~1.87x in a real OpenHands deployment — and why the gap matters - Where the paper's framing is generously tuned: an alpha-of-three success bar, single-GPU experiments, baselines reimplemented inside MARS's stack, and a constructed long-context workload - The broader shift the paper represents: LLM serving professionalizing into systems research, with sessions-as-processes and KV-cache-as-virtual-memory as the new vocabulary 00:00 - The busy-GPU, broken-agent puzzle: Setting up the gap between healthy serving dashboards and unresponsive agents, and why three assumptions baked into chat-era serving no longer hold. 02:59 - Throughput vs. goodput: Defining the metric the rest of the paper rests on — completion within a scaled time budget — and the chart showing baseline goodput collapsing while throughput stays high. 05:58 - Two pathologies: KV thrashing and CPU-GPU coupling: Why static keep-or-evict decisions on enormous KV caches fail, and how tool-blocked sessions strand GPU capacity while the CPU is hammered. 08:58 - Inside MARS: observability, admission control, scheduling: Walking the three-layer architecture, the AIMD admission window, and the multi-level feedback queue that unifies scheduling decisions with KV eviction priority. 11:57 - The chunk-shrinking trick and other small cleverness: How MARS converts hard preemption failures into graceful slowdowns, plus the modesty of the implementation — about 5,000 lines on top of vLLM. 14:56 - What the numbers actually show: Separating the controlled-testbed ceiling from the real-deployment gain, and the eviction-rate graph that captures the difference between thrashing and pacing. 17:56 - Where the paper reaches: Critiquing the alpha-of-three success bar, reimplemented baselines, single-GPU experiments, curated workload, and the regime where MARS's own co-scheduler hurts. 20:55 - Serving as systems research: Situating MARS within a broader shift toward OS-style framings of LLM inference, and what that means for agent builders and the field's evaluation vocabulary. Recommended Reading: - Efficient Memory Management for Large Language Model Serving with PagedAttention: The vLLM paper that MARS builds on top of — essential context for understanding the KV cache block allocator that MARS's eviction policy operates over. (https://arxiv.org/abs/2309.06180) - Autellix: An Efficient Serving Engine for LLM Agents as General Programs: The program-aware scheduler MARS positions itself against — the episode frames it as 'correct about logical structure, blind to physical resources,' so reading it directly clarifies what MARS adds. (https://arxiv.org/abs/2502.13965) - MemGPT: Towards LLMs as Operating Systems: A kindred-spirit system in the OS-vocabulary-for-LLMs lineage the episode highlights, treating context management as virtual memory rather than a serving detail. (https://arxiv.org/abs/2310.08560)

Why Your Coding Agent Stalls While the GPU Runs Hot Source: https://arxiv.org/abs/2604.26963 Paper was published on April 14, 2026 This episode was AI-generated on May 3, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs. Modern LLM serving stacks were built for chatbots, and agents are quietly breaking them — pinning GPUs at full utilization while users wait minutes for replies. A new paper from Duke argues the fix isn't bigger hardware but borrowing scheduling ideas from 1970s operating systems, and the measured speedups are hard to ignore. Key Takeaways: - Why throughput dashboards lie for agent workloads, and what 'goodput' — finishing within a multiple of a task's ideal time — actually measures - The two pathologies that crater agent latency: KV cache thrashing during tool pauses, and CPU-GPU coupling that strands GPU capacity - How MARS unifies scheduling and KV eviction under one priority order using a multi-level feedback queue lifted straight from classical OS design - The headline numbers — up to 5.94x mean latency reduction on a controlled testbed, but only ~1.87x in a real OpenHands deployment — and why the gap matters - Where the paper's framing is generously tuned: an alpha-of-three success bar, single-GPU experiments, baselines reimplemented inside MARS's stack, and a constructed long-context workload - The broader shift the paper represents: LLM serving professionalizing into systems research, with sessions-as-processes and KV-cache-as-virtual-memory as the new vocabulary 00:00 - The busy-GPU, broken-agent puzzle: Setting up the gap between healthy serving dashboards and unresponsive agents, and why three assumptions baked into chat-era serving no longer hold. 02:59 - Throughput vs. goodput: Defining the metric the rest of the paper rests on — completion within a scaled time budget — and the chart showing baseline goodput collapsing while throughput stays high. 05:58 - Two pathologies: KV thrashing and CPU-GPU coupling: Why static keep-or-evict decisions on enormous KV caches fail, and how tool-blocked sessions strand GPU capacity while the CPU is hammered. 08:58 - Inside MARS: observability, admission control, scheduling: Walking the three-layer architecture, the AIMD admission window, and the multi-level feedback queue that unifies scheduling decisions with KV eviction priority. 11:57 - The chunk-shrinking trick and other small cleverness: How MARS converts hard preemption failures into graceful slowdowns, plus the modesty of the implementation — about 5,000 lines on top of vLLM. 14:56 - What the numbers actually show: Separating the controlled-testbed ceiling from the real-deployment gain, and the eviction-rate graph that captures the difference between thrashing and pacing. 17:56 - Where the paper reaches: Critiquing the alpha-of-three success bar, reimplemented baselines, single-GPU experiments, curated workload, and the regime where MARS's own co-scheduler hurts. 20:55 - Serving as systems research: Situating MARS within a broader shift toward OS-style framings of LLM inference, and what that means for agent builders and the field's evaluation vocabulary. Recommended Reading: - Efficient Memory Management for Large Language Model Serving with PagedAttention: The vLLM paper that MARS builds on top of — essential context for understanding the KV cache block allocator that MARS's eviction policy operates over. (https://arxiv.org/abs/2309.06180) - Autellix: An Efficient Serving Engine for LLM Agents as General Programs: The program-aware scheduler MARS positions itself against — the episode frames it as 'correct about logical structure, blind to physical resources,' so reading it directly clarifies what MARS adds…

NOW PLAYING

Why Your Coding Agent Stalls While the GPU Runs Hot

0:00 23:56

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

MG Show MG Show The MG Show, hosted by Jeffrey Pedersen and Shannon Townsend, is a leading alternative media platform dedicated to uncovering the truth behind today’s most pressing political issues. Launched in 2019, the show has grown exponentially, offering unfiltered insights, comprehensive research, and real-time analysis. With a commitment to independent journalism and factual integrity, the MG Show empowers its audience with knowledge and encourages active participation in the political discourse. Ask A Spaceman Archives - 365 Days of Astronomy Ask A Spaceman Archives - 365 Days of Astronomy Podcasting Astronomy Every Day of the Year French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? The Small Business Startup School – Business Notes | Financial Literacy | Retail Psychology – For Professionals & Entrepreneurs The Small Business Startup School Inc. Starting or buying a small business? While personal circumstances may vary, business patterns remain timeless. On The Small Business Startup School, we explore strategies, insights, and practical solutions to help entrepreneurs confidently navigate their journey.Hosted by Ola Williams—a retail entrepreneur, fintech founder, and financial coach with over two decades of experience—this podcast marries financial awareness and retail psychology with optimism to deliver actionable takeaways.Join us to learn, grow, and connect as we uncover the keys to business success.Let’s continue to learn together and be encouraged to keep on connecting!

Frequently Asked Questions

How long is this episode of AI Papers: A Deep Dive?

This episode is 23 minutes long.

When was this AI Papers: A Deep Dive episode published?

This episode was published on May 3, 2026.

What is this episode about?

Why Your Coding Agent Stalls While the GPU Runs Hot Source: https://arxiv.org/abs/2604.26963 Paper was published on April 14, 2026 This episode was AI-generated on May 3, 2026. The script was written by an AI language model and the host voices...

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this AI Papers: A Deep Dive episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!