Commit 53df0fe
ci(prod-vectors): unpin rayon and lower xdist workers for prod fill (leanEthereum#920)
The prod fixture fill spends ~56m almost entirely in the real_crypto
smoke vectors, which build genuine production XMSS proofs.
Each proof parallelizes internally with rayon, but the job pinned
RAYON_NUM_THREADS=1 while running one xdist worker per core, so every
heavy proof was starved to a single thread.
Add a FILL_WORKERS knob to the canonical fill recipe (default auto, so
the test-scheme job is unchanged) and set it to 2 for the prod job, with
rayon left unpinned. A heavy proof can now spread across cores instead of
one thread, while two workers still overlap proofs and clear the mocked
backlog.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 2810c20 commit 53df0fe
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments