[GH-ISSUE #4070] Intel Xe telemetry reports one shared sample for two Arc Pro B70 GPUs #1766

Closed
opened 2026-11-04 01:53:52 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @andreaspetersdev on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4070

Environment

  • Strata 0.2.4.2, commit 7dd5cf18
  • Linux Xe driver, two Intel Arc Pro B70 GPUs
  • xpu-smi discovery: GPU 0 at 0000:04:00.0, GPU 1 at 0000:08:00.0
    Strata configured with gpu: [0, 1] and ONEAPI_DEVICE_SELECTOR=level_zero:0,1

Reproduction
Start Strata with both GPUs selected.
Run the stock sampler: sudo python3 sycl/tools/gpustat.py.
Open Strata Monitor’s GPU view while the model is loaded.

Actual behavior
The monitor cannot report independent VRAM usage and utilization for the two cards. The stock sampler publishes one GPU’s data in /run/gpustat.json, and each _XeGpu reader consumes that same top-level sample. Without the sampler, VRAM usage and utilization are unavailable.

Expected behavior
Each GPU row should use readings for its own PCI device. VRAM totals should represent each card’s physical VRAM, and DRM client accounting should remain separate between cards.

Relevant code

  • sycl/tools/gpustat.py selects one PCI device, emits a single-GPU JSON object, and deduplicates DRM clients by drm-client-id alone. Xe fdinfo also provides drm-pdev, which identifies the PCI device.
  • sycl/serve/xe_telemetry.py reads the same /run/gpustat.json object for every _XeGpu instance without matching its PCI address.
  • The sampler estimates total VRAM from the largest PCI BAR, which need not equal physical VRAM.

A local diagnostic sampler that groups fdinfo by (drm-pdev, drm-client-id) and publishes PCI-addressed GPU entries produces separate readings for both B70s. The reader can then associate each entry with its card’s PCI address.

Originally created by @andreaspetersdev on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4070 Environment - Strata 0.2.4.2, commit 7dd5cf18 - Linux Xe driver, two Intel Arc Pro B70 GPUs - xpu-smi discovery: GPU 0 at 0000:04:00.0, GPU 1 at 0000:08:00.0 Strata configured with gpu: [0, 1] and ONEAPI_DEVICE_SELECTOR=level_zero:0,1 Reproduction Start Strata with both GPUs selected. Run the stock sampler: sudo python3 sycl/tools/gpustat.py. Open Strata Monitor’s GPU view while the model is loaded. Actual behavior The monitor cannot report independent VRAM usage and utilization for the two cards. The stock sampler publishes one GPU’s data in /run/gpustat.json, and each _XeGpu reader consumes that same top-level sample. Without the sampler, VRAM usage and utilization are unavailable. Expected behavior Each GPU row should use readings for its own PCI device. VRAM totals should represent each card’s physical VRAM, and DRM client accounting should remain separate between cards. Relevant code - sycl/tools/gpustat.py selects one PCI device, emits a single-GPU JSON object, and deduplicates DRM clients by drm-client-id alone. Xe fdinfo also provides drm-pdev, which identifies the PCI device. - sycl/serve/xe_telemetry.py reads the same /run/gpustat.json object for every _XeGpu instance without matching its PCI address. - The sampler estimates total VRAM from the largest PCI BAR, which need not equal physical VRAM. A local diagnostic sampler that groups fdinfo by (drm-pdev, drm-client-id) and publishes PCI-addressed GPU entries produces separate readings for both B70s. The reader can then associate each entry with its card’s PCI address.
bsakaguchi 2026-11-04 01:53:52 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 25, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6395510818 --> @github-actions[bot] commented on GitHub (Oct 25, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6520966200 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#1766
No description provided.