mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #487] [CLOSED] PCIe probe: median of several primed bursts instead of one #2662
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2662
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/487
Author: @yannickloth
Created: 10/2/2026
Status: ❌ Closed
Base:
main← Head:fix/pcie-probe-median📝 Commits (1)
c434fccPCIe probe: median of several primed bursts instead of one📊 Changes
1 file changed (+26 additions, -10 deletions)
View changed files
📝
src/program/generate.cpp(+26 -10)📄 Description
probe_pcie_h2d_gbps()took a single 256 MiB x4 pinned burst after one warmup. On one x16 PCIe 4.0 link the same binary read 18.5, 6.9 and 5.8 GB/s across starts, and the low samples pinpcie_fracat 0.12-0.15 where calibration picks 0.35 (see #485).This primes the link with two untimed copies and returns the median of five timed bursts, so one contended or not-yet-ramped sample cannot set the load's share. A >= 20 GB/s link still yields
pcie_frac 0.55; a genuinely slow link now reports its true (low) rate instead of a worse outlier.No new dependencies (
<algorithm>is already included).Refs #485.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.