Dataset Viewer
Auto-converted to Parquet Duplicate
request_id
stringlengths
7
16
workload_category
stringclasses
5 values
arrival_time_s
float64
0.05
4.99
prompt_tokens
int64
40
5.63k
output_tokens
int64
31
620
total_tokens
int64
120
5.71k
prefill_decode_ratio
float64
0.22
88.3
slo_ttft_ms
float64
200
1k
slo_tpot_ms
float64
35
50
traffic_pattern
stringclasses
3 values
lmsys_001
Chatbot / Conversational
0.05
120
85
205
1.41
250
40
real_empirical
lmsys_002
Chatbot / Conversational
0.12
45
150
195
0.3
200
40
real_empirical
lmsys_003
Chatbot / Conversational
0.28
340
60
400
5.67
350
40
real_empirical
lmsys_004
Chatbot / Conversational
0.35
80
40
120
2
200
40
real_empirical
lmsys_005
Chatbot / Conversational
0.49
520
110
630
4.73
400
40
real_empirical
lmsys_006
Chatbot / Conversational
0.62
65
95
160
0.68
200
40
real_empirical
lmsys_007
Chatbot / Conversational
0.75
210
130
340
1.62
300
40
real_empirical
lmsys_008
Chatbot / Conversational
0.88
180
55
235
3.27
250
40
real_empirical
lmsys_009
Chatbot / Conversational
1.02
95
200
295
0.47
200
40
real_empirical
lmsys_010
Chatbot / Conversational
1.15
410
75
485
5.47
350
40
real_empirical
lmsys_011
Chatbot / Conversational
1.25
70
60
130
1.17
200
40
real_empirical
lmsys_012
Chatbot / Conversational
1.39
305
140
445
2.18
300
40
real_empirical
lmsys_013
Chatbot / Conversational
1.51
115
80
195
1.44
250
40
real_empirical
lmsys_014
Chatbot / Conversational
1.68
580
190
770
3.05
450
40
real_empirical
lmsys_015
Chatbot / Conversational
1.82
90
45
135
2
200
40
real_empirical
lmsys_016
Chatbot / Conversational
1.95
240
115
355
2.09
300
40
real_empirical
lmsys_017
Chatbot / Conversational
2.1
160
70
230
2.29
250
40
real_empirical
lmsys_018
Chatbot / Conversational
2.22
375
160
535
2.34
350
40
real_empirical
lmsys_019
Chatbot / Conversational
2.38
85
50
135
1.7
200
40
real_empirical
lmsys_020
Chatbot / Conversational
2.5
490
125
615
3.92
400
40
real_empirical
rag_001
Long-Context RAG
0.05
3,500
60
3,560
58.33
800
50
real_empirical
rag_002
Long-Context RAG
0.1
40
120
160
0.33
200
40
real_empirical
rag_003
Long-Context RAG
0.15
55
90
145
0.61
200
40
real_empirical
rag_004
Long-Context RAG
0.2
70
110
180
0.64
200
40
real_empirical
rag_005
Long-Context RAG
0.35
4,200
80
4,280
52.5
900
50
real_empirical
rag_006
Long-Context RAG
0.4
50
85
135
0.59
200
40
real_empirical
rag_007
Long-Context RAG
0.45
60
70
130
0.86
200
40
real_empirical
rag_008
Long-Context RAG
0.6
2,800
50
2,850
56
700
50
real_empirical
rag_009
Long-Context RAG
0.65
45
95
140
0.47
200
40
real_empirical
rag_010
Long-Context RAG
0.7
65
130
195
0.5
200
40
real_empirical
rag_011
Long-Context RAG
0.85
5,000
100
5,100
50
1,000
50
real_empirical
rag_012
Long-Context RAG
0.9
55
75
130
0.73
200
40
real_empirical
rag_013
Long-Context RAG
0.95
80
65
145
1.23
200
40
real_empirical
rag_014
Long-Context RAG
1.1
3,200
70
3,270
45.71
800
50
real_empirical
rag_015
Long-Context RAG
1.15
40
85
125
0.47
200
40
real_empirical
code_001
Code Generation / Agent
0.08
650
420
1,070
1.55
400
35
real_empirical
code_002
Code Generation / Agent
0.22
820
310
1,130
2.65
450
35
real_empirical
code_003
Code Generation / Agent
0.4
450
580
1,030
0.78
350
35
real_empirical
code_004
Code Generation / Agent
0.55
1,100
290
1,390
3.79
500
35
real_empirical
code_005
Code Generation / Agent
0.72
780
460
1,240
1.7
450
35
real_empirical
code_006
Code Generation / Agent
0.9
520
380
900
1.37
350
35
real_empirical
code_007
Code Generation / Agent
1.15
940
510
1,450
1.84
450
35
real_empirical
code_008
Code Generation / Agent
1.35
600
340
940
1.76
400
35
real_empirical
code_009
Code Generation / Agent
1.55
1,250
620
1,870
2.02
550
35
real_empirical
code_010
Code Generation / Agent
1.78
480
410
890
1.17
350
35
real_empirical
poisson_req_0001
High-Frequency Mixed Traffic
0.068
125
86
211
1.45
250
40
synthetic_poisson
poisson_req_0002
High-Frequency Mixed Traffic
0.157
4,626
60
4,686
77.1
800
50
synthetic_poisson
poisson_req_0003
High-Frequency Mixed Traffic
0.193
115
129
244
0.89
250
40
synthetic_poisson
poisson_req_0004
High-Frequency Mixed Traffic
0.195
209
136
345
1.54
250
40
synthetic_poisson
poisson_req_0005
High-Frequency Mixed Traffic
0.212
259
31
290
8.35
250
40
synthetic_poisson
poisson_req_0006
High-Frequency Mixed Traffic
0.321
2,602
71
2,673
36.65
800
50
synthetic_poisson
poisson_req_0007
High-Frequency Mixed Traffic
0.531
85
63
148
1.35
250
40
synthetic_poisson
poisson_req_0008
High-Frequency Mixed Traffic
0.657
258
173
431
1.49
250
40
synthetic_poisson
poisson_req_0009
High-Frequency Mixed Traffic
0.708
1,100
424
1,524
2.59
400
35
synthetic_poisson
poisson_req_0010
High-Frequency Mixed Traffic
0.826
280
142
422
1.97
250
40
synthetic_poisson
poisson_req_0011
High-Frequency Mixed Traffic
0.907
117
95
212
1.23
250
40
synthetic_poisson
poisson_req_0012
High-Frequency Mixed Traffic
0.912
87
93
180
0.94
250
40
synthetic_poisson
poisson_req_0013
High-Frequency Mixed Traffic
0.98
144
84
228
1.71
250
40
synthetic_poisson
poisson_req_0014
High-Frequency Mixed Traffic
1.001
1,447
449
1,896
3.22
400
35
synthetic_poisson
poisson_req_0015
High-Frequency Mixed Traffic
1.013
2,107
97
2,204
21.72
800
50
synthetic_poisson
poisson_req_0016
High-Frequency Mixed Traffic
1.317
185
163
348
1.13
250
40
synthetic_poisson
poisson_req_0017
High-Frequency Mixed Traffic
1.44
2,310
48
2,358
48.12
800
50
synthetic_poisson
poisson_req_0018
High-Frequency Mixed Traffic
1.466
113
242
355
0.47
250
40
synthetic_poisson
poisson_req_0019
High-Frequency Mixed Traffic
1.605
211
111
322
1.9
250
40
synthetic_poisson
poisson_req_0020
High-Frequency Mixed Traffic
1.769
124
89
213
1.39
250
40
synthetic_poisson
poisson_req_0021
High-Frequency Mixed Traffic
1.824
192
222
414
0.86
250
40
synthetic_poisson
poisson_req_0022
High-Frequency Mixed Traffic
1.858
384
130
514
2.95
250
40
synthetic_poisson
poisson_req_0023
High-Frequency Mixed Traffic
1.864
90
151
241
0.6
250
40
synthetic_poisson
poisson_req_0024
High-Frequency Mixed Traffic
1.969
75
109
184
0.69
250
40
synthetic_poisson
poisson_req_0025
High-Frequency Mixed Traffic
2.339
345
209
554
1.65
250
40
synthetic_poisson
poisson_req_0026
High-Frequency Mixed Traffic
2.34
3,639
118
3,757
30.84
800
50
synthetic_poisson
poisson_req_0027
High-Frequency Mixed Traffic
2.361
90
117
207
0.77
250
40
synthetic_poisson
poisson_req_0028
High-Frequency Mixed Traffic
2.401
1,874
314
2,188
5.97
400
35
synthetic_poisson
poisson_req_0029
High-Frequency Mixed Traffic
2.447
304
212
516
1.43
250
40
synthetic_poisson
poisson_req_0030
High-Frequency Mixed Traffic
2.471
198
74
272
2.68
250
40
synthetic_poisson
poisson_req_0031
High-Frequency Mixed Traffic
2.567
248
133
381
1.86
250
40
synthetic_poisson
poisson_req_0032
High-Frequency Mixed Traffic
2.567
55
235
290
0.23
250
40
synthetic_poisson
poisson_req_0033
High-Frequency Mixed Traffic
2.707
2,518
55
2,573
45.78
800
50
synthetic_poisson
poisson_req_0034
High-Frequency Mixed Traffic
2.848
728
397
1,125
1.83
400
35
synthetic_poisson
poisson_req_0035
High-Frequency Mixed Traffic
2.852
3,975
67
4,042
59.33
800
50
synthetic_poisson
poisson_req_0036
High-Frequency Mixed Traffic
2.895
124
213
337
0.58
250
40
synthetic_poisson
poisson_req_0037
High-Frequency Mixed Traffic
2.932
181
173
354
1.05
250
40
synthetic_poisson
poisson_req_0038
High-Frequency Mixed Traffic
2.947
377
156
533
2.42
250
40
synthetic_poisson
poisson_req_0039
High-Frequency Mixed Traffic
2.985
93
86
179
1.08
250
40
synthetic_poisson
poisson_req_0040
High-Frequency Mixed Traffic
3.013
117
85
202
1.38
250
40
synthetic_poisson
poisson_req_0041
High-Frequency Mixed Traffic
3.018
117
225
342
0.52
250
40
synthetic_poisson
poisson_req_0042
High-Frequency Mixed Traffic
3.149
119
160
279
0.74
250
40
synthetic_poisson
poisson_req_0043
High-Frequency Mixed Traffic
3.165
318
141
459
2.26
250
40
synthetic_poisson
poisson_req_0044
High-Frequency Mixed Traffic
3.208
4,164
75
4,239
55.52
800
50
synthetic_poisson
poisson_req_0045
High-Frequency Mixed Traffic
3.214
155
122
277
1.27
250
40
synthetic_poisson
poisson_req_0046
High-Frequency Mixed Traffic
3.301
5,473
62
5,535
88.27
800
50
synthetic_poisson
poisson_req_0047
High-Frequency Mixed Traffic
3.336
280
89
369
3.15
250
40
synthetic_poisson
poisson_req_0048
High-Frequency Mixed Traffic
3.35
155
94
249
1.65
250
40
synthetic_poisson
poisson_req_0049
High-Frequency Mixed Traffic
3.369
1,175
591
1,766
1.99
400
35
synthetic_poisson
poisson_req_0050
High-Frequency Mixed Traffic
3.422
391
201
592
1.95
250
40
synthetic_poisson
poisson_req_0051
High-Frequency Mixed Traffic
3.654
1,809
270
2,079
6.7
400
35
synthetic_poisson
poisson_req_0052
High-Frequency Mixed Traffic
3.698
150
53
203
2.83
250
40
synthetic_poisson
poisson_req_0053
High-Frequency Mixed Traffic
3.73
978
539
1,517
1.81
400
35
synthetic_poisson
poisson_req_0054
High-Frequency Mixed Traffic
3.77
333
283
616
1.18
250
40
synthetic_poisson
poisson_req_0055
High-Frequency Mixed Traffic
3.824
2,077
87
2,164
23.87
800
50
synthetic_poisson
End of preview. Expand in Data Studio

⏱️ LLM Serving Traces & Scheduler Performance Benchmark

A curated empirical benchmark dataset containing real and synthetic LLM request arrival traces (conversational LMSYS, long-context RAG, code generation) and empirical scheduling policy comparisons (FCFS, SJF, Chunked Prefill, SLO-Aware, Disaggregated Serving) generated by the sched-sim discrete-event engine.


πŸ“Š Quick Start

Load the traces and scheduling benchmarks in Python with one line:

from datasets import load_dataset

# Load all three benchmark splits
dataset = load_dataset("prajwalpujari16/llm-serving-traces")

# Inspect master arrival traces
df_traces = dataset["serving_traces_master"].to_pandas()
print(df_traces[["request_id", "workload_category", "prompt_tokens", "output_tokens", "slo_ttft_ms"]])

# Inspect scheduler comparison leaderboard
df_sched = dataset["scheduler_benchmark_comparison"].to_pandas()
print(df_sched[["scheduler_policy", "workload_domain", "ttft_p99_ms", "goodput_pct"]])

πŸ”¬ Dataset Splits & Tables

1. serving_traces_master.csv

Contains arrival timestamps, prompt lengths, output lengths, prefill-to-decode ratios, and SLO latency thresholds across:

  • Chatbot / Conversational: Dialogue requests from LMSYS Chatbot Arena with short prompts and moderate output tokens.
  • Long-Context RAG: Document ingestion workloads with extreme prefill-to-decode ratios ($50:1$) causing severe prefill-decode interference.
  • Code Generation / Autonomous Agents: Large output generation workloads with high memory consumption per request.
  • Synthetic Poisson & Bursty Traffic: Standardized arrival processes ($\lambda = 10 \to 15\text{ req/s}$) for queueing theory and Little's Law validation.

2. scheduler_benchmark_comparison.csv

Empirical performance metrics across 5 production scheduling policies on NVIDIA A100 (80GB):

Scheduler Policy Workload Domain TTFT p50 (ms) TTFT p99 (ms) TPOT p50 (ms) TPOT p99 (ms) Goodput (%)
FCFS (Continuous Batching) RAG 663.2 1704.5 32.2 69.5 40.0%
SJF (Shortest Prompt First) RAG 663.2 1704.5 32.2 69.5 40.0%
Chunked Prefill (Budget: 512t) RAG 625.0 1330.1 28.7 46.7 75.0%
SLO-Aware (Goodput Maximizer) RAG 726.4 1704.5 31.3 50.0 47.5%
Disaggregated (DistServe) RAG 663.2 1704.5 32.4 69.6 40.0%

3. hardware_validation_reference.csv

Empirical silicon ground-truth validation comparing discrete-event simulation predictions against physical GPU hardware runs (NVIDIA RTX 3050 Laptop GPU & AMD Ryzen 5 6600H) running Ollama (llama.cpp) and mini-infer (PyTorch eager).


🎯 Systems & Queueing Theory Insights

  1. The Prefill-Decode Interference Problem:

    • In continuous batching, a 4,000-token RAG prefill request blocks active decode iterations. Decode requests experience a massive Time-Between-Tokens (TPOT) latency spike (from 28ms to >70ms).
    • Chunked Prefill splits large prefills into chunks of budget $C=512$, keeping active decode steps unstarved and boosting Goodput from 40.0% to 75.0%.
  2. Little's Law in Serving Clusters:

    • Under steady-state arrival rate $\lambda$ and average latency $W$, the number of concurrent requests in flight is: $$L = \lambda \cdot W$$
    • For memory-bound KV-cache allocation, when $L \cdot \text{VRAM}{\text{req}} > \text{VRAM}{\text{GPU}}$, queue backpressure spikes exponentially.

πŸ› οΈ Reproducing Locally

# Install the zero-dependency discrete-event simulator
pip install sched-sim

# Run the 5-scheduler comparison on RAG traffic
sched-sim compare --workload rag --hardware a100

# Export Chromium / Perfetto trace for visual inspection
sched-sim run --scheduler chunked --trace-out trace.json

πŸ“œ Citation

@misc{pujari2026schedsim,
  author = {Prajwal Pujari},
  title = {LLM Serving Traces & Scheduler Performance Benchmark},
  year = {2026},
  publisher = {Hugging Face},
  journal = {Hugging Face Data repository},
  howpublished = {\\url{https://huggingface.co/datasets/prajwalpujari16/llm-serving-traces}}
}
Downloads last month
92

Spaces using prajwalpujari16/llm-serving-traces 2