mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 19:04:50 +07:00
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#346
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/mw00/project-maya/pull/112
Author: @noahark
Created: 10/11/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @mw00
Base:
main← Head:win-tier-diag📝 Commits (1)
9917eeeWindows: log which NUMA node the RAM tier landed on at start📊 Changes
1 file changed (+63 additions, -47 deletions)
View changed files
📝
src/core/glm_fast_path.cu(+63 -47)📄 Description
One diagnostic log line for #56's Windows restart variance, zero behavior change.
What this adds: at start the engine samples the RAM tier's committed pages (
K32QueryWorkingSetEx, ~512 samples per class arena, majority node) and logs, e.g.Why: on a 2-socket Windows host the
cudaHostAlloctier lands on one side or the other as a start-to-start lottery, and the side it draws sets the whole run's decode. The evidence from this box (dual E5-2696 v3, one V100-PCIE-32GB, Maya-S-v2-IQ2_XXS, v1.0.33):cudaMemcpyH2D from pinned memory is 11.0 GB/s from node 0 (the card's PCIe side) against 9.5 GB/s from node 1 - every RAM-tier fetch and promotion crosses the socket link when the tier draws the far side.Windows offers no way to place a range this size from user space (
VirtualAllocExNumahonors its node only for fresh whole allocations - which a tier larger than a node cannot have; committing a reserved range ignores the node; page placement ignores the touching thread - all three measured in the #56 thread), so the engine cannot fix the draw today. What it can do is show it: the log line tells a Windows user which mode a start drew, and a launcher can restart on it - that holds decode at the fast mode on every start here.Notes for reviewers:
cudaDevAttrHostNumaIdwould let the line say "the far side of the GPU" outright, but it is not supported on this Volta + 582.78 driver (the attribute query fails), so the line stays node-only. The probe is Windows-only (#ifdef _WIN32), costs ~512 page queries once at start, and is silent (no line) when the working-set query is unavailable or the arenas disagree.tools/diagnostic.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.