Commit def6f54
committed
fix(bench): gate oversubscribed C>=4 unbounded shapes behind a define
bench_unbounded was hanging in CI on the unbounded_sipmuc 1p4c shape:
4 consumers compete in a strict round-robin slot order (each consumer
must take its turn before another can pop), and on a 4-vCPU runner
one descheduled consumer blocks every other. The same starvation
pattern hits every unbounded mupmuc shape with C>=4.
Add `-d:BenchSkipOversubscribed` (set in PR CI bench.yml) that drops:
- unbounded_sipmuc/mpmc_unbounded/1p4c
- unbounded_mupmuc/mpmc_unbounded/{1p4c, 2p4c, 4p1c, 4p2c, 4p4c}
mupsic shapes (multi-producer, single consumer) are kept regardless:
the round-robin ordering exists on consumers only, so a single consumer
cannot starve. mupsic 4p1c is also in tests/fixtures/pre-split-slugs.json
and the deletion-safety guard would fail without it.
The full grid still runs in `bench-comparison.yml` nightly cron / on
workflow_dispatch where a beefier runner is available. PR CI now gets
the meaningful subset (4 mupmuc shapes covering each P,C in {1,2})
that fits a 4-vCPU runner without hanging.1 parent 8149901 commit def6f54
2 files changed
Lines changed: 27 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
445 | | - | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
446 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
450 | 455 | | |
451 | 456 | | |
452 | 457 | | |
453 | 458 | | |
454 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
455 | 467 | | |
456 | 468 | | |
457 | 469 | | |
458 | 470 | | |
459 | | - | |
460 | | - | |
461 | 471 | | |
462 | 472 | | |
463 | 473 | | |
464 | 474 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
473 | 486 | | |
474 | 487 | | |
475 | 488 | | |
| |||
0 commit comments