The fleet scheduler's weights and policy, with the cluster config's sched_* keys over the defaults
$ sexc add @ajax/mesh-sched-weights- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 04:08v/# 1 version
- drwxr-xr-x-Oct 27 04:08files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 04:08 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-check ^0.1.0, @ajax/mesh-mt ^0.1.0, @ajax/mesh-parse ^0.1.0, @ajax/mesh-strmap ^0.1.0, @ajax/rust-fmt ^0.1.0
- dependents
- @ajax/mesh-cluster-conf, @ajax/mesh-jobd, @ajax/mesh-jobs-sched, @ajax/mesh-sched-place, @ajax/mesh-sched-score, @ajax/mesh-sched-tracker
- keywords
- mesh alphaos fleet scheduler weights
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-sched-weights
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-sched-weights 2 3The fleet scheduler's weights and policy (`msw_weights`): the score terms' weights, the rebalancer's 4hysteresis (`improve`, `hold_ms`, `dwell_ms`, `per_min`), the replacement grace, the owner policy and 5the reservation reserve. `msw_from_keys` reads a cluster config's `sched_*` keys over the defaults. 6 7## Ported from 8 9[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) `crates/mesh-host/src/sched.rs`: 10`Weights`, `Weights::default`, `Weights::from_keys`. 11 12## Tests 13 14`tests/weights.c`: defaults, overrides, `tick_ms`'s floor of 100, each error message. 15 16## Licence 17 18MIT. See the repository's LICENSE.