[PR #3930] [Docs] MULTI_GPU: say when a layer split pays on a slow CPU #4839

Open
opened 2026-11-07 15:39:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3930
Author: @NorwinYu
Created: 10/24/2026
Status: 🔄 Open

Base: main ← Head: docs/layer-split-pays-on-slow-cpu


📝 Commits (1)

  • f17e8b5 docs(MULTI_GPU): say when a layer split pays on a slow CPU

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 docs/MULTI_GPU.md (+8 -0)

📄 Description

Problem and result

docs/MULTI_GPU.md says a second card is on par with the faster card alone for decode, and that a third,
slower card makes a pair slower. Both were measured on a fast desktop CPU. A reader with two identical
older cards on a slower workstation CPU cannot tell from that page which side of the line they are on,
and on such a machine the answer is not "on par".

After: one bullet under "Which cards and in what order" that names the condition — the CPU pool is what
the window waits on — with the measured numbers and the mechanism behind them.

The full report and raw data are in the benchmark PR: #3929. No issue: this is a docs
note backed by measurements, not a behaviour change.

Approach

One bullet, docs only. No code and no default is touched. It states:

  • the measured pair on two RTX 2080 Ti over a dual-socket Xeon E5-2696 v4 at 180 W, engine 0.1.49:
    decode 35.2 -> 51.0 tok/s, an 11.6K prompt 672 -> 908 tok/s;
  • the mechanism from STRATA_DECODE_TIMING=1: the window 70.06 -> 37.96 ms, because the CPU pool falls
    9.52 -> 0.79 ms per window;
  • that the "on par" number above it was measured on a fast CPU, so the two statements do not contradict.

Validation

Passed: the numbers are taken from the benchmark report that goes with this change, and the
STRATA_DECODE_TIMING=1 output for both configs was read directly (window, CPU pool and GPU-reach values
above).

Failed: none observed.

Not run: no build is affected, so CUDA, HIP, SYCL and Metal are untouched. No second host was
available to check that the sentence reads correctly for someone who has not seen the report.

Limits

  • One measurement, one pair of cards, one CPU. The bullet says "pays most when the CPU pool is the
    bottleneck" rather than giving a threshold, because I did not measure where the crossover is.
  • The engine-log window breakdown serialises a little and is not the same statistic as the API-level
    decode numbers next to it; the bullet keeps them in separate sentences.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3930 **Author:** [@NorwinYu](https://github.com/NorwinYu) **Created:** 10/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs/layer-split-pays-on-slow-cpu` --- ### 📝 Commits (1) - [`f17e8b5`](https://github.com/Niko1221/Strata/commit/f17e8b548f75960a4df44edde24a547d80a2b7ed) docs(MULTI_GPU): say when a layer split pays on a slow CPU ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/MULTI_GPU.md` (+8 -0) </details> ### 📄 Description ## Problem and result `docs/MULTI_GPU.md` says a second card is on par with the faster card alone for decode, and that a third, slower card makes a pair slower. Both were measured on a fast desktop CPU. A reader with two identical older cards on a slower workstation CPU cannot tell from that page which side of the line they are on, and on such a machine the answer is not "on par". After: one bullet under "Which cards and in what order" that names the condition — the CPU pool is what the window waits on — with the measured numbers and the mechanism behind them. ## Related discussion The full report and raw data are in the benchmark PR: #3929. No issue: this is a docs note backed by measurements, not a behaviour change. ## Approach One bullet, docs only. No code and no default is touched. It states: - the measured pair on two RTX 2080 Ti over a dual-socket Xeon E5-2696 v4 at 180 W, engine 0.1.49: decode 35.2 -> 51.0 tok/s, an 11.6K prompt 672 -> 908 tok/s; - the mechanism from `STRATA_DECODE_TIMING=1`: the window 70.06 -> 37.96 ms, because the CPU pool falls 9.52 -> 0.79 ms per window; - that the "on par" number above it was measured on a fast CPU, so the two statements do not contradict. ## Validation **Passed:** the numbers are taken from the benchmark report that goes with this change, and the `STRATA_DECODE_TIMING=1` output for both configs was read directly (window, CPU pool and GPU-reach values above). **Failed:** none observed. **Not run:** no build is affected, so CUDA, HIP, SYCL and Metal are untouched. No second host was available to check that the sentence reads correctly for someone who has not seen the report. ## Limits - One measurement, one pair of cards, one CPU. The bullet says "pays most when the CPU pool is the bottleneck" rather than giving a threshold, because I did not measure where the crossover is. - The engine-log window breakdown serialises a little and is not the same statistic as the API-level decode numbers next to it; the bullet keeps them in separate sentences. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4839
No description provided.