Closed copperlight closed 3 months ago
The new 7th generation hardware sets a cfs_quota of max, which is then read as a 0 in the number vector. This was breaking utilization calculations.
cfs_quota
max
0
ifdef
TITUS_SYSTEM_SERVICE
TITUS_NUM_CPU
setup-venv.sh
The new 7th generation hardware sets a
cfs_quota
ofmax
, which is then read as a0
in the number vector. This was breaking utilization calculations.ifdef
macro forTITUS_SYSTEM_SERVICE
that had no effect.TITUS_NUM_CPU
environment variable is expected to always be present, and should always be used to determine the number of CPUs allocated.cfs_quota
, which can then be used to calculate available CPU time.setup-venv.sh
script, to make it easier to bootstrap new dev environments on bionic hosts.