Skip to content

perf(ci): rebalance the Tier 2 Linux suite shard against the two serial shards #3021

Closed

Description

@zackees

Part of #2072. Measured on merge-queue runs 41016256643, 41016111952, 41016071677, 41015283649, 41006754325.

The `tests ON`/`tests OFF` suite jobs take 170-185 s; their ctest runs 123-128 s at `-j8` for ~1000 test-seconds of work (run 41006754325: ON 1021 s summed, 127.8 s wall; OFF 984 s, 123.2 s). The serial shards run only the five RUN_SERIAL `test_deinterlace_2x_field_order_*` rate entries: `serial-1-of-2` 71 s ctest, `serial-2-of-2` 47 s, and otherwise sit idle.

`test_slideshow_mem_cap` (102 s, ~105 s alone under llvmpipe per #2289) starts first and bounds the suite from below, so it must stay in the suite (it would run after the serial tests on a serial runner: 47 + 102 s). The suite is slot-bound above that floor.

Plan: move a fixed set of mid-length non-serial tests into the serial shards (ctest runs them after/before the RUN_SERIAL ones on that runner, never beside them): serial-2 takes the ~30-40 s tests (wall +~40 s), serial-1 the ~25 s ones (+~26 s). Target: suite ctest ~105 s, serial-1 ~97 s, serial-2 ~87 s; no new runners. Every test still runs exactly once per mode; pinned by `ci/test_tier2_serial_part.py`. No C test or header changes.

Activity

  1. added
    infra
    on Oct 30, 2026
  2. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Claiming: #3021, together with #3022 in one PR (RED then GREEN per issue). Plan: 1) RED ci test pinning the serial-shard companions, 2) GREEN serial-tests.py + validate.sh + companions file; measure on the PR run. PR today.

  3. added
    ready
    on Oct 30, 2026
  4. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Landed in #3023. PR run 41021230867: suite ctest 128/123 s -> 103/102 s; serial-1 71 -> 95 s, serial-2 47 -> 87 s. Longest Tier 2 test job: 170-185 s before; 152 s on the PR run, 167 s on queue run 41023136317 (ON serial-1). No new runners.

  5. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Landed in #3023: slowest Tier 2 shard 170–185 s → 152 s (PR) / 167 s (queue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

infraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions