myxce/src
Rongsong Shen 6df644e6d5
feat(controller): compute the LSF CPU peak and efficiency fields (bug-1736)
update_job_cpu_stats() (misc.c), run after each usage report:
- each host's cpu_rate = CPU-seconds gained / wall seconds since its
  previous report; the job's cores = the sum over hosts
- peak_cpu = highest job cores seen (peak_cpu_time = it rounded, the
  wire field is an integer); peak_cpu_duration = the interval that set it
- avg_cpu_efficiency = cpu_time / elapsed / slots, peak_cpu_efficiency =
  peak_cpu / slots, mem_efficiency = highest used_mem / rusage[mem]
  request (job-wide total, per task by default), all in percent
aggregate_job_runusage() no longer treats cumulative cpu_time as a peak.

New fields host sample_time/cpu_rate and job peak_cpu are appended to
the capnp structs (old WAL entries still decode) and copied by
merge_job_runusage(), so a promoted standby keeps the rate baselines.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 04:14:35 +00:00
..
autoscaler remove extralib 2026-09-04 11:24:43 +08:00
configs feat(xceadmin): validate percent-based limit values are in [0.0, 1.0] (bug-1833) 2026-09-20 10:50:21 +00:00
controller feat(controller): compute the LSF CPU peak and efficiency fields (bug-1736) 2026-10-02 04:14:35 +00:00
docs docs(job-array-one-based-index): document the supported array syntax (task 9.3) 2026-10-01 13:46:07 +00:00
frontend fix(apiserver): restart copies the named job, not the first stored one (bug-1898) 2026-10-02 03:44:34 +00:00
harness fix(harness): jobrun and setpend report an unknown job as not found (bug-1907) 2026-10-02 02:13:34 +00:00
include feat(controller): compute the LSF CPU peak and efficiency fields (bug-1736) 2026-10-02 04:14:35 +00:00
lib feat(job-array-one-based-index): idgen allocates ordinary IDs only (task 9.1) 2026-10-01 13:17:59 +00:00
nixSupport remove extralib 2026-09-04 11:24:43 +08:00
scheduler docs(job-array-one-based-index): feature validation round 1 follow-ups 2026-10-01 15:50:10 +00:00
schema feat(controller): compute the LSF CPU peak and efficiency fields (bug-1736) 2026-10-02 04:14:35 +00:00
tools fix(tools): a failing apiserver Go test fails xce-build.sh (bug-1895) 2026-09-30 04:31:25 +00:00
worker fix(worker): keep a signal that arrives before the job has started (bug-1908) 2026-10-02 02:50:32 +00:00
xceadmin feat(xceadmin): validate percent-based limit values are in [0.0, 1.0] (bug-1833) 2026-09-20 10:50:21 +00:00
flake.lock remove extralib 2026-09-04 11:24:43 +08:00
flake.nix remove extralib 2026-09-04 11:24:43 +08:00
meson.build feat(xce-harness-component): relocate xce_test into standalone harness component 2026-09-14 05:08:15 +00:00
meson.options feat(dirty-content-fingerprint): add dirty_fingerprint meson option and C define 2026-08-21 03:54:37 +00:00