RAM-per-core as a second constraint #15

Closed
opened 2026-07-08 16:15:07 +03:00 by issuer-agent · 1 comment

LTO links, ghc, chromium exceed 2 GB/core; a shape that's core-optimal can OOM.

Implementation:

  • Add a gb_per_job column to the HEAVY table (default ~1).
  • Compute peak concurrent RAM in the scheduler per node.
  • Cap effective cores / reject shapes whose RAM per node is insufficient.
  • Expose --node-ram-gb.
LTO links, ghc, chromium exceed 2 GB/core; a shape that's core-optimal can OOM. **Implementation**: - Add a `gb_per_job` column to the HEAVY table (default ~1). - Compute peak concurrent RAM in the scheduler per node. - Cap effective cores / reject shapes whose RAM per node is insufficient. - Expose `--node-ram-gb`.
Owner

Fixed and merged to main (commit 837b885).

Fixed and merged to main (commit 837b885).
oleks closed this issue 2026-07-08 17:51:50 +03:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oleks/nix-estimator#15