此頁面有繁體中文版本。

This page is also available in English.

JigSLO 多 LLM 服务经济学

Dynamic batching balances pending inference requests against GPU memory saturation by managing the trade-off between draining accumulated work and maintaining sufficient memory buffer to stop subsequent bottlenecks. In illustrative testing, Pending Requests rises from 489.8 to 642.8 on average at step 50 when batch capacity is restricted across 20 Plays. This dynamic ensures throughput clears backlogs efficiently without triggering severe processing stalls.

Machinations diagram of JigSLO Multi-LLM Serving Economics: Inference Demand, Pending Requests, Active Context Memory, Batch Dispatcher, Context Eviction, Batch Size Multiplier, Eviction Rate, Memory SaturationMachinations diagram of JigSLO Multi-LLM Serving Economics: Inference Demand, Pending Requests, Active Context Memory, Batch Dispatcher, Context Eviction, Batch Size Multiplier, Eviction Rate, Memory Saturation

主要收获

  • Lowering Batch Size Multiplier from 4 to 2 increases Pending Requests from 489.8 to 642.8 on average at step 50.
  • Raising Eviction Rate from 3 to 6 reduces Pending Requests from 489.8 to 416.4 on average at step 50.
  • A lower Batch Size Multiplier causes Pending Requests to diverge immediately, reaching 109.5 versus 101.5 at step 1.
  • Memory Saturation governs Effective Dispatch, so clearing Active Context Memory faster prevents dispatch bottlenecks.

How do batching decisions shape request queues?

Anyone managing machine learning infrastructure must choose between draining waiting queues quickly and avoiding hardware memory exhaustion. In this playable model, the illustrative baseline leaves Pending Requests at an average of 489.8 at step 50. Setting the batch multiplier lower pushes that final queue to 642.8, while clearing completed contexts faster reduces it to 416.4.

These illustrative values show the tension between clearing current queues and maintaining memory headroom. Every value reported here is the mean of 20 Plays over 50 steps.

当您调整模型杠杆 (Lever) 时会发生什么?

The first control is Batch Size Multiplier, which sets the target batch size for execution. Moving Batch Size Multiplier down from 4 to 2 increases Pending Requests from 489.8 to 642.8 by step 50.

Early in the session, the divergence appears immediately. At step 1, the queue measures 101.5 in the baseline but reaches 109.5 under the lower multiplier. By step 8, the lower setting reaches 179.2 compared to 127.8.

The second control is Eviction Rate, which dictates the base speed of token completion. Raising Eviction Rate from 3 to 6 reduces Pending Requests from 489.8 to 416.4 at step 50.

The two eviction trajectories match across the earliest steps. At step 1, both settings show 101.5 requests. By step 5, the higher eviction rate drops the queue to 113.8 against the baseline level of 114.9.

How do memory and queues interact in the model?

Inference Demand acts as a stream that deposits incoming work directly into Pending Requests. From there, Batch Dispatcher packages queued items and transfers them into Active Context Memory. This transfer depends on both Batch Size Multiplier and Effective Dispatch.

Active Context Memory tracks occupied context windows and sets the level of Memory Saturation. As this storage fills, Effective Dispatch restricts further intake. Meanwhile, Context Eviction clears finished work out of Active Context Memory at a speed governed by Eviction Rate.

What do these model results mean for scheduling?

In this model, shrinking batch size causes an instant backlog because fewer requests enter processing each step. Slower batching leaves incoming traffic stranded in the waiting queue from the very first step. Operators looking at queue spikes should check batch sizing limits first.

Conversely, accelerating context release provides steady relief by preserving headroom. Increasing the release rate prevents saturation from throttling dispatch later in the schedule. In this model, keeping execution space clear matters just as much as setting large batch sizes.

该模型遗漏了什么?

Real systems are more complicated than any model. This model assumes each step represents one second of execution time without any variable delays. It also keeps inflow and completion rules constrained to fixed structural formulas.

Additionally, the model does not include diverse priority classes or multi-tier hardware architectures beyond Active Context Memory and Pending Requests. All values remain illustrative representations of internal model flows.

这个话题从何而来?

This model was inspired by the publication titled JigSLO: Solving the Resource Puzzle for Efficient Multi-LLM Serving, published by arXiv on 18 November 2026. This essay and its numbers present the model's own illustrative scenario.

您可以自己测试这些权衡吗?

You can explore these trade-offs by shifting the levers directly inside the playable model. Watch how adjustments to batch sizing and eviction rates alter queue backlogs across all 50 steps.

模型的组成部分

它提出的问题: 动态批处理如何在待处理的推理请求与 GPU 内存饱和之间进行权衡?

Inference Demand · 来源
Generates incoming LLM inference request tokens from clients.
待处理请求 · 资源池
Holds incoming requests waiting in the queue for GPU memory allocation.
Active Context Memory · 资源池
Occupied GPU VRAM holding KV caches and active context windows.
Batch Dispatcher · 转换器
Bundles pending requests into active batch executions on the GPU.
Context Eviction · 消耗点
Frees GPU memory as inference requests complete generation.
Batch Size Multiplier · 杠杆
User lever adjusting the target batch size per execution step.
Eviction Rate · 杠杆
User lever setting the base speed of token completion and VRAM release.
Memory Saturation · 寄存器
Calculates the percentage of GPU context memory currently occupied by active requests.
Effective Dispatch · 寄存器
Calculates actual dispatch throughput accounting for available VRAM headroom.

假设与限制

  • 一个时间步代表一秒的 GPU 集群时间。
  • 所有值均为说明性示例。
  • Batch Dispatcher moves requests from Pending Requests into Active Context Memory.
  • Context Eviction drains Active Context Memory via Release.

带有说明性数值的教学模型;每次游玩都是一个情境,而不是预测 (Forecast)。

来源

感谢 arXiv 允许使用其开放获取的互操作性。

关于此模型

Machinations 使用 AI 从公开来源 (Source) 制作这些模型,每一个都是一个教学情境 (Scenario):其数字是为模型选择的说明性值,而不是测量或预测 (Forecast)。

分享此模型
浏览 Economic Zeitgeist