Skip to content

Commit

Permalink
modify bootstrap to log the CPUs allowed list when cpu-partitioning i…
Browse files Browse the repository at this point in the history
…s not in use

- this may be helpful to understand the limitations that may (or may
  not) be being imposed by other components of the test infrastructure
  (ie. NUMA binding, K8S guaranteed pods, etc.)
  • Loading branch information
k-rister committed Apr 18, 2024
1 parent ab3dd53 commit f4c2632
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ if [ "${cpu_partitioning}" == "1" ]; then
taskset --cpu-list --pid ${HK_CPUS} $$
else
echo "Disabled"
echo
echo "Since cpu-partitioning is disabled, logging the allowed runnable CPUs here for informational purposes:"
grep Cpus_allowed_list /proc/self/status
fi
echo

Expand Down

0 comments on commit f4c2632

Please sign in to comment.