sched: with the heads' queue thin, main's idle checks took the node whole (95 spare-tier jobs, 1,079 cores by width, in 40 s) and the heads then started 23 jobs in 15 minutes with 430 asks waiting for room #79
Open
opened 2026-11-15 06:33:39 +00:00 by xemmerling
·
0 comments
No Branch/Tag specified
main
sched/probe-floor
sim/session-home
speed/session-home-main
overbook-reland
overbook-demand
speed/sources
speed/end-cost
speed/session-home
speed/storage
speed/delivery
overbook
roots-hotfix
privileged-vm
image-store
sandbox-bump
found-by-package
mac-node
dev/schema-step-order
t-join-release
t-work-booking
t-ahead-deadlock-wip
t-hotfix-9ae
t-width-work
t-id-token-renew
t-claim-unkept
t-resume-live
t-run-record
t-all-lockfiles
t-relay-offset
t-blame-event
t-freer-links
t-load-tests
t-jobserver2
t-starved-timeout
t-client-pack
t-offline-config
t-test-plan
t-told-resume2
t-jobserver
t-told-resume
t-outbound2
t-crash-open-bench
t-told-once
guest-never-below-given
admit-page-cache-active
pooled-admission
driver-give-back
no-sizes
one-driver-per-check
archive/vm-root-share
archive/build-out-kept
archive/cargo-perf
archive/virtiofs-readdir-alloc
archive/vm-outputs-stream
archive/stable-verify-priority
archive/agents-1
archive/stack-parallel
archive/cpu-admission
archive/narrow-from-every-log
archive/old-t
archive/worker-store-gc
archive/failing-builds-kept
archive/vm-cargo-home
archive/lifecycle
archive/bench-own-cores
archive/place-test-binaries-nocopy
archive/vm-net-upload-stall
archive/booking-current-use
archive/archive-dep-out-dirs
archive/any-arch-shards
archive/prepare-stall-progress-ns20
archive/s2
archive/next-set-20
archive/store-full-waits
archive/fetch-caps-by-node
archive/vm-step-phases
archive/arm-only-for-arm
archive/deploy-all-workers
archive/lifecycle-staging
archive/lifecycle-1-wire
archive/fast-gate
archive/cargo-key-narrow
archive/log-leads-followup
archive/gate-limit
archive/prepare-stall-vm-bytes
archive/lifecycle-2-ends
archive/cache-hits-bind
archive/failing-reused
archive/oci-archive-direct
archive/prepare-stall-progress
archive/test-quarantine
archive/crash-safe-on-18
archive/build-script-etxtbsy
archive/old-release
archive/next-set-19c
archive/wait-reasons
archive/cache-put-best-effort
archive/hang-not-t-time
archive/shard-test-results
archive/vm-carry-on-17
archive/check-test-filter
archive/artifact-path-beneath
archive/stall-room-xfs
archive/build-dir-no-recopy
archive/cache-hits-link
archive/outputs-no-follow-on-copy
archive/outputs-no-follow
archive/next-set-19
archive/hang-detect
archive/stable-verify-stable-plan
archive/freer-target-only
archive/lease-pricing-narrow
archive/vm-outputs-once
archive/queue-place-starved
archive/publish-reads
archive/disk-warning-scratch
archive/outputs-no-copy
archive/wd-probe-3min
archive/watchdog-on-d65
archive/log-leads-with-excerpt
archive/queue-place
archive/prep-watchdog-progress
archive/cache-put-stack-room
archive/cache-put-stack
archive/place-by-pace
archive/nested-sync-helper
archive/next-set-18y
archive/archive-bins-by-env-19
archive/next-set-18
archive/disk-want-held
archive/young-booking-back
archive/flaky-tests-1027b
archive/next-set-17
archive/prep-start-at-close
archive/unpack-error-on-17
archive/server-memory-high
archive/vm-start-held
archive/vm-carry-on-14
archive/space-trim-registry-room
archive/file-cache-ns16
archive/unpack-error-final
archive/crash-safe-worker
archive/server-space-trim
archive/status-big-runs
archive/nested-tmp-volatile
archive/publish-refresh
archive/gc-cache-quiet-reads
archive/next-set-16
archive/vm14-proof
archive/csw-node-kill
archive/unpack-link
archive/vm-tests-15
archive/seccomp-allow-field
archive/flaky-tests-1027-ns15
archive/shard-fail-fast
archive/server-node-check
archive/live-log-restart
archive/unpack-no-orphans
archive/flaky-tests-1027
archive/fetch-share-images
archive/fetch-images-red4
archive/forget-cached
archive/put-file-once-ns15
archive/recheck-rank-15
archive/fetch-images-red3
archive/unpack-no-orphans-red2
archive/fetch-io-pass-followups
archive/sandbox-no-fallback-ns15
archive/unpack-no-orphans-red
archive/archive-bins-by-env-ns15
archive/ns15-proof
archive/next-set-15
archive/archive-bins-by-env
archive/vm-guest-panic-15
archive/sandbox-no-fallback
archive/recheck-rank
archive/placement-ahead-bound
archive/carry-keeps-listing
archive/registry-parallel-pull
archive/sandbox-tests-15
archive/attempt-log-live-15
archive/follow-progress-16
archive/follow-progress-15
archive/ns15-archive-base
archive/fetch-io-max-on-13
archive/fetch-images-red2
archive/transient-build-fail-15
archive/test-ended-early-15
archive/archive-keep-cleanup
archive/main-merge-14
archive/sandbox-clone3-fallback
archive/vm-carry-on-13
archive/fetch-io-sweep-15
archive/vm-root-disk-fixes
archive/vm-guest-panic
archive/follow-progress-14
archive/archive-keep-on-demand
archive/vm-exit-unseen
archive/file-cache-share
archive/bwrap-root-userns
archive/transient-build-fail
archive/fetch-io-max
archive/file-cache-guard-11
archive/fetch-io-sweep
archive/archive-build-dir-skip
archive/next-set-14
archive/wrapper-one-read
archive/archive-tmp-links
archive/attempt-log-live
archive/fetch-share-and-order
archive/vm-hang-io-wait
archive/vm-carry-fixes
archive/image-cancel
archive/test-ended-early
archive/sim-on-train3-bundle
archive/hits-layer-wip
archive/t-old-putfile
archive/archive-links
archive/stall-on-13
archive/carried-prep-completes
archive/put-file-once
archive/preview-14
archive/follow-progress
archive/gc-reads-dont-protect
archive/admission-replay-people
archive/people-pickup
archive/gc-pass-visible
archive/hits-layer
archive/own-build-priced
archive/compact-stamps-followup
archive/prepare-timing
archive/sim-on-train3
archive/next-set-13
archive/next-set-12b
archive/sim-on-next-set-12
archive/deploy-doc-no-kill
archive/next-set-12
archive/attempt-logs-real
archive/sim-tests-green
archive/shard-label-index
archive/young-booking
archive/next-set-11
archive/data-dir-config-env
archive/vm-sync-not-host-store
archive/attempt-logs
archive/wrapper-ro
archive/tests-wait-on-events
archive/blame-git-optional-needs
archive/job-file-headroom-impl
archive/next-set-10
archive/blame-verdict-fresh-parent
archive/compact-touched-stamps
archive/interactive-incremental-off
archive/follow-lost-lines-counted
archive/evict-test
archive/next-set-trial
archive/keys-cover-output-bytes
archive/file-cache-guard
archive/blame-after-parent
archive/test-filter-matching-nothing-fails
archive/s1-on-d96
archive/draining-node-queues
archive/tprev-checks-prod-next
archive/s1-dead
archive/follow-live-run
archive/guard-stopped-setup-text
archive/io-error-cause
archive/source-layer-whole
archive/clippy-groups
archive/worker-silence-grace
archive/price-touched
archive/prod-next
archive/batch1
archive/s1-on-prod-next
archive/vmcache/sandbox-copyup-pin
archive/s1-xfs-store
archive/warm-script-builds
archive/vmcache/setup-tag-digest
archive/vmcache/setup-should-fixes
archive/vmcache/setup-any-arch
archive/guard-livelock
archive/host-budget
archive/wire-format-test
archive/admission-replay
archive/switch-safe
archive/stall-window
archive/upgrade-carries-preparing
archive/static-init
archive/switch-proof-b
archive/carry-tokens
archive/seals-together
archive/switch-safe-storage
archive/switch-safe-worker
archive/batch-b-prev
archive/vmcache/batch-b
archive/carry-vm-helpers
archive/small-llvm-args-failed-log
archive/batch-a
archive/stall-hotfix
archive/prev-pacing
archive/u-try-wip
archive/u-try
archive/u-try-wip2
archive/flatten-verify
archive/poll-free
archive/flatten-tiers
archive/hotfix-cross
archive/pool-stall
archive/disk-pacing
archive/u-builds-from-graph
archive/mac-idle
archive/ship-direct
archive/vmcache/shards
archive/soft-margin
archive/behind-no-target
archive/filtered-binaries
archive/vmcache/setup-layers
archive/direct-off-prev
archive/probe-budget
archive/vm-helper-exit
archive/jobs-soft-bound
archive/vmcache/vm-disks
archive/vmcache/failure-outputs
archive/narrowed-not-verdict
archive/scratch-direct-off
archive/handover-holds
archive/memory-lines
archive/drain-destroys
archive/pool-size
archive/drain-own-frees
archive/test-schema-drop
archive/deploy-disk
archive/deploy-disk-lines
archive/clone-aware-freeing
archive/absolute-headroom
archive/zfs-pool-size
archive/u-int5
archive/u-load
archive/u-warn
archive/u-steer
archive/revert-stall-once
archive/guard-headroom
archive/u-int3
archive/u-readsets
archive/u-hermetic
archive/mem-virtio
archive/u-buildjobs
archive/u-waits
archive/u-three
archive/u-zfs-stall
archive/u-config
archive/u-lean
archive/u-e2e
archive/u-integrate2
archive/u-jobenv
archive/u-cache-blobs
archive/u-observe2
archive/u-sched-nospread
archive/u-node-bound
archive/u-sched-oom
archive/u-review-store
archive/u-observe
archive/u-review-engine
archive/u-review-srv
archive/u-review-node
archive/u-review-sched
archive/preempt-measured
archive/u-integrate
archive/u-eng
archive/lock-off-runtime
archive/u-vm
archive/u-gone
archive/u-offline
archive/ready-starve
archive/u-notices
archive/heads-never-superseded
archive/u-learn
archive/int
archive/u-graph
archive/u-umount
archive/supersede-followed
archive/preparing-booking
archive/u-xdev
archive/u-env
archive/u-poll
archive/u-wrap
archive/u-room
archive/u-wrap-try
archive/u-fixed
archive/unstall
archive/u-fix3
archive/u-cwd
archive/resume-supersedes
archive/server-heap
archive/u-harness
archive/u-macos
archive/u-node
archive/u-eng2
archive/u-leader
archive/u-cutover
archive/u-cache
archive/u-sched
archive/u-engine
archive/chore/agpl-license
archive/note-x86-disk-room
archive/pass-cost
archive/prod-defects
archive/clippy-false-greens
archive/t-pace-variance-prototype
archive/outputs-reattach
archive/fix-retry-needs
archive/no-supersede-uncached
archive/fix/promoted-view-mtime
archive/rb-merge
archive/ft-sched
archive/ft-node
archive/ft-engine
archive/fx-sim
archive/fx2-mem
archive/fx2-store
archive/fx2-ci
archive/fx-work
archive/fx-ci
archive/fx-sched
archive/fx-req
archive/fx-store
archive/fx-cache
archive/rb-storage
archive/rb-scheduling
archive/rb-sweep
archive/rb-tracking
archive/rb-workers
archive/rb-client
archive/rb-profiles
archive/rebuild
archive/batch-deploy
archive/fix-roll
archive/work
archive/fix-busy
archive/fix-perf
archive/fix-suite
archive/fix-spread
archive/fix-sig
archive/fix-wait
archive/fix-init
archive/sizing
archive/fix-drift
archive/delivery
archive/fix-snap
archive/fix-own
archive/fix-rollout
archive/fix-hang
archive/fix-tree
archive/images
archive/fill
archive/sched-gate-preparing-after
archive/takeover-sim
archive/image-d244b22
archive/image-ce8a09e
archive/image-c9ff4f7
archive/image-489bec9
archive/image-7e07ffb
archive/image-583ea93
archive/image-8e1cd2c
archive/image-fbf0a9c
archive/image-6924e11
archive/image-29cabc3
archive/image-97ebb0e
archive/image-d0e23ac
archive/image-319fce9
archive/image-4f689e1
archive/image-feacbcd
archive/image-d5d9446
archive/image-6b86940
archive/fix/dedup-priority-promotion
archive/image-a5b0fe3
archive/image-462afb1
archive/image-f39d42c
archive/image-6e71fb4
archive/image-0c62329
archive/resources
archive/image-112b6a6
archive/image-8b06530
archive/image-5ae7cd8
archive/fmt-fix-in-t-toml
archive/image-arm64
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
tilo/t#79
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On t.tilo.so (
1b22804f) at 06:14Z on 11-15, as the heads' backlog thinned for the first time in days, main's idle checks took the node whole, and for the next fifteen minutes main's heads started almost nothing while more than 430 of their asks waited for room. Fourteen heads were open, most of them a few checks from their verdict; none finished from 06:13Z to 06:29Z.What happened
The 95 spare-tier jobs started between 06:14:20Z and 06:15:00Z: 25 runs of main's idle checks on main's newest head (
request.ci: seq 0, reference main,Priority::Probe). By width:lounge-gate-binaries4 jobs, 376 cores;web-examples159;web-desktop-wasm36;sdk-web-qualify36;goldens29;real-fuse-relay28;hakari22;lounge-gate-cli22; 20 jobs oftest-x86_64/tilolang-tilo; and smaller ones. The node offers 159 cores; granted tokens went from 379 to 1,442 and stayed above 1,000 until 06:22Z. The jobs ran 6 to 18 minutes; 14 were still running at 06:32Z. From 06:13Z to 06:15Z 269 CI jobs had ended (649 cores by width), which is the room they took.Meanwhile head 56464's last check,
test/tilo-session-client, which head 56463 waits on, sat queued; so did the last two to five checks of heads 56509 to 56525.Over the last 36 hours the spare tier started 139 jobs in all, this burst included, and only one other twenty-minute window had more than 20 (22 at 05:12Z to 05:32Z on 11-14, with 67,138 CI asks queued): with a long queue it never gets room, so this is the first time the rule met a thin queue.
Why I think it is worth a look
sched/order.rssays the spare tier is "work that fills room heads don't need", andci/triggers.rsthat "nothing here looks at room: an idle check is work that fills room main's heads don't need, so its jobs queue behind them". At the instant of 06:14:20Z that held: what the heads had ready was placed first. But a spare-tier job is not taken back, and these are wide and long. Admitted in the gap between two waves of the heads' asks (the next wave was ready seconds later), they held the node for their whole length, at almost seven times its offer by width. At the tail of a backlog every open head is a few checks from done, so that is where a quarter of an hour costs most.I change nothing here: the order and admission are yours. Two shapes that would have avoided it, for you to weigh: the spare tier takes only the room left once the heads' queued asks are counted in (they were 131 to 340 at that moment), or wide spare-tier jobs wait while any head has an ask waiting for room. How to re-measure:
t_pickup_seconds_count{priority}per minute,t_sched_queued_by_wait{kind="room"},t_node_granted_tokens, and jobs started by class and width fromt.job_historyandt.jobs.Added 09:20Z 11-15: spare-tier jobs that hold room and use none. In the 24 hours to 09:18Z these jobs of the spare tier ended at their time limit (
t.job_history, causetimed_out):run-headlessegressnames nonerun-desktoppublish-os-dev-x86_64Copying blobto its limit each time (the upload fault of #81): 48.7 core-hours booked, and it returns about forty minutes after each endThe first two are tilo's own declaration and cost little. The third is the shape that matters here: one idle job of the spare tier kept 16 cores booked for an hour. Data only; the planner is yours.
Added 03:42Z 11-16: the same again, larger, on
8d736d69: 162 probe jobs took the node in three minutes and CI then started nothing. Between 03:32:46Z and 03:35:36Z a caller stopped all 29 open head runs of main (t.runs.stop = cancel, oldest first, 2 to 3 s apart; who is not in the server's log). Job launches by the minute from the worker's log, and probe starts fromt.jobsandt.job_history:At 03:40Z the view read: 84 probe asks running in 44 runs and 52 more queued, 467 CI asks running in 3 runs, 922 CI asks of 2 head runs waiting for room, 4 of people waiting for room, the node healthy and booked 159 of 159 with 205 cores in use. The 82 probe jobs then running summed 1,374 by width and 412 by
lease.cores_milli:lounge-gate-binaries11 jobs at 297,lounge-gate-cli10 at 200, onecanary-ci-builder-browser-testat 159,web-desktop-wasm12 at 144,layout-check3 at 139,test14 at 87. CI ran 7 jobs at 47.So in the minute the stopped heads' jobs went, the probes were placed on the whole node, and the heads that came after wait behind them. With heads now leaving their unstarted checks to the next head and those checks counting as idle at their commits, a thin queue of heads is the normal state and the probes are many. Data only; the planner is yours.
Added 03:55Z 11-16: the same wave booked twice the node's memory. From Prometheus, one value every three minutes, GiB:
t_node_booked_memory_bytest_node_kept_memory_bytest_node_offered_memory_bytesBooked memory peaked at 1,061 GiB against an offer of 526 (498 was the most in the six hours before), kept memory at 713. The worker's real memory rose to 505 GiB in these samples, against 412 as the most in the six hours before; its cgroup's limit is 620 GiB and its own recorded peak since the pod started at 01:14Z is 593 GiB. Nothing was killed:
oom_kill0 for the worker and both classes, memory pressure 0, no job ended for memory.t_sched_placed_without_room_totalrose by one. So the probes' wave was admitted well past the memory the node offers, and the margin to the worker's own limit was real memory's luck, not the booking's. My watch on kept memory over the offer fired (48 of 120 samples in half an hour); a second one now reports if the working set stays at 570 GiB or more.Added 03:56Z 11-16: eighteen minutes later CI has still started nothing. Job starts by two minutes from
t.job_historyandt.jobs: 03:32Z CI 1,116; 03:34Z CI 934 and probes 52; 03:36Z CI 0 and probes 110; and CI 0 in every two minutes since, through 03:54Z. At 03:54Z: 58 probe jobs running for a median 19 minutes (widths summed 915:tilo-sh-programs65, threelayout-checkat 37 to 57, elevenlounge-gate-binariesat 27), 16 of people, 3 of CI (twoclippy-x86_64, oneclippy), and 999 CI asks of 6 head runs waiting for room, 65 probe asks behind them. The node reads healthy, booked 159 of 159, 180 cores in use. So the heads asked since 03:35Z cannot start a job until the probes placed in those three minutes end, and those are the long builds. This is the state the heads' new rule makes normal (few open heads, many idle checks), so I think it needs your eye soon.Correction, 04:06Z 11-16: the probes did not run either. Two people's jobs at width 159 took every compile slot from 03:38:38Z to about 04:00Z. I wrote above that the heads waited behind the probes' long builds. The worker's slot lines say otherwise. Compiles that ended, by the class of their job:
Of the compiles that ended after 03:38:30Z, 353 of CI's (60%) and 176 of the probes' (58%) had been held for
no core free, the longest 1,479 s and 1,581 s; of people's 1,778, 43 were held, each for memory. On the node at 04:01Z the newest head's two clippy drivers (j582-5505, j582-5507) had 3 and 5 wrappers waiting since 03:37Z, no compiler and no slot; the taken-over j582-1642 had 51 wrappers and one compile.What started at 03:38:38Z:
e2e-x1ande2e-x2of one of your runs, each at width 159, 13.5 and 13.7 minutes, 64 and 70 CPU-minutes; thentilo-sh-programsat width 65 from 03:51:22Z. In those 22 minutes your runs used 14.0 CPU-hours in 50 jobs, the user's 1.3 in 15.So the order was: the probes took the node's bookings in three minutes (the table further up stands), then people's wide jobs took the cores from both the probes and CI, and with every booking held by jobs that could not compile, CI started no job from 03:36Z until 04:02Z, 26 minutes. CI's starts are back since 04:02Z (52 CI jobs running at 04:03Z, CPU 80 cores for CI and probes against 78 for people). The memory figures above stand. This belongs with #71 as much as here.
Added 04:53Z 11-16: a clean case of this issue, without people's wide jobs: the next head waited twenty minutes behind probes. At 04:28Z to 04:32Z CI's queue was empty (the view: 3 CI asks waiting, then none), so probes were started: 62 jobs from 04:30Z, 53 from 04:35Z. A head arrived, and at 04:43Z 712 CI asks waited for room beside 783 of the probes'.
So CI started 21 jobs in the twenty minutes to 04:45Z, and in the ten minutes from 04:40Z it finished 60 compiles against the probes' 1,765. Since 04:20Z, 53% of CI's compiles and 51% of the probes' were held for
no core free(people's: none of 4,942). The probes then running weregoldens(two at width 62, 20 and 40 minutes old),os-compile-x86_64(width 37),nested-session(20). With heads leaving their checks to the next head the heads' queue is empty much of the time, so this is now the usual way a head begins: behind whatever the idle tier started in the gap.09:28Z to 09:48Z 11-16, on
b5c5b140: the same wave, read by class of compileOne idle run (
t::ci::triggers: idle checks started repo="tilo" sha="844f2f78a0" checks=509 run=r41ba426aa2, 08:46:14Z) waited for room behind CI, as it should, until about 09:14Z, then took what CI's thin queue left. Read from the worker'sslot endedlines, each job's class taken from itsa job launchedline:10:50Z to 11:05Z 11-16: one head arriving on a node the idle tier held
After 95 minutes without a push, head run r85dc8aa1bc was asked at 10:50:47Z. Seventeen probe jobs were out and 92 of the head's checks waited for room three seconds later; its jobs then got room quickly (job wait p50 16 to 20 s). In the compile slots, its first fifteen minutes read:
The probes compiled more than the head did in the head's own first quarter hour, and the head's compiles queued 24 s each on average. So the reading of 09:28Z above is not a matter of several heads at once: one head alone meets it.
One thing I drew from the 09:14Z wave I take back, and it never stood in this issue: that it doubled those heads' time to verdict. What a head takes follows one single-core job first (#74, section of 11:35Z); the queueing above is real, its share of a head's time to verdict I have not measured.
20:12Z 11-16 (production
8fb821de): seen again as heads returned, and most of it is the blame walk yourffa05451revertstilo's main was quiet from 14:59Z to 19:55Z. In those hours the node ran probe-class jobs almost alone. Jobs ended, by hour (
job_history):(10:00 to 13:00Z: 234, 117, 183 and 167 probe runs an hour.) That is the walk your revert's message describes; I had read the same jobs as idle checks and wide image builds.
Then three heads arrived (19:55:12Z, 20:05:12Z, 20:10:17Z) while about 180 to 195 probe-class jobs were running, 13 probe runs open:
Each waiting CI job was short of one core (
short_by1,000 millicores, no memory, no disk). At 20:07 to 20:09Z the waiting ones were the first head's test shards (142 oftest/…, 6 oftest-x86_64/…); at 20:11Z 389 of the 401 were the newest head's first wave. The first head's builds, asked at 19:55:12Z, had started within 32 s, so the hold shows where a head asks hundreds of one-core jobs at once: the probe-class jobs already running keep their cores until they end.Two things follow.
ffa05451is on main since 20:06Z and not on production, which still serves8fb821dewitheec34cd1in it; with it promoted the probe runs should fall back to about ten an hour and this table can be read again. And what remains of this issue after that is its first observation alone: an idle wave of 500 checks started while no head is open, met by a head a minute later.21:10Z 11-16 (production
6ee9a77csince 20:18:45Z, your revert in it): the table read againProbe runs by when their first job was asked (
job_history, priorityprobe):eec34cd1liveSeven probe jobs were still running at 21:09Z, so the second row is not final.
What this issue began with, idle checks holding the node as a head arrives, did not show in these 50 minutes: the node stood at 20 to 75 of 159 cores booked with nothing waiting whenever I read it after 20:40Z. It stays open for the next time the heads' queue is thin and a wave of idle checks is on the node.
21:52Z 11-16 (production
6ee9a77c): seen again and measured, forty minutes after the section abovetilo 8e856d7cc8 got its head run r0bdec06a12 at 21:26:24Z and a probe-class run rff9ac7d782 of 68 jobs, every one started between 21:28:00Z and 21:28:09Z:
test-idle, the layout checks,web-desktop-wasm,web-examples, the lounge gates, the image and size checks. That run used 17.7 CPU hours in its first twenty minutes. Its costliest jobs (job_history):lounge-gate-binariesweb-desktop-wasmlayout-check/320x568image-ci-builder-x86_64layout-check/390x844layout-check/1280x800app-sizes-x86_64web-examplestest-idlesdk-web-qualifyThe node was full two minutes later (159 of 159 booked at 21:30Z) as the next heads' waves came. CI jobs by the ten minutes they were asked, and how long each waited for its start:
Waiting for room: 7 jobs at 21:30Z, 308 at 21:40Z, 483 at 21:43Z (478 ci, 5 probe). Jobs ended 21:29Z to 21:49Z by class: ci 969 jobs and 10.4 CPU hours, people 105 and 11.1, probe 60 and 19.6.
So a head's jobs asked at 21:30Z stood five minutes behind a check set of the probe class that had started two minutes before them, and the wave after stood two and a half to four. The heads judged on this build took 16 to 35 minutes, so that is a sixth to a third of a head. People's jobs were not touched (p95 0.2 s).
This is data, not a proposal: the order is yours. What the readings say for a rule is only that the idle set's cost is in a dozen wide jobs that all start in the same ten seconds.
22:48Z 11-16 (production
243ff75dsince 22:03:58Z): the probe class after the blame change, in a wave of pushestilo's main took 25 commits in the 21:00Z hour and 20 in the first 19 minutes of 22:00Z; about 21 heads an hour were asked. Probe runs by the ten minutes their first job was asked (
job_history, priorityprobe):That is about 5 CPU hours of probes an hour, against 15 after the revert and 82 before it. Jobs ended 22:08Z to 22:38Z by class:
So with
243ff75dthe probe class no longer stands in front of CI: its own jobs waited twenty minutes while CI's waited under three, and what CI shares the node with in a wave is people's jobs, which took as much CPU as CI. The heads asked 21:26Z to 21:49Z (behind the idle set of the section above, and across the promote) took 46 to 50 minutes; those asked after 21:56Z took 17 to 28.For this issue that leaves the one case of the section above: a whole idle check set started two minutes before a head's wave.
10:17Z to 10:37Z 11-17 (production
f9cb88e3since the 10:16Z rollback): two idle checks started as a restart emptied the heads' queueThe start of
f9cb88e3ended 47 open head runs at 10:17:03Z (issue 95). With the heads' asks gone, two checks of main's idle runs asked at 02:56Z and 05:46Z started at once:Both still ran at 10:37Z. CI started 101 and 255 jobs in the five minutes from 10:15Z and from 10:20Z, then none from 10:25Z to 10:35Z, while 959 asks of class ci waited for room (10:28Z). What limits CI in these ten minutes is mostly not these two jobs: in the same 20 s sample the people's class used 146.4 of the node's 163 cores and the whole ci group 12.2. The datum for this issue is the width: 303 cores wanted by two jobs that use 12 between them, admitted in the gap a restart made.
13:18Z 11-18: the figures before
7f98a145("the spare tier starts only on a node where no job above it waits for room")Production still runs
d748ed8d, so these are the hours your change is meant for, as they are without it. CPU hours of the jobs that ended in each hour, by class (job_history):In the two hours from 11:00Z, with CI's jobs waiting eight to nine hours for every hour they ran, the spare tier still used 28.6 and 18.3 CPU hours: a third to a quarter of what the heads' jobs got. What it spent them on since 08:00Z:
goldens48.5 CPU hours in 24 jobs (14.8 minutes at width 29),test-x86_64/tilo-agent-session14.5 in 226,web-desktop-check-wasm10.7 in 7.After the promote I read the same table, and with it a head's time to verdict (34.8 minutes at the median for heads judged 11:00Z to 13:00Z, issue 97's last section) and whether the spare tier's backlog drains in the lulls.