[PR #2425] [CLOSED] Layer split auto: STRATA_SPLIT_UNIFORM=1 restores the uniform miss cost #4038

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2425
Author: @MEsfits
Created: 10/14/2026
Status: ❌ Closed

Base: main ← Head: opt-split-uniform


📝 Commits (1)

  • 6629cdf Layer split auto: STRATA_SPLIT_UNIFORM=1 restores the uniform miss cost

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 src/program/generate.cpp (+5 -1)

📄 Description

Opt-in restore of the uniform split miss cost (STRATA_SPLIT_UNIFORM=1)

Related to #2418. On x16+x4 asymmetric rigs, auto placement moved off-balance in 0.1.41 (absolute 20 GB/s scaling) and stays off-balance in 0.1.44 (relative rule from a 4x gap catches a 4.2x gap: x4.20). This adds the third option next to STRATA_SPLIT_LINK_ABS: no per-link scaling at all (the pre-0.1.41 objective). Default off — placement, resident sets and the log lines are byte-identical to main unless set.

Change (src/program/generate.cpp, +5/−1): read STRATA_SPLIT_UNIFORM; when =1, force every stage's link_scale to 1.0 after split_rules::link_miss_scale. Probing/logging untouched. split_rules::link_miss_scale itself unchanged, so split_rules_test is unaffected.

Evidence (dual RTX 3090, x4 second card, IQ3_S 262K, --pcie-frac 0.35, same prompts both arms):

arm narr code 10K 90K K
0.1.40.3 130.86 (CV 8.3%) 148.22 (CV 3.1%) 1614.29 (CV 1.4%) 3416.48 27
main default 114–119 (CV 8–9%) 135–136 (CV 6–8%) 1833–1864 3097–3144 31, x4.20
main + as_given + STRATA_SPLIT_UNIFORM=1 132.93/132.20 (CV 7–10%) 145.29/142.65 (CV 4–7%) 1567.76/1615.40 (CV 0.4–2.3%) 3297.84/3281.34 27, x1.00

Two benches each side, K=27 x1.00 lines confirmed in the log. Full write-up with the v0.1.41 A/B (iso6/iso7/iso8/iso9, incl. the pcie-frac 0.90 re-measure) is in #2418.


🔄 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/2425 **Author:** [@MEsfits](https://github.com/MEsfits) **Created:** 10/14/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `opt-split-uniform` --- ### 📝 Commits (1) - [`6629cdf`](https://github.com/Niko1221/Strata/commit/6629cdf517343bb5b7bb0a4ce32174e5b295f4f7) Layer split auto: STRATA_SPLIT_UNIFORM=1 restores the uniform miss cost ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/program/generate.cpp` (+5 -1) </details> ### 📄 Description ## Opt-in restore of the uniform split miss cost (`STRATA_SPLIT_UNIFORM=1`) Related to #2418. On x16+x4 asymmetric rigs, auto placement moved off-balance in 0.1.41 (absolute 20 GB/s scaling) and stays off-balance in 0.1.44 (relative rule from a 4x gap catches a 4.2x gap: x4.20). This adds the third option next to `STRATA_SPLIT_LINK_ABS`: no per-link scaling at all (the pre-0.1.41 objective). Default off — placement, resident sets and the log lines are byte-identical to main unless set. **Change** (`src/program/generate.cpp`, +5/−1): read `STRATA_SPLIT_UNIFORM`; when `=1`, force every stage's `link_scale` to 1.0 after `split_rules::link_miss_scale`. Probing/logging untouched. `split_rules::link_miss_scale` itself unchanged, so `split_rules_test` is unaffected. **Evidence** (dual RTX 3090, x4 second card, IQ3_S 262K, `--pcie-frac 0.35`, same prompts both arms): | arm | narr | code | 10K | 90K | K | |---|---|---|---|---|---| | 0.1.40.3 | 130.86 (CV 8.3%) | 148.22 (CV 3.1%) | 1614.29 (CV 1.4%) | 3416.48 | 27 | | main default | 114–119 (CV 8–9%) | 135–136 (CV 6–8%) | 1833–1864 | 3097–3144 | 31, x4.20 | | main + `as_given` + `STRATA_SPLIT_UNIFORM=1` | 132.93/132.20 (CV 7–10%) | 145.29/142.65 (CV 4–7%) | 1567.76/1615.40 (CV 0.4–2.3%) | 3297.84/3281.34 | 27, x1.00 | Two benches each side, K=27 `x1.00` lines confirmed in the log. Full write-up with the v0.1.41 A/B (iso6/iso7/iso8/iso9, incl. the pcie-frac 0.90 re-measure) is in #2418. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:32:40 +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#4038
No description provided.