arXiv論文メモ
新着一覧
cs.PF / cs.LG · 査読状況未確認

H100における接頭辞再利用と初回トークン時間のベンチマーク

PrefixBench-H100: Characterizing Prefix Reuse and Time-to-First-Token in H100 LLM Serving

Omkar Shewale, Deepak Kumar, Divakar Kumar Yadav

この論文をやさしく読む

ひとことで言うと

LLMの同じ入力先頭部分を再利用するキャッシュが、H100上でいつ応答開始を速めるかを測る評価基盤です。

何に役立つ?

システム指示や検索テンプレートが重複するサービスで、共有長、負荷、メモリ圧力に合った設定を考えるために役立ちます。

この研究の面白いところ

vLLMとTensorRT-LLMをそろえた負荷で比較し、最初のトークン、全体遅延、ヒット率などを同時に測ります。残るランタイム間の差をキャッシュより上のスケジューリングへ位置づけています。

どこまで分かった?

単一H100での評価です。要旨には具体的な高速化倍率はなく、新しいキャッシュアルゴリズムや複数GPU全体の性能を提案・検証する研究ではありません。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

LLMの提供ワークロードでは、システムプロンプト、テンプレート化された検索拡張生成パイプライン、エージェント・フレームワーク、複数ターンの会話などで、同じプロンプト接頭辞がますます頻繁に現れる。vLLMやTensorRT-LLMなどの最新推論ランタイムには、リクエスト間で一度計算したKVキャッシュ状態を再利用する仕組みがあるが、現代のアクセラレータで接頭辞再利用がいつ提供性能を実質的に改善するのか、またスケジューリング、キャッシュ粒度、同時実行数、メモリ圧迫によっていつ利点が制限されるのかは明らかでない。本論文では、1台のNVIDIA H100で接頭辞再利用を特徴づける、再現可能なベンチマークおよび測定フレームワークPrefixBench-H100を提示する。 PrefixBench-H100は、制御された合成トレースとチャット型・検索型ワークロードを組み合わせ、条件をそろえて広く使われる2つのLLM提供ランタイムを評価する。共有接頭辞の長さ、接尾辞の多様性、リクエスト到着パターン、同時実行数、出力長、キャッシュ設定を変化させ、初回トークンまでの時間、トークン間遅延、エンドツーエンド遅延、スループット、キャッシュヒット統計、GPUメモリ使用量、選択したプロファイリング・トレースを収集する。目的は新しいキャッシュアルゴリズムを導入することではなく、H100級LLM提供における接頭辞再利用の実用的な動作範囲を明らかにすることである。接頭辞再利用が初回トークン遅延を大幅に減らす領域と、キャッシュ圧迫がその効果を失わせる領域を特定した。また、キャッシュの有効性自体は同時実行数と出力長にほぼ左右されず、残るランタイム間の違いはキャッシュより上位のスケジューリング層で生じることを示した。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-17(UTC)
最新改訂
2026-09-17 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Repeated prompt prefixes are increasingly common in LLM serving workloads, appearing in system prompts, templated retrieval-augmented generation pipelines, agent frameworks, and multi-turn conversations. Modern inference runtimes such as vLLM and TensorRT-LLM provide mechanisms for reusing previously computed KV-cache state across requests, yet it remains unclear when prefix reuse materially improves serving performance on contemporary accelerators and when its benefits are limited by scheduling, cache granularity, concurrency, or memory pressure. This paper presents PrefixBench-H100, a reproducible benchmark and measurement framework for characterizing prefix reuse on a single NVIDIA H100. PrefixBench-H100 combines controlled synthetic traces with chat-style and retrieval-style workloads, and evaluates two widely used LLM serving runtimes under matched workload conditions. The benchmark varies shared-prefix length, suffix diversity, request arrival pattern, concurrency, output length, and cache configuration, while collecting time-to-first-token, inter-token latency, end-to-end latency, throughput, cache-hit statistics, GPU memory usage, and selected profiling traces. The goal of PrefixBench-H100 is not to introduce a new caching algorithm, but to expose the practical operating envelope of prefix reuse for H100-class LLM serving. The study identifies the regime where prefix reuse provides substantial first-token latency reductions and the regime where cache pressure erodes them, while showing that cache effectiveness itself is largely insensitive to concurrency and output length; the cross-runtime differences that remain arise above the cache, in the scheduling layer.

arXiv ID: 2609.19657 / 要約の誤りについて