Projects / Developer tools

System Resource Manager

A machine-wide budget for heavy work, so two test suites don't start at once

System Resource Manager is a broker daemon, CLI and tray app that hands out slots for heavy jobs on a shared computer. Work waits its turn instead of overloading the machine, which keeps test results honest. It also shows what is using the machine, and other machines and devices on the network.

What it does

  • srmctl run wraps any command and waits for free slots
  • A lease is a connection, so crashed jobs free their slots at once
  • Fair queue that lets small jobs fill gaps without starving big ones
  • Windows Job Objects for low priority and exact CPU accounting
  • Spots heavy build tools running outside the budget