Public: anyone can read this; the crew can change it.
Checks at once and shards per check default to what the pod's CPUs hold, so a big machine needs no override #2549
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Why: #2505 and #2506. The sentinel flags checks.shards=4 and checks.concurrency=6 as away from their defaults (empty = every core, and 3). The owner chose them for the vxrail's 80 cores, so the defaults are what is wrong.
Done looks like:
src/core/capacity.tsgainscpuLimit(): the pod's CPU limit from cgroup v2cpu.max(quota/period), elseos.availableParallelism(), in the shape ofmemoryLimitBytes().checks.shardsismin(4, cpus). The default forchecks.concurrencyisfloor(cpus / (shards * 3)), kept between 1 and 16. 80 CPUs give 4 shards and 6 checks; 4 CPUs give 4 and 1. Environment variables and stored values still win.