[PR #1765] [CLOSED] docs: Intel Arc A770 decode speed investigation record #3656

Closed
opened 2026-11-07 15:29:51 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1765
Author: @duncanmcqueen
Created: 10/9/2026
Status: ❌ Closed

Base: main ← Head: a770-spec-doc


📝 Commits (1)

  • d6f6336 docs: Intel Arc A770 decode speed investigation record

📊 Changes

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

View changed files

➕ docs/A770_SPEED_SPEC.md (+761 -0)

📄 Description

Summary

Adds docs/A770_SPEED_SPEC.md, the measured record of an investigation into why Qwen3.8-Flash-Next (Coder IQ1_M) decodes slowly on an Intel Arc A770 in the SYCL port. It is a document only (no code change): the point is to save the next person the work of retrying the same experiments.

What it records

  • Baseline: ~12 tok/s decode (546-token prompt, 256 generated), warm, on this A770 (xe, PCIe 3.0 x4).
  • Bottleneck (measured): the decode window is ~87% the per-layer CPU expert-pool handoff (waitA/waitB/copy+combine), and gputop shows the GPU only ~20% busy — decode is not GPU-bound. The expert kernel (~24 ms/window) and hyper-connection read (~7 ms) are minor.
  • Every lever tried, with its result: spec window width, --spec-min-p, --spec-split, --pool-workers, expert-cache size, --adapt-swaps, --pcie-frac, GRF size, grouped-expert lanes, the MMVF rows path, --kv q4_0. All null or worse.
  • The one lever that could help and why it is blocked: holding all ~19 GB of experts resident across the A770 + a second Arc via --layer-split loads ideally (97.5% of routed mass resident, "zero-doorbell graph") but crashes because the port's command-graph capture is single-context and a two-device split has two SYCL contexts (verify.cpp:1706). --peer-device is stubbed for SYCL.
  • A note on the SYCL profiling situation (STRATA_VERIFY_PROFILE/EAGER both fail with payload never arrived whole).

Extra Notes

Every number names its configuration and what it was measured on. The document is deliberately a record, including the rejected experiments, so it is long; it is not a proposal.


🔄 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/1765 **Author:** [@duncanmcqueen](https://github.com/duncanmcqueen) **Created:** 10/9/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `a770-spec-doc` --- ### 📝 Commits (1) - [`d6f6336`](https://github.com/Niko1221/Strata/commit/d6f6336b5bd892c2ace97a70b7e1127cc9f9469c) docs: Intel Arc A770 decode speed investigation record ### 📊 Changes **1 file changed** (+761 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `docs/A770_SPEED_SPEC.md` (+761 -0) </details> ### 📄 Description ## Summary Adds `docs/A770_SPEED_SPEC.md`, the measured record of an investigation into why Qwen3.8-Flash-Next (Coder IQ1_M) decodes slowly on an Intel Arc A770 in the SYCL port. It is a document only (no code change): the point is to save the next person the work of retrying the same experiments. ## What it records - **Baseline:** ~12 tok/s decode (546-token prompt, 256 generated), warm, on this A770 (`xe`, PCIe 3.0 x4). - **Bottleneck (measured):** the decode window is ~87% the per-layer CPU expert-pool handoff (`waitA`/`waitB`/`copy+combine`), and `gputop` shows the GPU only ~20% busy — decode is not GPU-bound. The expert kernel (~24 ms/window) and hyper-connection read (~7 ms) are minor. - **Every lever tried, with its result:** spec window width, `--spec-min-p`, `--spec-split`, `--pool-workers`, expert-cache size, `--adapt-swaps`, `--pcie-frac`, GRF size, grouped-expert lanes, the MMVF rows path, `--kv q4_0`. All null or worse. - **The one lever that could help and why it is blocked:** holding all ~19 GB of experts resident across the A770 + a second Arc via `--layer-split` loads ideally (97.5% of routed mass resident, "zero-doorbell graph") but crashes because the port's command-graph capture is single-context and a two-device split has two SYCL contexts (`verify.cpp:1706`). `--peer-device` is stubbed for SYCL. - A note on the SYCL profiling situation (`STRATA_VERIFY_PROFILE`/`EAGER` both fail with `payload never arrived whole`). ## Extra Notes Every number names its configuration and what it was measured on. The document is deliberately a record, including the rejected experiments, so it is long; it is not a proposal. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:29:51 +07:00
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#3656
No description provided.