Repository navigation
-
cpuq jobs: a job is a folder of task files run by a driver of its own (README, "Jobs").
cpuq jobs runinjobs/NAME/STAMP/runstodo/with N workers, each task's text up to its
first blank line undersh, moving each file todone/,fail/, or back totodo/after a
death (the third fails it).status,watch,set workers|weight|gap,pause,resume,
stopandresetact on the folder they run in.cpuq jobslists the job folders, then the
submitted jobs as before. -
cpuq test SPECruns a spec withtasks(instead ofrun): aftersetup, its tasks
command writes a file per task into$CPUQ_TODO, and the host runs them as a job with
cpuq jobs run, outside any grant, each with$CPUQ_CODE. One test per worktree: the same code
attaches, changed code replaces. Failures are listed by name and come back to.cpuq/fail/. -
cpuq agentkeeps the machine at its target load and shares it among the running jobs by
weight, setting each job's workers and gap each second from what its workers cost; a count a
user set holds.cpuq agent --installkeeps it running.cpuq attachjoins stdin and stdout to
it:jobslists the jobs,to FOLDER COMMANDsteers one. Weights are whole numbers. -
cpuq status --jsonlists the running jobs (jobs): workers and who set them, weight,
counts, and the CPU each uses; their processes are not counted outside cpuq. -
cpuq cap --link FDstops the program's tree at once, exit 123, when the pipe's other end
closes: its driver is gone. -
Linux: a job is confined to as many CPUs as its grant (affinity), those the running jobs
use least, listed inCPUQ_CPUS. -
needsin a spec names caches (from itscaches) that must already hold files on a host:
inputs filled by hand on some hosts only.cpuq submitpasses over a host where one is missing
or empty,--on's too, with a line saying which; none left is NOT RUN.