Skip to content

[Blog]: What Does Tracing Cost the EPP? Measuring OpenTelemetry Overhead in llm-d - #543

Open
albertoperdomo2 wants to merge 6 commits into
llm-d:mainfrom
albertoperdomo2:blog/epp-tracing-overhead
Open

albertoperdomo2 wants to merge 6 commits into
llm-d:mainfrom
albertoperdomo2:blog/epp-tracing-overhead

Conversation

@albertoperdomo2

@albertoperdomo2 albertoperdomo2 commented Nov 9, 2026 •

Copy link
Copy Markdown

What does this PR do?

Adds a blog post on the performance cost of OpenTelemetry tracing in the Endpoint Picker (EPP) on llm-d v1.0.0. It follows up on End-to-End and Fine-Grained Tracing in llm-d, which recommends 10% parent-based sampling, by measuring what that setting and 100% sampling cost under load.

The post covers where tracing work happens in the EPP, how the study was run (a simulated pool and live vLLM at a fixed 400 requests/s with three runs per configuration, plus a simulator sweep over rates, concurrency, token shapes, and response modes), the client, EPP-internal, and CPU profile results, the study's limits, and how to run and verify tracing in production. It includes four SVG figures and adds two authors to blog/authors.yml.

Files:

  • blog/2026-12-01_epp-tracing-overhead-in-llm-d.mdx
  • static/img/blogs/epp-tracing-overhead/figure{1..4}-*.svg
  • static/img/blogs/albertoperdomo.webp
  • blog/authors.yml: adds albertoperdomo2 and rdoddaia

Why is this change needed?

Operators deciding whether to enable EPP tracing, and at which ratio, have had a recommendation without published numbers behind it. On llm-d v1.0.0:

  • 10% sampling showed no measurable client-side cost. EPP CPU changed by -1% to +7%, within the spread between tracing-off runs.
  • 100% sampling raised EPP CPU by 11% to 26% (0.07 to 0.15 cores at 400 requests/s) and the share of scheduling decisions over 100 µs from 0.35%–0.77% to 1.73%–3.47%, with no consistent change in client latency.

The post recommends 10% for production and 100% for bounded diagnosis, and shows how to check the effective sampling ratio.

How was this tested?

  • Tests added/updated (npm test)
  • Site builds successfully (npm run build:all)
  • Check links after building (npm run check-links)
  • Manual testing performed (npm run serve)

The results come from a rerun of the study on llm-d v1.0.0, as requested in review. The earlier v0.10.0 study and its reproduction files are in llm-d/llm-d-router#3068 and are linked from the post. Each figure was rendered in a browser and checked for label overlap and clipping.

Review feedback from gyliu513 is addressed in the v1.0.0 rewrite, including v1.0.0 span names, sampler fallback behavior, non-Helm settings, the OTEL_SERVICE_NAME default, the effective-ratio check, window quantiles, and the token-shape table.

Checklist

  • Commits are signed off (git commit -s) per DCO
  • Code follows project contributing guidelines
  • Tests pass locally (npm test)
  • Site builds without errors (npm run build:all)
  • No broken links after building full site (npm run check-links)
  • Documentation updated (if applicable)

Related Issues

Related to llm-d/llm-d#2389 and llm-d/llm-d-router#2665. The earlier v0.10.0 study is in llm-d/llm-d-router#3068.

@netlify

netlify Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

👷 Deploy request for llm-d pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a018d37

@albertoperdomo2

Copy link
Copy Markdown
Author

cc: @gyliu513

@albertoperdomo2 albertoperdomo2 changed the title feat: Add EPP tracing overhead blog and assets [Blog]: What Does Tracing Cost the EPP? Measuring OpenTelemetry Overhead in llm-d Nov 9, 2026
@albertoperdomo2

Copy link
Copy Markdown
Author

The deploy preview fails because of a duplicate ashokchandrasekar entry in blog/authors.yml on main, not because of this post. #542 removes it; I'll update this branch once it merges.

@gyliu513

gyliu513 commented Nov 9, 2026

Copy link
Copy Markdown
Member

@albertoperdomo2 can you check why deploy failed? It will be great if we can review the blog via the ci deploy.

@albertoperdomo2

Copy link
Copy Markdown
Author

@gyliu513 the deployment failed because of the duplicate author in the blog/authors.yaml that #542 fixes.

@albertoperdomo2
albertoperdomo2 force-pushed the blog/epp-tracing-overhead branch from 62d362f to 102e561 Compare November 9, 2026 15:50
@albertoperdomo2

albertoperdomo2 commented Nov 9, 2026 •

Copy link
Copy Markdown
Author

@gyliu513 #542 has been merged 👍🏽 so the CI deployment is ready

@gyliu513

Copy link
Copy Markdown
Member

Thanks @albertoperdomo2 @rdoddaia , nice write up! The major concern from me is the test still against EPP v0.10.0, but we have released v1.0.0 already, is it possible to re-run the test against v1.0.0 and update the blog based on 1.0.0 result? I think this will be very helpful for some potential end users if they want to try v1.0.0, comments?

@albertoperdomo2
albertoperdomo2 force-pushed the blog/epp-tracing-overhead branch from 416ec1f to 5eda460 Compare December 1, 2026 10:21

@gyliu513 gyliu513 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @albertoperdomo2 for the update, minor comments here, hope we can publish this soon.

title: "What Does Tracing Cost the EPP? Measuring OpenTelemetry Overhead in llm-d"
description: "A load study of Endpoint Picker tracing in llm-d v1.0.0: off, 1%, 10%, and 100% sampling on a simulated pool and on live vLLM, plus a simulator sweep that adds 0% and 50%. Where the overhead comes from, how we measured it, what we found, and how to run tracing in production."
slug: epp-tracing-overhead-in-llm-d
date: 2026-11-09T09:00

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The post is dated 2026-11-09, but it will be published in December

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm setting today's date but we can modify it once we know the exact publishing date.

@gyliu513

gyliu513 commented Dec 1, 2026

Copy link
Copy Markdown
Member

lgtm, thanks @albertoperdomo2 !

@ahg-g can you help review? Thanks

Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
…ersion

Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
Split two joined bullets, correct the precise prefix-cache span names, note that the nine-span count applies to the optimized-baseline configuration, and move the post to December 1.

Signed-off-by: Alberto Perdomo <aperdomo@redhat.com>
@albertoperdomo2
albertoperdomo2 force-pushed the blog/epp-tracing-overhead branch from 950f567 to a018d37 Compare December 1, 2026 15:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants