[pr-fix][performance][memory] Lower the default DARNER_MEMORY_FLOOR_MB from 1024 to 512 #107
Loading…
Reference in a new issue
No description provided.
Delete branch "CRCODE22/Darner:fix/issue-70-memory-floor-512"
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?
Summary
The default soft floor of 1024 MB serialised first-seen pipelines into multi-second freezes on a 32 GB PC (the title commits ~17 GB; the driver's compiler takes several more; free RAM sits near 1 GB in a world load). 140 of 141 compilemem lines said pressured=true; the PC ended with 20 MB free; full-screen passes waited 1.4 to 7.2 s for their pipeline.
Lower the soft physical floor to 512 MB. Compiles still go one at a time under it, but the 4096 MB commit floor remains the hard limit that keeps the process from ending in ptxas fatal: Memory allocation failure.
Testing
Related
Fixes #70
Pull request closed