You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2980e91
Browse filesBrowse the repository at this point in the historyBrowse files
i2cjak
authored
Merge pull request #158 from i2cjak/backplane/boat-job-warm
boat-job: warm sandbox per thread (reuse, idle window, start guard); PROOF on large by default
|`scripts/check.sh proof`|exit 0| 98 s | 4.32 GB |
57
+
|`scripts/check.sh` (type-check + PROOF) | exit 0 until #149; since then PROOF is OOM-killed at 7.45 GB: use large (the default for it now) | 149 s | 4.29 GB (before #149)|
58
+
|`scripts/check.sh proof`|as above| 98 s | 4.32 GB (before #149)|
| native `BACKPLANE_LOW_MEM=1 scripts/build-app.sh src/app/main.bend build/backplane` (4 GiB heap hint, one clang at a time; `CC=clang-19`, `libx11-dev`, `libasound2-dev` installed in the job, `BACKPLANE_GOOGLE_BAKE=0`) | exit 0 twice; the built binary starts `--headless` and answers `/hello`| 17–21 min | 6.7–7.1 GB (0.6–1.0 GB left free: tight) |
39
61
@@ -54,7 +76,8 @@ Every job's files are in `~/.local/state/backplane/boat/jobs/<job>/`:
54
76
flag, manifest hash, Bend version and sha256, sandbox, size, command, exit).
55
77
56
78
## Options
57
-
-`--size small|default|large`: 2 vCPU / 4 GB at half rate, 4 vCPU / 8 GB, or 8 vCPU / 16 GB at twice the rate. Default is default; ask for large only when the job is measured to need it.
79
+
-`--size small|default|large`: 2 vCPU / 4 GB at half rate, 4 vCPU / 8 GB, or 8 vCPU / 16 GB at twice the rate. Default: large for PROOF, default for the rest; ask for large otherwise only when the job is measured to need it.
80
+
-`--idle SECS`, `--keep-build`, `--no-reuse`: the warm sandbox (above).
58
81
-`--timeout SECS` (default 1800): the command's limit; the sandbox lives at most that + 10 min, and never more than 2 h.
59
82
-`--artifact PATH` (repeat): copied back from the sandbox before it is deleted.
60
83
-`--exclude GLOB` (repeat): more files to keep out of the upload.
0 commit comments