[pr-performance] Play: worker-count defaults rise with the CPU instead of capping at 2 to 8 #37
Loading…
Reference in a new issue
No description provided.
Delete branch "Coder629nx/Darner:cpu-parallel"
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?
What it changes
Five helper pools the frame waits on — THIN lists, descriptor views and records, landings, merges under the card's writes, buffer copies and compares — defaulted to a quarter, three eighths or a half of the logical processors with caps at 2 to 8, or to fixed counts (4, 6). On a 16-thread CPU that is 4, 6 or 8 workers while the submitting thread waits on them and the card stands idle behind the CPU. The defaults now scale:
DARNER_THIN_THREADS: three quarters of the logical processors, 2 to 16 (was half, 2 to 8).DARNER_WIDE_THREADS: three quarters, 2 to 16 (was three eighths, 2 to 8).DARNER_LAND_THREADS: half, 1 to 8 (was a quarter, 1 to 4).DARNER_UNDER_THREADS: half with a floor of 6, 6 to 12 (was fixed 6).DARNER_VIEW_THREADS: a quarter for views (4 to 8), half for records (6 to 12) (was fixed 4 and 6).A switch set by hand wins in every case, as before. The README rows are updated to the new defaults.
How it was tested
mainhere (README conflict with the newDARNER_THIN_*rows resolved by hand; the net diff is unchanged: 4 files, +17/-14).threads kept ...lines). No bench on real hardware yet.Checklist
main.docs/asset-policy.md.Checked for overlap
ceb6f457e4tof8840f8bccView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.